Public bug reported:
The distcc log reports
(dcc_remove_pid) Warning: failed to remove pid file
/var/run/distccd.pid: Permission denied
every single time it stops.
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 --stop --quiet --pidfile /var/run/$NAME.pid --oknodo --exec
$DAEMON
Both distccd and start-stop-daemon try to remove the pidfile. Of course,
once it's gone it's gone. Shouldn't be hard to work around this.
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
** Affects: distcc (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 precise
** Description changed:
The distcc log reports
(dcc_remove_pid) Warning: failed to remove pid file
/var/run/distccd.pid: Permission denied
- every single time it starts.
+ every single time it stops.
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
+ start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid --oknodo --exec
$DAEMON
- $ 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>
+ Both distccd and start-stop-daemon try to remove the pidfile. Of course,
+ once it's gone it's gone. Shouldn't be hard to work around this.
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
+ 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
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1484381
Title:
(dcc_remove_pid) Warning: failed to remove pid file
/var/run/distccd.pid: Permission denied
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/distcc/+bug/1484381/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs