Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 398

Summary: apmd rc script does not kill apmd on stop
Product: Gentoo Linux Reporter: Aragon <aragon>
Component: [OLD] UnspecifiedAssignee: Donny Davies (RETIRED) <woodchip>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.