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

Bug #1484381 reported by Ken Sharp
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
distcc (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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

Revision history for this message
Ken Sharp (kennybobs) wrote :
description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in distcc (Ubuntu):
status: New → Confirmed
Revision history for this message
Ken Sharp (kennybobs) wrote :

Turns out then when the file is removed, it still complains!

(dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd.pid: No such file or directory

tags: added: trusty
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.