Some users are having a hard time understanding how the /mnt/.init.d/started etc. directories work, so I think there should be a quick guide to it in the docs. <roman__> I have killed gpm myself (with kill xxx), there is no pid in /var/run after that but /etc/init.d/gpm start faild with "* WARNING: gpm has already been started. Any idea??? <styx> roman__: check /mnt/.init.d/started/gpm <roman__> styx: ohhh, thank for answer... but what some note in some docs about it????!!!!
ALright, I am writing the guide, and I will put it on the main site. //ZhEN
We got docs: http://www.gentoo.org/doc/en/rc-scripts.xml Yes, they do not go into depth about /mnt/.init.d/, but that is for a reason ... I may change in future to accomodate enhancements, or speedups. Main thing is, you should have all the tools in the initscript already to manage them. For this particular problem: # /etc/init.d/gpm Gentoo Linux RC-Scripts; http://www.gentoo.org/ Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL Usage: gpm [ options ] ..... zap Reset a service that is currently stopped, but still marked as started, to the stopped state. Basically for killing zombie services. ..... So for this, just do: # /etc/init.d/gpm zap start Marking as closed.