Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 398 - apmd rc script does not kill apmd on stop
Summary: apmd rc script does not kill apmd on stop
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-28 19:40 UTC by Aragon
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Aragon 2002-01-28 19:40:07 UTC
The apmd rc script uses start-stop-daemon --stop --quiet --
pidfile /var/run/apmd.pid in it's stop() clause. However, apmd does not create 
this pidfile on startup. Stopping apmd during shutdown fails.

Proposed solution:

Replacing the original start-stop-daemon line with "start-stop-daemon --stop --
quiet --exec /usr/sbin/apmd" in the stop() clause seems to do the trick :)


Regards,
Aragon
Comment 1 Donny Davies (RETIRED) gentoo-dev 2002-01-31 19:10:11 UTC
using --make-pidfile now.