Package: distcc
Version: 3.1-3.1+b1
Severity: normal
Tags: patch
A single character bug means that the init script prevents setting the nice
value to 0. The daemon defaults to nice 5, compounding the error.
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages distcc depends on:
ii adduser 3.112+nmu1 add and remove users and groups
ii debconf [debconf-2.0] 1.5.36 Debian configuration management sy
ii libavahi-client3 0.6.27-2 Avahi client library
ii libavahi-common3 0.6.27-2 Avahi common library
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libpopt0 1.16-1 lib for parsing cmdline parameters
ii lsb-base 3.2-26 Linux Standard Base 3.2 init scrip
ii netbase 4.43 Basic TCP/IP networking system
distcc recommends no packages.
Versions of packages distcc suggests:
pn ccache <none> (no description available)
ii dbus 1.2.24-3 simple interprocess messaging syst
pn distcc-pump <none> (no description available)
pn distccmon-gnome <none> (no description available)
-- debconf information excluded
--- orig/distcc-3.1/debian/distcc.init.d 2010-10-25 13:28:52.000000000
+0100
+++ modified/distcc-3.1/debian/distcc.init.d 2010-10-25 13:29:58.430275389
+0100
@@ -59,7 +59,7 @@
fi
if test -n "$NICE"; then
- if [ "$NICE" -gt 0 ] && [ "$NICE" -le 20 ]; then
+ if [ "$NICE" -ge 0 ] && [ "$NICE" -le 20 ]; then
DAEMON_ARGS="$DAEMON_ARGS --nice $NICE"
fi
fi