An unchecked condition causes the distccd init scripts stop subroutine to cause a warning. Reproducible: Always Steps to Reproduce: 1. /etc/init.d/distccd stop 2. tail /var/log/messages (or) tail /var/log/everything/current Actual Results: Jul 22 04:16:26 [distccd] (dcc_remove_pid) Warning: failed to remove pid file /var/run/distccd/distccd.pid: No such file or directory Expected Results: a simple test in the bash script could prevent the script from causing the warning. I'll attach a diff file to show a workable example.
Created attachment 35936 [details, diff] diff for /etc/init.d/distccd simple test example that resolves this bug.
I'll try and get this in to CVS this week with all of my other distccd updates.
in cvs