The original attempt to delete the pid file in 'dparent.c':
/**
* Remove our pid file on exit.
*
* Must be reentrant -- called from signal handler.
**/
void dcc_remove_pid(void)
{
if (!arg_pid_file)
return;
if (unlink(arg_pid_file)) {
rs_log_warning("failed to remove pid file %s: %s",
arg_pid_file, strerror(errno));
}
}
still fails, and a warning message always appears in the distccd.log:
distccd[19738] (dcc_remove_pid) Warning: failed to remove pid
file /var/run/distccd.pid: Permission denied
The pid file is being removed by the startup script
('/etc/init.d/distcc') after the call to 'start-stop-daemon'.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]