Bug 56598 - stale /var/run/amd.pid file breaks amd startup script.
Summary: stale /var/run/amd.pid file breaks amd startup script.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: am-utils
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Aaron Brown
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-11-21 17:07 UTC by Eugene Kanter
Modified: 2007-04-18 16:38 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-08-25 17:54:34 UTC
Embargoed:


Attachments (Terms of Use)

Description Eugene Kanter 2001-11-21 17:07:45 UTC
Description of Problem:

The root cause: amd does not remove its /var/run/amd.pid file when asked 
to exit.

The result:

impossible to start/restart amd using /etc/rc.d/init.d/amd scripts.

Version-Release number of selected component (if applicable):

am-utils-6.0.6-3

How Reproducible:

always.

Steps to Reproduce:
1. stop amd: service amd stop
2. start amd from command line: amd -F /etc/amd.conf
3. stop amd from command line: kill -TERM `cat /var/run/amd.pid`
4. attempt to restart amd: service amd restart: nothing happends:
Stopping amd:
Starting amd:
5. service amd status:

amd dead but pid file exists

Actual Results:

see above.

Expected Results:

service amd restart should be able to recover from "amd dead but pid file 
exists" situation.

Comment 1 Eugene Kanter 2005-08-28 20:54:53 UTC
This bug was CLOSED RAWHIDE without providing fixed package version. Please add
minimum description of what was done.


Note You need to log in before you can comment on or make changes to this bug.