Bug#1035101: Failed to detect HD if Intel RST-RAID is active

2023-05-02 Thread Thomas Viehweger


OK, great!

I've just rebuilt an amd64 netinst image, bundling the extra module inside
(/lib/modules/6.1.0-7-amd64/kernel/drivers/platform/x86/intel/intel-rst.ko)
and I've verified that this module loads fine in a VM.


Hi,

I made an installation test, but no change. In the shell of the installer lsmod 
does not list intel-rst as loaded.

I think that there is more necessary than just providing the module. Don't know 
what the Ubuntu installer does.
At least a hint in the installation guide would be nice to switch off the RST 
RAID mode in the BIOS if the HDD is not detected.



Bug#1035101: Failed to detect HD if Intel RST-RAID is active

2023-04-29 Thread Thomas Viehweger




Apparently we have that option enabled in the regular linux package:

 debian/config/kernelarch-x86/config:CONFIG_INTEL_RST=m

but the relevant module isn't shipped in any udebs:

 /lib/modules//kernel/drivers/platform/x86/intel/intel-rst.ko

Would you be willing to test an unofficial amd64 netinst image that
would ship that extra module, to see if the installer (1) sees the disk
and (2) can do something with it?


Hi,

I am able to do one test...



Bug#1035101: Failed to detect HD if Intel RST-RAID is active

2023-04-29 Thread Thomas Viehweger

Package: installation-reports

Boot method: USB stick
Image version: debian-bookworm-DI-rc2-amd64-netinst.iso
Date: 2023-04-29

Machine: Dell Latitude 7400
Processor: i7-8665Ulspc
Memory: 16 GB
Partitions: -

Output of lspci -knn (or lspci -nn):

Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:   [O]
Detect network card:[O]
Configure network:  [O]
Detect media:   [O]
Load installer modules: [O]
Detect hard drives: [E]
Partition hard drives:  [ ]
Install base system:[ ]
Clock/timezone setup:   [ ]
User/password setup:[ ]
Install tasks:  [ ]
Install boot loader:[ ]
Overall install:[ ]

The Hard disk was not detected because Intel RST was configured in RAID mode.
Tried Ubuntu 23.04 installer which gives the correct hint.
After configuring Intel RST to AHCI mode, the harddisk was detected and 
installation was successful.
It would be nice if this installer could check the RST mode, too.

See: https://help.ubuntu.com/rst/



Bug#1026060: Bug: #1026060 -- mpv: dvb playback does not work anymore

2023-04-20 Thread Thomas Viehweger

Hi,

I can confirm that DVB playback  is now working again for me with 
mpv_0.35.1-4_amd64.deb.

Thanks!



Bug#1026060: mpv: dvb playback does not work anymore

2022-12-13 Thread Thomas Viehweger

Package: mpv
Version: 0.35.0-3
Severity: important


mpv 'dvb://Das Erste HD' fails with

No protocol handler found to open URL dvb://Das Erste HD
The protocol is either unsupported, or was disabled at compile-time.

With mpv-0.34.1-1+b5 this was working.



Bug#996862: Still depends on mime-support instead of mailcap and/or media-types

2021-10-19 Thread Thomas Viehweger

Package: dwww
Version: 1.14
Severity: normal


I wanted to remove all obsolete packages in section oldlibs. This gave 
dependency problems.

mime-support is a transitional package which depends on mailcap and media-types.

This package should depend on one (or both) of these packages instead.



Bug#944675: Same problems here

2019-11-15 Thread Thomas Viehweger

I see following messages for all input devices:

audit[444]: SECCOMP auid=4294967295 uid=0 gid=0 ses=4294967295
subj==unconfined pid=444 comm="libinput-device"
exe="/lib/udev/libinput-device-group">
systemd-udevd[356]: event10: Process 'libinput-device-group
/sys/devices/platform/i8042/serio1/input/input6/event10' terminated by
signal SYS.
systemd-udevd[356]: event10: Failed to wait for spawned command
'libinput-device-group
/sys/devices/platform/i8042/serio1/input/input6/event10': Inp>
systemd-udevd[356]: event10:
/lib/udev/rules.d/80-libinput-device-groups.rules:7 Failed to execute
'libinput-device-group /sys/devices/platform/i804>
systemd-udevd[356]: event10: Failed to process device, ignoring:
Input/output error

Hope it helps to resolve the bug



Bug#730824: initscripts: please document INIT_VERBOSE in /etc/default/rcS (and/or rcS (5) )

2019-08-08 Thread Thomas Viehweger


>> I wondered why some messages don't appear even if I had set VERBOSE=yes
>> Looking at the code I found the solution (setting INIT_VERBOSE to yes).
>>
>> What about adding the following lines (or similar) to /etc/default/rcS:
>>
>> # be verbose even if kernel commandline contains "quiet"
>> #INIT_VERBOSE=yes
> Yes, this definitely can be done. But I'd ask, whether INIT_VERBOSE
> variable is actually needed.
>
> We have $VERBOSE variable, that defaults to "yes", can be set in
> /etc/default/rcS and may be modified according to kernel option. And
> also we have $INIT_VERBOSE, that overrides $VERBOSE independent of
> kernel option.
>
> Isn't it is too much complexity for such simple thing? Why would anyone
> desire non-verbose boot?

Yes, it is very complex.

I don't want to see regular kernel messages, only irregular. So I use the 
"quiet" parameter.

While debugging enormous shutdown delays I found the solution with INIT_VERBOSE 
even
if it was not documented and only deep buried in /lib/init/vars.sh.

The point for this bug report was to just document this variable.



Bug#907282: Package should recommend fonts-hack instead of fonts-hack-ttf

2018-08-25 Thread Thomas Viehweger
Package: lxqt-common
Version: 0.11.2-2

The description of fonts-hack-ttf says:
This package used to contain the TTF variants of the Hack font, which
are now part of the consolidated fonts-hack package.
This package is a dummy transitional package. It can be safely removed.

Please update the Recommends field.



Bug#907281: Package should recommend fonts-hack instead of fonts-hack-ttf

2018-08-25 Thread Thomas Viehweger
Package: plasma-desktop
Version: 4:5.13.4-1

The description of fonts-hack-ttf says:
This package used to contain the TTF variants of the Hack font, which
are now part of the consolidated fonts-hack package.
This package is a dummy transitional package. It can be safely removed.

Please update the Recommends field.



Bug#907280: Package should recommend fonts-hack instead of fonts-hack-ttf

2018-08-25 Thread Thomas Viehweger
Package: plasma-integration
Version: 5.13.4-1

The description of fonts-hack-ttf says:
This package used to contain the TTF variants of the Hack font, which
are now part of the consolidated fonts-hack package.
This package is a dummy transitional package. It can be safely removed.

Please update the Recommends field.



Bug#907279: Package should recommend fonts-hack instead of fonts-hack-ttf

2018-08-25 Thread Thomas Viehweger
Package: libqtermwidget5-0
Version: 0.9.0-1

The description of fonts-hack-ttf says:
This package used to contain the TTF variants of the Hack font, which
are now part of the consolidated fonts-hack package.
This package is a dummy transitional package. It can be safely removed.

Please update the Recommends field.



Bug#839575: Tinyca is incompatible with openssl 1.1 and some 1.0.2 versions

2017-05-07 Thread Thomas Viehweger
Edit:
The working openssl-version 1.02g-2 was not from jessie-backports.
It was from an older stretch version.

Now I tried the current version 1.0.2k-1~bpo8+1 from jessie-backports:
Tinyca hangs with this version, too - when creating a CA.

openssl version 1.0.1t-1+deb8u6 works as expected...



Bug#839575: Tinyca is incompatible with openssl 1.1

2017-05-07 Thread Thomas Viehweger
severity 839575 serious
thanks
 
I digged a bit deeper. Tinyca 0.7.5-5 worked for me in Jessie. So I tried 
0.7.5-6
there. It worked, too!
After updating openssl from 1.0.2g-2 (jessie-backports) to 1.1.0e-1 (stretch) 
tinyca
stopped working!

The last thing what happened when creating a CA is a messagebox saying that the 
RSA
key will be produced (in german: "Die Erstellung des RSA Schlüssels läuft...")
but after a while the slider stopped moving and the messages mentioned by 
Richard
appeared in the console window.

Tinyca should be fixed or removed from stretch.



Bug#839575: Maybe tinyca is incompatible with openssl 1.x

2017-05-06 Thread Thomas Viehweger
severity 839575 important
thanks

Same behaviour here. In the file .TinyCA/myown-CA/openssl.cnf most settings
from the filled form are missing. For me the program is unusable.
Set it to important, please.
Thomas



Bug#846996: The mini-if is really not needed

2016-12-18 Thread Thomas Viehweger
I just tested with the following test program. The result is as expected:
#include 
#include 
#include 

int main(void)
{
printf("0 -> %d\n\n", 16U);
puts("__tzcnt_u16:");
printf("0x%x -> %d\n", 0, __tzcnt_u16(0));
for (uint16_t i = 1; i > 0; i <<= 1)
{
printf("0x%x -> %d\n", i, __tzcnt_u16(i));
}

puts("\n__lzcnt16:");
printf("0x%x -> %d\n", 0, __lzcnt16(0));
for (uint16_t i = 1; i > 0; i <<= 1)
{
printf("0x%x -> %d\n", i, __lzcnt16(i));
}

return 0;
}

g++ -march=native -o intrins intrinsictest.cpp
./intrins

Attached is the patch for
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h
--- qalgorithms.h.orig	2016-12-18 15:57:30.279325472 +0100
+++ qalgorithms.h	2016-12-18 23:09:33.129324260 +0100
@@ -47,6 +47,10 @@ QT_WARNING_PUSH
 QT_WARNING_DISABLE_GCC("-Wdeprecated-declarations")
 QT_WARNING_DISABLE_CLANG("-Wdeprecated-declarations")
 
+#if defined(__BMI__) && defined(__LZCNT__) && !QT_HAS_BUILTIN(__builtin_ctzs)
+#  include 
+#endif
+
 /*
 Warning: The contents of QAlgorithmsPrivate is not a part of the public Qt API
 and may be changed from version to version or even be completely removed.
@@ -626,8 +630,10 @@ Q_DECL_RELAXED_CONSTEXPR inline uint qCo
 Q_DECL_RELAXED_CONSTEXPR inline uint qCountTrailingZeroBits(quint16 v) Q_DECL_NOTHROW
 {
 #if defined(Q_CC_GNU)
-#  if QT_HAS_BUILTIN(__builtin_ctzs) || (defined(__LZCNT__) && defined(__BMI__))
+#  if QT_HAS_BUILTIN(__builtin_ctzs)
 return v ? __builtin_ctzs(v) : 16U;
+#  elif (defined(__LZCNT__) && defined(__BMI__))
+return __tzcnt_u16(v);
 #  else
 return v ? __builtin_ctz(v) : 16U;
 #  endif
@@ -689,8 +695,10 @@ Q_DECL_RELAXED_CONSTEXPR inline uint qCo
 Q_DECL_RELAXED_CONSTEXPR inline uint qCountLeadingZeroBits(quint16 v) Q_DECL_NOTHROW
 {
 #if defined(Q_CC_GNU)
-#  if QT_HAS_BUILTIN(__builtin_clzs) || (defined(__LZCNT__) && defined(__BMI__))
+#  if QT_HAS_BUILTIN(__builtin_clzs)
 return v ? __builtin_clzs(v) : 16U;
+#  elif (defined(__LZCNT__) && defined(__BMI__))
+return __lzcnt16(v);
 #  else
 return v ? __builtin_clz(v)-16U : 16U;
 #  endif


Bug#846996: Unable to compile with g++-6

2016-12-05 Thread Thomas Viehweger
Hi Dmitry,
>> Trying to compile lxqt-panel with g++-6 and qtbase5-dev_5.7.1 results in the 
>> following errors:
>>
>> /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h: In function ‘uint 
>> qCountTrailingZeroBits(quint16)’:
>> /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:630:32: error: 
>> ‘__builtin_ctzs’ was not declared in this scope
>>  return v ? __builtin_ctzs(v) : 16U;
>> ^
>> /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h: In function ‘uint 
>> qCountLeadingZeroBits(quint16)’:
>> /usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:693:32: error: 
>> ‘__builtin_clzs’ was not declared in this scope
>>  return v ? __builtin_clzs(v) : 16U;
>> ^
>>
>> This is because g++ removed __builtin_clzs and __builtin_ctzs.
> There is a potential fix for this at https://codereview.qt-project.org/175542,
> but unfortunately it needs some more work.
>
> I have just asked the upstream author about the status, if he does not reply
> in a few days, I will write my own patch and add it to the next Debian upload.
according to Uroš Bizjak it should be sufficient to use
 return __tzcnt_u16(v);
instead of
 return v ? __tzcnt_u16(v) : 16U;

I haven't checked it...



Bug#846996: Unable to compile with g++-6

2016-12-04 Thread Thomas Viehweger
Package: qtbase5-dev
Version: 5.7.1~20161021+dfsg-6
Severity: important

Trying to compile lxqt-panel with g++-6 and qtbase5-dev_5.7.1 results in the 
following errors:

In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qlist.h:43:0,
 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:49,
 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qplugin.h:43,
 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtPlugin:1,
 from 
/home/src/lxqt-panel-de/plugin-clock/../panel/ilxqtpanelplugin.h:32,
 from /home/src/lxqt-panel-de/plugin-clock/lxqtclock.h:34,
 from /home/src/lxqt-panel-de/plugin-clock/lxqtclock.cpp:32:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h: In function ‘uint 
qCountTrailingZeroBits(quint16)’:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:630:32: error: 
‘__builtin_ctzs’ was not declared in this scope
 return v ? __builtin_ctzs(v) : 16U;
^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h: In function ‘uint 
qCountLeadingZeroBits(quint16)’:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qalgorithms.h:693:32: error: 
‘__builtin_clzs’ was not declared in this scope
 return v ? __builtin_clzs(v) : 16U;
^

This is because g++ removed __builtin_clzs and __builtin_ctzs. See for example

https://www.mail-archive.com/gcc-bugs@gcc.gnu.org/msg511530.html



Bug#795006: sddm should provide x-display-manager

2015-08-09 Thread Thomas Viehweger
Package: sddm
Version: 0.11.0-3

The package should have a
Provides: x-display-manager
field.

Because of this if I look into the list of x-display-manager, sddm is missing.

A Tag: field in the description would be nice, too. Suggestion (adapted from 
kdm):
Tag: implemented-in::c++, interface::daemon,
 interface::x11, network::server, role::program,
 uitoolkit::qt, use::login, x11::application, x11::display-manager


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#753905: My patch does not solve the whole problem

2014-07-09 Thread Thomas Viehweger
With the attached patch of my first message applied the result is the
following:

# apt -f install
...
P: Checking for EXTLINUX directory... found.
P: Saving old mbr... done: /boot/mbr-sda1.old
P: Writing new mbr... done: /dev/sda1
P: Installing EXTLINUX...
extlinux: cannot find device for path /boot/extlinux
extlinux: cannot open device (null)
dpkg: error processing package syslinux-stuff (--configure):
 subprocess installed post-installation script returned error exit status 1

So it seems /usr/bin/extlinux has a similar problem with the detection
of my root device (/dev/root alias /dev/sda1).


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#754225: Configure fails if findmnt returns /dev/root as result of device

2014-07-08 Thread Thomas Viehweger
Package: syslinux-stuff
Version: 3:6.03~pre18+dfsg-1
Tags: patch

Configuring the packet gives:

E: cannot access /dev/root: No such device
dpkg: error processing package syslinux-stuff (--configure):
 subprocess installed post-installation script returned error exit status 1

This is because in syslinux-stuff.postinst the following will be called:

extlinux-install /dev/root

The kernel is started with this cmdline (no modules, no initrd):

root=/dev/sda1 ro rootfstype=ext4 BOOT_IMAGE=/boot/vmlinuz-3.15.1

# findmnt -n --raw -c -o SOURCE /
/dev/root

# ls -l /dev/root
ls: cannot access /dev/root: No such file or directory

# cat /proc/mounts | awk '{ print $1   $2 }' | grep /$
rootfs /
/dev/root /

The attached patch solves the problem.

--- syslinux-stuff.postinst.orig	2014-07-08 21:52:18.973427876 +0200
+++ syslinux-stuff.postinst	2014-07-08 21:57:25.786769348 +0200
@@ -29,6 +29,11 @@ case ${1} in
 
 	_PATH=$(dirname ${_PATH})
 done
+if [ ${_DEVICE} = /dev/root ]
+then
+	_NODE=$(grep /dev/root /proc/self/mountinfo | awk '{ print $3 }')
+	_DEVICE=$(tail -n +3 /proc/partitions | awk '{ print $1 : $2   $4 }' | grep ${_NODE}  | awk '{ print /dev/ $2 }')
+fi
 
 extlinux-install ${_DEVICE}
 ;;


Bug#753905: Configure fails if findmnt or df returns /dev/root as result of device

2014-07-05 Thread Thomas Viehweger
Package: extlinux
Version: 3:4.05+dfsg-6+deb8u1

After upgrading to version 3:4.05+dfsg-6+deb8u1:

E: cannot access /dev/root: No such device
dpkg: Fehler beim Bearbeiten des Paketes extlinux (--configure):
 Unterprozess installiertes post-installation-Skript gab den Fehlerwert
1 zurück

FYI: syslinux-stuff (3:6.03~pre18+dfsg-1) gives the same result.

The kernel is started with this cmdline (no modules, no initrd):

root=/dev/sda1 ro rootfstype=ext4 BOOT_IMAGE=/boot/vmlinuz-3.15.1

# df -P /boot/extlinux | tail -1 | awk '{ print $1 }'
/dev/root

# findmnt -n --raw -c -o SOURCE /
/dev/root

# ls -l /dev/root
ls: cannot access /dev/root: No such file or directory

# cat /proc/mounts | awk '{ print $1   $2 }'
rootfs /
/dev/root /
sysfs /sys
tmpfs /run
tmpfs /run/lock
proc /proc
devtmpfs /dev
tmpfs /run/shm
devpts /dev/pts
/dev/sdb2 /srv
tmpfs /tmp
tmpfs /var/tmp
tmpfs /var/log
none /sys/fs/cgroup
systemd /sys/fs/cgroup/systemd

There seems to be no easy way to find out the real device of /dev/root:

# cat /proc/self/mountinfo | grep /dev/root | awk '{ print $3 }'
8:1

# cat /proc/partitions | tail -n +3 | awk '{ print $1 : $2   $4 }' |
grep 8:1  | awk '{ print /dev/ $2 }'
/dev/sda1


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#739448: pandoc: endless loop converting from html

2014-02-18 Thread Thomas Viehweger
Package: pandoc
Version: 1.12.2.1-1+b1

When trying to convert a html page to epub the CPU usage increases to
100 % but produces no result.

To reproduce try the following (as example):

pandoc -f html -t epub -o 131212.epub \
http://lwn.net/Articles/575838/bigpage?format=printable

strace shows an endless stream of the following messages:

...
...
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
clock_gettime(0x2 /* CLOCK_??? */, {2, 574828663}) = 0
clock_gettime(0x3 /* CLOCK_??? */, {2, 574833013}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
clock_gettime(0x2 /* CLOCK_??? */, {2, 574978094}) = 0
clock_gettime(0x3 /* CLOCK_??? */, {2, 574982504}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
select(0, [], [], NULL, {0, 0}) = 0 (Timeout)
...
...

-- 
Regards,
Thomas Viehweger


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#730824: initscripts: please document INIT_VERBOSE in /etc/default/rcS (and/or rcS (5) )

2013-11-29 Thread Thomas Viehweger
Package: initscripts
Version: 2.88dsf-43
Severity: minor

I wondered why some messages don't appear even if I had set VERBOSE=yes
Looking at the code I found the solution (setting INIT_VERBOSE to yes).

What about adding the following lines (or similar) to /etc/default/rcS:

# be verbose even if kernel commandline contains quiet
#INIT_VERBOSE=yes

-- 
Regards,
Thomas Viehweger


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#729228: samba-common: don't install /etc/samba/gdbcommands

2013-11-10 Thread Thomas Viehweger
Package: samba-common
Version: 2:3.6.19-1
Severity: minor

I think the file /etc/samba/gdbcommands is useless and should not be installed.

-- 
Regards
Thomas Viehweger


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#711431: Unable to build with linux-3.9

2013-06-06 Thread Thomas Viehweger
Package: xtables-addons-source
Version: 2.2-1

xt_DNETMAP.c could not be compiled because of the changed definition of kuid_t 
in linux-3.9

Here is a snippet of the output from the build:

Xtables-addons 2.2 - Linux 3.9.4
if [ -n /lib/modules/3.9.4/build ]; then make -C /lib/modules/3.9.4/build 
M=/home/src/xtables-addons-2.2/extensions modules; fi;
make[5]: Entering directory `/home/src/linux-3.9.4'
  CC [M]  /home/src/xtables-addons-2.2/extensions/xt_DNETMAP.o
/home/src/xtables-addons-2.2/extensions/xt_DNETMAP.c: In function 
‘dnetmap_tg_check’:
/home/src/xtables-addons-2.2/extensions/xt_DNETMAP.c:331:16: error: 
incompatible types when assigning to type ‘kuid_t’ from type ‘unsigned int’
/home/src/xtables-addons-2.2/extensions/xt_DNETMAP.c:332:16: error: 
incompatible types when assigning to type ‘kgid_t’ from type ‘unsigned int’
/home/src/xtables-addons-2.2/extensions/xt_DNETMAP.c:344:16: error: 
incompatible types when assigning to type ‘kuid_t’ from type ‘unsigned int’
/home/src/xtables-addons-2.2/extensions/xt_DNETMAP.c:345:16: error: 
incompatible types when assigning to type ‘kgid_t’ from type ‘unsigned int’
make[6]: *** [/home/src/xtables-addons-2.2/extensions/xt_DNETMAP.o] Error 1


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#651227: Compositing unuseable with Radeon r300

2012-10-17 Thread Thomas Viehweger
I retried with 4:4.8.4-3 but got similar bad results than a year ago:
 glxgears 
Running synchronized to the vertical refresh.  The framerate should be
approximately the same as the monitor refresh rate.
62 frames in 5.0 seconds = 12.369 FPS
64 frames in 5.0 seconds = 12.778 FPS
...

from glxinfo:
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RS690
OpenGL version string: 2.1 Mesa 8.0.4
OpenGL shading language version string: 1.20


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#574947: global: newer release (6.2.4) is available

2012-07-15 Thread Thomas Viehweger
retitle 574947 global: newer release (6.2.4) is available
severity 574947 important
found 574947 global/5.7.1-2
thanks

Because of the age of the version 5.7.1 the packet becomes more and more 
unusable to browse newer source code.
In my opinion this is the exact description of the severity important.

Regards,
Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657671: [extlinux] Unexpected ordering of boot entries

2012-01-27 Thread Thomas Viehweger
Package: extlinux
Version: 2:4.05+dfsg-1
Severity: normal
Tags: patch

After installing the 3.1.10 kernel I got an unexpected ordering of entries:
3.1.9
3.1.10
3.1.0-1-amd64

The attached patch fixes this.
--- /usr/sbin/extlinux-update.orig	2012-01-27 21:42:52.658542144 +0100
+++ /usr/sbin/extlinux-update	2012-01-27 21:40:15.458545094 +0100
@@ -148,7 +148,7 @@ _CONFIG=\
 
 
 # Find linux versions
-_VERSIONS=$(cd /boot  ls vmlinuz-* | grep -v .dpkg-tmp | sed -e 's|vmlinuz-||g' | sort -r)
+_VERSIONS=$(cd /boot  ls vmlinuz-* | grep -v .dpkg-tmp | sed -e 's|vmlinuz-||g' | sort -rn)
 
 if [ $(stat --printf %d /) = $(stat --printf %d /boot) ]
 then



Bug#651227: Compositing unuseable with Radeon r300

2011-12-06 Thread Thomas Viehweger
Package: kde-window-manager
Version: 4:4.6.5-3
Severity: normal

If I enable windows effects the glxgears framerate goes down to 20 fps, moving 
windows etc. is a pain.
Doing compiz --replace works as expected: glxgears is at the expected 60 fps 
(synchronized with monitor refresh rate), wobbling windows are a real fun.

Because compiz does not work well with KDE4 I have disabled windows effects.

from /var/log/Xorg.0.log:
(II) LoadModule: radeon
(II) Loading /usr/lib/xorg/modules/drivers/radeon_drv.so
(II) Module radeon: vendor=X.Org Foundation
   compiled for 1.11.1.902, module version = 6.14.3
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 11.0
Chipset: ATI Radeon X1200 (ChipID = 0x791e)

from glxinfo:
GLX version: 1.4
OpenGL vendor string: X.Org R300 Project
OpenGL renderer string: Gallium 0.4 on ATI RS690
OpenGL version string: 2.1 Mesa 7.11
OpenGL shading language version string: 1.20



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#650780: Wrong name of executable: /bin/sh: 1: kde-window-decorator: not found

2011-12-02 Thread Thomas Viehweger
Package: compiz-kde
Version: 0.8.4-5
Severity: important

Trying to run compiz --replace gives the following result:

Backend : kconfig4
Integration : true
Profile : default
Adding plugins
Initializing core options...done
Initializing move options...done
Initializing resize options...done
Initializing place options...done
Initializing decoration options...done
/bin/sh: 1: kde-window-decorator: not found
Setting Update initiate_key
Setting Update initiate_key
Setting Update mode
Setting Update mode
Setting Update command
/bin/sh: 1: kde-window-decorator: not found
Initializing kdecompat options...done
Initializing zoom options...done
Initializing session options...done
Initializing wobbly options...done
Initializing animation options...done
Initializing fade options...done
Initializing cube options...done
Initializing rotate options...done
Initializing scale options...done
Initializing switcher options...done
Setting Update edge_flip_window
Setting Update rotate_left_key
Setting Update rotate_right_key
Setting Update rotate_left_window_key
Setting Update rotate_right_window_key
Setting Update rotate_to_1_key
Setting Update rotate_to_2_key
Setting Update rotate_to_3_key
Setting Update rotate_to_4_key
Setting Update initiate_key
Setting Update initiate_all_key

The following solves the problem:
# cd /usr/bin
# ln -s kde4-window-decorator kde-window-decorator




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648366: ipset does not work with current linux-image

2011-11-10 Thread Thomas Viehweger
Package: ipset
Version: 2.5.0-1
Severity: important

The included /usr/sbin/ipset does not work with linux-image-3.0.0-1-amd64:

# ipset -L
ipset v2.5.0: ipset kernel/userspace version mismatch
Perhaps ipset or your kernel needs to be upgraded.

The package xtables-addons-common_1.37-1_amd64.deb which also provides an 
ipset command does not work, too.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648370: Unable to build if IPv6 is disabled

2011-11-10 Thread Thomas Viehweger
Package: xtables-addons-dkms
Version: 1.37-1
Severity: important

Here is the output of the build:

First Installation: checking all kernels...
Building only for 3.0.8
Building for architecture amd64
Building initial module for 3.0.8
Error!  Build of ip6table_rawpost.ko failed for: 3.0.8 (amd64)
Consult the make.log in the build directory
/var/lib/dkms/xtables-addons/1.37/build/ for more information.

(There are no errors in the file make.log.)

The module ip6table_rawpost must only be installed if IPv6 is configured.
See file dkms.conf:
BUILT_MODULE_LOCATION[27]=
BUILT_MODULE_NAME[27]=ip6table_rawpost
DEST_MODULE_LOCATION[27]=/updates



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#648083: ipset does not work with current linux-image

2011-11-08 Thread Thomas Viehweger
Package: xtables-addons-common
Version: 1.37-1
Severity: important

The included /usr/sbin/ipset does not work with linux-image-3.0.0-1-amd64:

# ipset -L
ipset v4.5: Kernel ip_set module is of protocol version 6.I'm of protocol 
version 4.
Please upgrade your kernel and/or ipset(8) utillity.

The package ipset_2.5.0-1_amd64.deb which also provides an ipset command also 
does not work.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#617722: minidlna: Unable to create pid-file when not running as root

2011-03-10 Thread Thomas Viehweger
Package: minidlna
Version: 1.0.18-4
Severity: normal
Tags: patch

If minidlna is run as user minidlna it is unable to create the pid-file:

daemonize.c:98: error: Unable to open pidfile for writing 
/var/run/minidlna.pid: Keine Berechtigung

This is because the directory /var/run is owned by root. The attached patch 
creates a directory /var/run/minidlna with owner minidlna and uses the file 
/var/run/minidlna/minidlna.pid as pid-file.
This also fixes bug # 613853.

Regards,
Thomas Viehweger
--- /etc/init.d/minidlna.old	2011-03-10 21:21:53.77671 +0100
+++ /etc/init.d/minidlna	2011-03-10 22:24:37.77003 +0100
@@ -27,7 +27,8 @@
 DESC=DLNA/UPnP-AV media server
 NAME=minidlna
 DAEMON=/usr/bin/minidlna
-PIDFILE=/var/run/$NAME.pid
+PIDFILE=/var/run/$NAME/$NAME.pid
+PIDDIR=/var/run/$NAME
 SCRIPTNAME=/etc/init.d/$NAME
 DEFAULT=/etc/default/$NAME
 
@@ -82,6 +83,7 @@
 	#   0 if daemon has been started
 	#   1 if daemon was already running
 	#   2 if daemon could not be started
+	install -o $USER -g $GROUP -d $PIDDIR
 	touch $LOGFILE
 	chown $USER:$GROUP $LOGFILE
 	start-stop-daemon --start --quiet --pidfile $PIDFILE \


Bug#554142: libreadline5: can't prelink: section file offsets not monotonically

2009-11-29 Thread Thomas Viehweger
Hi,

below is the output of objdump -hF /lib/libreadline.so.5.2.

Section 7 (.dynsym) has to be placed before section 11 (.dynstr).

Today I have re-built the package with gcc-4.3 (4.3.4-6) and binutils 2.20-4. 
All sections were in-order.
Maybe Matthias Klose used different tools.

Regards,
Thomas Viehweger

/lib/libreadline.so.5.2: file format elf32-i386

Sections:
Idx Name  Size  VMA   LMA   File off  Algn
  0 .text 0001ec08  0120  0120  0120  2**4
  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .init 0030  0001ed28  0001ed28  0001ed28  2**2
  CONTENTS, ALLOC, LOAD, READONLY, CODE
  2 .fini 001c  0001ed58  0001ed58  0001ed58  2**2
  CONTENTS, ALLOC, LOAD, READONLY, CODE
  3 .rodata   11b0  0001ed74  0001ed74  0001ed74  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
  4 .eh_frame 0004  0001ff24  0001ff24  0001ff24  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
  5 .eh_frame_hdr 0008  0001ff28  0001ff28  0001ff28  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .note.gnu.build-id 0024  0001ff30  0001ff30  0001ff30  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
  7 .dynsym   2ab0  0002508c  0002508c  0002508c  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
  8 .rel.dyn  2980  0001ff54  0001ff54  0001ff54  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
  9 .rel.plt  0d38  000228d4  000228d4  000228d4  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
 10 .plt  1a80  0002360c  0002360c  0002360c  2**2
  CONTENTS, ALLOC, LOAD, READONLY, CODE
 11 .dynstr   2f15  00027b3c  00027b3c  00027b3c  2**0
  CONTENTS, ALLOC, LOAD, READONLY, DATA
 12 .hash 12d8  0002aa54  0002aa54  0002aa54  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
 13 .gnu.hash 14d4  0002bd2c  0002bd2c  0002bd2c  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
 14 .gnu.version  0556  0002d200  0002d200  0002d200  2**1
  CONTENTS, ALLOC, LOAD, READONLY, DATA
 15 .gnu.version_d 001c  0002d758  0002d758  0002d758  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
 16 .gnu.version_r 0040  0002d774  0002d774  0002d774  2**2
  CONTENTS, ALLOC, LOAD, READONLY, DATA
 17 .data 2980  0002e000  0002e000  0002e000  2**5
  CONTENTS, ALLOC, LOAD, DATA
 18 .ctors0008  00030980  00030980  00030980  2**2
  CONTENTS, ALLOC, LOAD, DATA
 19 .dtors0008  00030988  00030988  00030988  2**2
  CONTENTS, ALLOC, LOAD, DATA
 20 .jcr  0004  00030990  00030990  00030990  2**2
  CONTENTS, ALLOC, LOAD, DATA
 21 .data.rel.ro.local 0128  000309a0  000309a0  000309a0  2**5
  CONTENTS, ALLOC, LOAD, DATA
 22 .data.rel.ro  0648  00030ae0  00030ae0  00030ae0  2**5
  CONTENTS, ALLOC, LOAD, DATA
 23 .dynamic  00d8  00031128  00031128  00031128  2**2
  CONTENTS, ALLOC, LOAD, DATA
 24 .got  09e8  00031200  00031200  00031200  2**2
  CONTENTS, ALLOC, LOAD, DATA
 25 .bss  1174  00031c00  00031c00  00031be8  2**5
  ALLOC
 26 .note.gnu.gold-version 0018      00031be8  2**2
  CONTENTS, READONLY




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#557518: xscanimage: Segfault when clicking into slider

2009-11-22 Thread Thomas Viehweger
Hi,

here is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0xa7d97acd in gtk_range_scroll (range=0x80844e0, scroll=value optimized out) 
at /build/buildd-gtk+2.0_2.18.3-1-i386-
YrT8XN/gtk+2.0-2.18.3/gtk/gtkrange.c:2663
2663
/build/buildd-gtk+2.0_2.18.3-1-i386-YrT8XN/gtk+2.0-2.18.3/gtk/gtkrange.c: 
Datei oder Verzeichnis nicht gefunden.
in 
/build/buildd-gtk+2.0_2.18.3-1-i386-YrT8XN/gtk+2.0-2.18.3/gtk/gtkrange.c

(gdb) backtrace full
#0  0xa7d97acd in gtk_range_scroll (range=0x80844e0, scroll=value optimized 
out) at /build/buildd-gtk+2.0_2.18.3-1-i386-
YrT8XN/gtk+2.0-2.18.3/gtk/gtkrange.c:2663
old_value = 290
#1  0xa7d99e17 in gtk_range_add_step_timer (range=0x80844e0, 
step=GTK_SCROLL_PAGE_BACKWARD) at /build/buildd-gtk+2.0_2.18.3-1-i386-
YrT8XN/gtk+2.0-2.18.3/gtk/gtkrange.c:3601
settings = value optimized out
timeout = 200
__PRETTY_FUNCTION__ = gtk_range_add_step_timer
#2  0xa7d9a5b1 in gtk_range_button_press (widget=0x80844e0, event=0x808b1f0) 
at /build/buildd-gtk+2.0_2.18.3-1-i386-
YrT8XN/gtk+2.0-2.18.3/gtk/gtkrange.c:2065
scroll = value optimized out
click_value = 0.019530727615342532
#3  0xa7d58f66 in _gtk_marshal_BOOLEAN__BOXED (closure=0x80e9b70, 
return_value=0xa0c0, n_param_values=2, param_values=0x83567b8, 
invocation_hint=0xa0ac, 
marshal_data=0xa7d9a320) at /build/buildd-gtk+2.0_2.18.3-1-i386-
YrT8XN/gtk+2.0-2.18.3/gtk/gtkmarshalers.c:84
data1 = 0x80844e0
data2 = value optimized out
v_return = value optimized out
__PRETTY_FUNCTION__ = _gtk_marshal_BOOLEAN__BOXED
#4  0x43553569 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#5  0x43554de3 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#6  0x43568bb7 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x4356a1ef in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#8  0x4356a7b6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#9  0xa7e751b6 in gtk_widget_event_internal (widget=0x80844e0, 
event=0x808b1f0) at /build/buildd-gtk+2.0_2.18.3-1-i386-
YrT8XN/gtk+2.0-2.18.3/gtk/gtkwidget.c:4767
signal_num = value optimized out
return_val = 0
#10 0xa7d516fc in IA__gtk_propagate_event (widget=0x80844e0, event=0x808b1f0) 
at /build/buildd-gtk+2.0_2.18.3-1-i386-
YrT8XN/gtk+2.0-2.18.3/gtk/gtkmain.c:2417
tmp = 0x8360420
handled_event = 134787568
__PRETTY_FUNCTION__ = IA__gtk_propagate_event
#11 0xa7d52b77 in IA__gtk_main_do_event (event=0x808b1f0) at /build/buildd-
gtk+2.0_2.18.3-1-i386-YrT8XN/gtk+2.0-2.18.3/gtk/gtkmain.c:1607
event_widget = 0x80844e0
grab_widget = 0x80844e0
window_group = 0x8360420
rewritten_event = 0x0
tmp_list = value optimized out
__PRETTY_FUNCTION__ = IA__gtk_main_do_event
#12 0x4383157a in gdk_event_dispatch (source=value optimized out, 
callback=Could not find the frame base for gdk_event_dispatch.
) at /build/buildd-gtk+2.0_2.18.3-1-i386-
YrT8XN/gtk+2.0-2.18.3/gdk/x11/gdkevents-x11.c:2369
display = value optimized out
event = value optimized out
#13 0x43352e98 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#14 0x43356623 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#15 0x43356aea in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#16 0xa7d52f09 in IA__gtk_main () at /build/buildd-gtk+2.0_2.18.3-1-i386-
YrT8XN/gtk+2.0-2.18.3/gtk/gtkmain.c:1218
tmp_list = 0x0
functions = 0x0
init = 0x1
loop = 0x81d25f0
#17 0x08050150 in ?? ()
No symbol table info available.
#18 0x08050ce6 in ?? ()
No symbol table info available.
#19 0x42ecfb35 in __libc_start_main () from /lib/i686/cmov/libc.so.6
No symbol table info available.
#20 0x0804c381 in ?? ()



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#555660: No DNS name resolution after upgrade from 2.9-25 to 2.10.1-5

2009-11-11 Thread Thomas Viehweger
 My current workaround is to make a manual nslookup which works and writing 
 the result to /etc/hosts.

 What is the content of your /etc/resolv.conf?

It is almost empty, I have not touched the file:

# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#555660: No DNS name resolution after upgrade from 2.9-25 to 2.10.1-5

2009-11-11 Thread Thomas Viehweger
  What is the content of your /etc/resolv.conf?
 
 It is almost empty, I have not touched the file:
 
 # Dynamic resolv.conf(5) file for glibc resolver(3) generated by
  resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE
  OVERWRITTEN

Thanks for the hint. I now added the line

dns-nameservers 192.168.0.2 192.168.0.1

to /etc/network/interfaces
and name resolution works again (not only for nslookup). But now I get the 
following when doing # /etc/init.d/networking restart:

Reconfiguring network interfaces...Awakening mail retriever agent: fetchmail.
Failed: Bad server label.
Opening socket /var/cache/pdnsd/pdnsd.status
Awakening mail retriever agent: fetchmail.
Failed: Bad server label.
Opening socket /var/cache/pdnsd/pdnsd.status
done.

So something else is still wrong. Possibly with pdnsd. If I stop pdnsd before 
restarting networking I get nearly the expected result:

# /etc/init.d/networking restart
Reconfiguring network interfaces...Awakening mail retriever agent: fetchmail.
Awakening mail retriever agent: fetchmail.
done.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#555660: No DNS name resolution after upgrade from 2.9-25 to 2.10.1-5

2009-11-10 Thread Thomas Viehweger
Package: libc6
Version: 2.10.1-5
Severity: major

Name resolution stops working for me mostly after upgrading testing 
distribution.

Example:
 ping heise.de
ping: unknown host heise.de

 nslookup heise.de
Server: 127.0.0.1
Address:127.0.0.1#53

Non-authoritative answer:
Name:   heise.de
Address: 193.99.144.80

 host heise.de
heise.de has address 193.99.144.80
heise.de mail is handled by 10 relay.heise.de.

My current workaround is to make a manual nslookup which works and writing the 
result to /etc/hosts.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#552318: console-common: install-keymap gives dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead.

2009-10-25 Thread Thomas Viehweger
Package: console-common
Version: 0.7.83
Severity: minor
Tags: patch

The attached patch removes the above warning when calling install-keymap with 
dpkg 1.15.3.1.

Regards,
Thomas Viehweger
--- /usr/sbin/install-keymap~	2009-10-25 14:20:56.0 +0100
+++ /usr/sbin/install-keymap	2009-10-25 14:22:16.0 +0100
@@ -129,7 +129,7 @@ then
 backup
 rm -f ${CONFFILE}
 else
-if [ `dpkg --print-installation-architecture` = arm ]  
+if [ `dpkg --print-architecture` = arm ]  
 	grep -i '^Hardware.*: \(Acorn-\|RiscStation-\)' /proc/cpuinfo /dev/null 
 	find /usr/share/keymaps/i386/ -type f -name ${keymap} -o \
 		-name ${keymap}.gz -o -name ${keymap}.kmap.gz


Bug#550226: One more error in /usr/share/cups/templates/de/set-printer-options-header.tmpl

2009-10-08 Thread Thomas Viehweger
Hi,

I found one more error as attached.

Regards
Thomas Viehweger
--- /usr/share/cups/templates/de/set-printer-options-header.tmpl.orig	2009-10-08 22:42:16.0 +0200
+++ /usr/share/cups/templates/de/set-printer-options-header.tmpl	2009-10-08 22:42:52.0 +0200
@@ -1,6 +1,6 @@
 DIV CLASS=indent
 
-H2 CLASS=titleStandardeinstellungen f%uuml;r {printer_name} festlegen/H2
+H2 CLASS=titleStandardeinstellungen fuuml;r {printer_name} festlegen/H2
 
 FORM METHOD=POST ACTION=/admin
 INPUT TYPE=HIDDEN NAME=PRINTER_NAME VALUE={printer_name}


Bug#539684: bootchart is stopped too early

2009-08-02 Thread Thomas Viehweger
Package: insserv
Version: 1.12.0-7
Severity: minor

bootchart is set to S02bootchart, but it should be run after rmnologin which 
gets (at least at my system) S06rmnologin:

# Provides:  bootchart
# Required-Start:$remote_fs rmnologin
# Required-Stop:
# Default-Start: 1 2 3 4 5
# Default-Stop:

Maybe it conflicts with rmnologin's dependency $all:

# Provides:  rmnologin
# Required-Start:$remote_fs $all
# Required-Stop: 
# Default-Start: 2 3 4 5
# Default-Stop:




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#536574: shutdown: missing argument to accton

2009-07-11 Thread Thomas Viehweger
Package: sysvinit
Version: 2.86.ds1-61
Severity: minor
Tags: patch

accton now needs the parameter off to stop accounting. The default action is 
not implemented anymore, which now gives the following error messages:

accton: no arguments
Usage: accton [OPTION] on|off|ACCOUNTING_FILE
Try 'accton --help' for more information.

My simple testcase: use init=/bin/bash as init process and then call
shutdown -fPnh now

Anyway, in my opinion it would be better to use the acct() call direct instead 
of spawning a new process. This implements the attached patch.

--- src/shutdown.c	2009-07-11 10:52:52.0 +0200
+++ src/shutdown_my.c	2009-07-11 11:03:49.0 +0200
@@ -331,7 +331,9 @@ void fastdown()
 	write_wtmp(shutdown, ~~, 0, RUN_LVL, ~~);
 
 	/* This is for those who have quota installed. */
-	spawn(1, accton, NULL);
+#if _BSD_SOURCE || (_XOPEN_SOURCE  _XOPEN_SOURCE  500)
+	if (acct(NULL)) perror(acct: );
+#endif
 	spawn(1, quotaoff, -a, NULL);
 
 	sync();


Bug#535683: bootchart: Process accounting not enabled

2009-07-04 Thread Thomas Viehweger
Package: bootchart
Version: 0.10~svn407-3
Severity: normal
Tags: patch

The following error appears when setting PROCESS_ACCOUNTING to yes:

tar: kernel_pacct: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors

This is because fix-bootup-tmp-dir.dpatch accidentially also removes the call 
of accton. The attached patch re-introduces it.
--- a/script/bootchartd	2009-07-04 12:15:02.0 +0200
+++ b/script/bootchartd	2009-07-04 12:16:42.0 +0200
@@ -64,6 +64,12 @@ start()
  $BOOTLOG_LOCK
 fi
 	
+# Enable process accounting if configured
+if [ $PROCESS_ACCOUNTING = yes ]; then
+ kernel_pacct
+accton kernel_pacct
+fi
+
 	#
 	# Run loggers in background
 	#


Bug#520665: quiteinsane: Missing .desktop file

2009-03-21 Thread Thomas Viehweger
Package: quiteinsane
Version: 0.10-14
Severity: minor
Tags: patch

I missed an entry for quiteinsane in the KDE program menue (maybe other window 
manager are also affected). Attached is a patch which adds the .desktop 
file (modified from kooka).


quiteinsane_desktop.diff.gz
Description: GNU Zip compressed data


Bug#520017: mlocate: not removing self created group after purge

2009-03-16 Thread Thomas Viehweger
Package: mlocate
Version: 0.21.1-2
Severity: minor

mlocate adds the group mlocate to /etc/group.
After purging the package the group still is there.
I expected that the group would have been removed, too.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#518120: locate: Remove duplicate filesystem from PRUNEFS

2009-03-04 Thread Thomas Viehweger
Package: locate
Version: 4.4.0-2
Severity: minor
Tags: patch

In the file /usr/bin/updatedb.findutils the proc filesystem is duplicated. 
Attached is a patch which corrects it.
--- /usr/bin/updatedb.findutils	2008-04-03 19:41:22.0 +0200
+++ updatedb.findutils	2009-03-04 10:13:32.0 +0100
@@ -228,7 +228,7 @@
 
 PATH=/bin:/usr/bin:${BINDIR}; export PATH
 
-: ${PRUNEFS=nfs NFS proc afs proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs}
+: ${PRUNEFS=nfs NFS proc afs smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs sysfs shfs}
 
 if test -n $PRUNEFS; then
 prunefs_exp=`echo $PRUNEFS |sed -e 's/\([^ ][^ ]*\)/-o -fstype \1/g' \


Bug#511762: hpijs-ppds: Several ppds not working with newer cups

2009-01-14 Thread Thomas Viehweger
Package: hpijs-ppds
Version: 2.8.6.b-3
Severity: important

Due to the more strict interpreter in cups 1.3.8 I get the following error 
with /usr/share/ppd/hpijs/HP/HP_Color_LaserJet_2605-ps.ppd:

PPD file for Farblaser cannot be loaded!
Missing value string on line 122.
Hint: Run cupstestppd /etc/cups/ppd/Farblaser.ppd and fix any errors.

this is valid for 2.8.6.b-3 in Lenny and also for 2.8.12-1 in experimental.
(My printer URI in cups is: usb://HP/Color%20LaserJet%sernum.)

The ppds for this printer (HP_Color_LaserJet_2605.ppd) in
foomatic-db 20080211-2+nmu1 and
openprinting-ppds 20080211-2+nmu1
are correct. See also 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=493104 or
http://bugs.linux-foundation.org/show_bug.cgi?id=164

Maybe it is possible to run the cupstestppd and remove/fix failing ppds during 
the build process of the deb?

By the way, the actual file in experimental contains many duplicate files 
compressed, uncompressed, small/uppercase letters.


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.10
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) (ignored: 
LC_ALL set to de_DE.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hpijs-ppds depends on:
ii  foomatic-filters  3.0.2-20080211-3.2 OpenPrinting printer support -
ii  hpijs 2.8.6.b-3  HP Linux Printing and Imaging -

hpijs-ppds recommends no packages.

Versions of packages hpijs-ppds suggests:
ii  hplip 2.8.6.b-3  HP Linux Printing and Imaging

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#484361: scanbuttond: segfaults if PATH is not set

2008-06-03 Thread Thomas Viehweger
Package: scanbuttond
Version: 0.2.3-6
Severity: important

I tried to run scanbuttond from udev by appending
, RUN+=/usr/bin/scanbuttond to a rule in /etc/udev/libsane.rules. But the 
program segfaults because the environment variable PATH is not set. I 
attached a patch which corrects the problem.

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.24.7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages scanbuttond depends on:
ii  libc6  2.3.6.ds1-13etch5 GNU C Library: Shared libraries
ii  libsane1.0.18-5  API library for scanners
ii  libusb-0.1-4   2:0.1.12-5userspace USB programming library

Versions of packages scanbuttond recommends:
ii  sane-utils1.0.18-5   API library for scanners -- 
utilit

-- no debconf information
--- scanbuttond.c.orig	2008-06-03 22:11:00.0 +0200
+++ scanbuttond.c	2008-06-03 22:11:21.0 +0200
@@ -268,13 +268,23 @@ int main(int argc, char** argv)
 
 	// setup the environment
 	char* oldpath = getenv(PATH);
+	if (oldpath == NULL) {
+		oldpath = ;
+	}
 	char* dir = dirname(argv[0]);
 	path = (char*)malloc(strlen(oldpath) + strlen(dir) + 1);
-	strcpy(path, oldpath);
-	strcat(path, :);
-	strcat(path, dir);
-	setenv(PATH, path, 1);
-	free(path);
+	if (path) {
+		if (strlen(oldpath)) {
+			strcpy(path, oldpath);
+			strcat(path, :);
+		}
+		else {
+			path[0] = 0;
+		}
+		strcat(path, dir);
+		setenv(PATH, path, 1);
+		free(path);
+	}
 
 	syslog(LOG_DEBUG, running scanner initialization script...);
 	execute_and_wait(initscanner_script);