Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31575 - Wrong PID from sys-apps/cpudyn-0.4.6 init script
Summary: Wrong PID from sys-apps/cpudyn-0.4.6 init script
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-20 01:29 UTC by TGL
Modified: 2003-10-21 18:18 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 TGL 2003-10-20 01:29:49 UTC
Hi,

It seems that the "-d" given to cpudynd in the start function makes start-stop-daemon write a wrong PID in /var/run. Consequence is an error on stopping or restarting cpudyn. Btw, start-stop-daemon's "--background" option makes this "-d" useless. 

Patch:
- 	local CPUDYN_OPTS="-d"
+ 	local CPUDYN_OPTS=""
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-21 18:18:10 UTC
fixed in cvs.