Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45199 - rc-scripts runscript.sh
Summary: rc-scripts runscript.sh
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-20 02:47 UTC by phasma
Modified: 2004-03-20 18:02 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 phasma 2004-03-20 02:47:48 UTC
Service stop/start/restart/reload failed when you kill a process manually.

You have to remove the daemon pid by hand.

Solution: add a sort of "rm $PIDFILE" in the routine.

This affects also all runscript in /etc/init.d

Regards

ph
Comment 1 Joshua Kinard gentoo-dev 2004-03-20 18:02:42 UTC
If you nuke a process/service manually, you have to "zap" it to get runscript to restart it:

/etc/init.d/<service> zap
/etc/init.d/<service> start

There are rare cases where the pid file does need to be deleted before a service can start again, even after zapping.  The only service I've seen do this repeatedly is openssh, so for that case, a separate bug would need to be filed.

if you come across any other packages with this behavior after zapping, please file separate bugs for them.
Resolving as INVALID.