Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57948 - distccd init script causes warning (seems like an error)
Summary: distccd init script causes warning (seems like an error)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High minor
Assignee: Lisa Seelye (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-22 03:37 UTC by der Ritter
Modified: 2004-08-22 12:12 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
diff for /etc/init.d/distccd (distccd.diff,341 bytes, patch)
2004-07-22 03:39 UTC, der Ritter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description der Ritter 2004-07-22 03:37:42 UTC
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.
Comment 1 der Ritter 2004-07-22 03:39:08 UTC
Created attachment 35936 [details, diff]
diff for /etc/init.d/distccd

simple test example that resolves this bug.
Comment 2 Lisa Seelye (RETIRED) gentoo-dev 2004-08-16 09:32:45 UTC
I'll try and get this in to CVS this week with all of my other distccd updates.
Comment 3 Lisa Seelye (RETIRED) gentoo-dev 2004-08-22 12:12:06 UTC
in cvs