Comment 0 for bug 1484381

Revision history for this message
Ken Sharp (kennybobs) wrote :

The distcc log reports

(dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: Permission denied

every single time it starts.

Possibly due to the two lines in /etc/init.d/distcc:

DAEMON_ARGS="--pid-file=/var/run/$NAME.pid --log-file=/var/log/$NAME.log --daemon"
and
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid --chuid distccd --exec $DAEMON -- $DAEMON_ARGS

$ ll /run/distccd.pid
-rw-r--r-- 1 distccd root 5 Aug 13 07:39 /run/distccd.pid

Or maybe not. Whatever the cause it has itself a little moan in the log.

$ cat /run/distccd.pid ; pgrep distccd
2261
2261
<snip>

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: distcc 3.1-4ubuntu2
ProcVersionSignature: Ubuntu 3.11.0-26.45~precise1-generic 3.11.10.12
Uname: Linux 3.11.0-26-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.9
Architecture: i386
Date: Thu Aug 13 07:52:05 2015
MarkForUpload: True
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: distcc
UpgradeStatus: Upgraded to precise on 2014-12-07 (248 days ago)
mtime.conffile..etc.logrotate.d.distcc: 2015-07-29T03:40:13