Package: distcc Version: 3.4+really3.4-9+b1 Severity: normal Dear Maintainer, The distcc service fails to start and error out with "distccd[1242226]: ERROR: --nice: invalid numeric value"
My /etc/default/distcc is vanilla from debian. The error is misleading because changing JOBS="" to JOBS="200" in /etc/default/distcc fixes distcc service startup I clue it was JOBS being empty that was at faul tbecause I tried running the dameon on the cli with the service default argument values and got: sudo /usr/bin/distccd --daemon --no-detach --allow "127.0.0.1" --listen "127.0.0.1" --jobs "" --nice "10" distccd[1110953] (distccd_parse_options) ERROR: --jobs argument must be between 1 and 200 Also NICE="10" in /etc/default/distcc was correct. I don't know what would be a ccorrect default value for JOBS in /etc/default/distcc though. I took 200 as I guessed taht if it was left empty it was because the packager wanted no limit, so max limit seemed the closest to his intent. Cheers Alban sudo systemctl status distcc × distcc.service - Distccd A Distributed Compilation Server Loaded: loaded (/usr/lib/systemd/system/distcc.service; enabled; preset: enabled) Active: failed (Result: exit-code) since Wed 2025-02-05 10:11:32 CET; 1s ago Duration: 42ms Invocation: cc5b8af38d014fc9ad76c1daeb6c0d9f Process: 1242219 ExecStart=/bin/sh -c if [ "$ZEROCONF" = "true" ]; then /usr/bin/distccd --daemon --no-detach --allow $ALLOWEDNETS --zeroconf; el> Main PID: 1242219 (code=exited, status=101) Mem peak: 1.8M CPU: 14ms févr. 05 10:11:32 hermes systemd[1]: Started distcc.service - Distccd A Distributed Compilation Server. févr. 05 10:11:32 hermes distccd[1242226]: ERROR: --nice: invalid numeric value févr. 05 10:11:32 hermes systemd[1]: distcc.service: Main process exited, code=exited, status=101/n/a févr. 05 10:11:32 hermes systemd[1]: distcc.service: Failed with result 'exit-code'. *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? * What exactly did you do (or not do) that was effective (or ineffective)? * What was the outcome of this action? * What outcome did you expect instead? *** End of the template - remove these template lines *** -- System Information: Debian Release: trixie/sid APT prefers testing-debug APT policy: (500, 'testing-debug'), (500, 'stable-debug'), (500, 'oldstable-debug'), (500, 'testing'), (500, 'stable'), (90, 'unstable-debug'), (90, 'unstable'), (1, 'experimental-debug'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.12.6-amd64 (SMP w/4 CPU threads; PREEMPT) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages distcc depends on: ii adduser 3.137 ii debconf [debconf-2.0] 1.5.89 ii init-system-helpers 1.68 ii libavahi-client3 0.8-16 ii libavahi-common3 0.8-16 ii libc6 2.40-6 ii libgssapi-krb5-2 1.21.3-4 ii libpopt0 1.19+dfsg-2 ii netbase 6.4 ii sysvinit-utils 3.13-1 distcc recommends no packages. Versions of packages distcc suggests: ii ccache 4.10.2-1+b2 ii dbus 1.16.0-1 pn distcc-pump <none> pn distccmon-gnome <none> pn dmucs <none> -- debconf information: distcc/daemon-zeroconf: false distcc/daemon-listen: 127.0.0.1 distcc/daemon-allow: 127.0.0.1 distcc/daemon-nice: 10 distcc/daemon-jobs: distcc/daemon: false