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

Bug 3255

Summary: The /mnt/.init.d directory should be mentioned
Product: [OLD] Docs-user Reporter: Joachim Blaabjerg (RETIRED) <styx>
Component: Gentoo Linux rc-script GuideAssignee: John Davis (zhen) (RETIRED) <zhen>
Status: RESOLVED INVALID    
Severity: normal CC: azarah
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Joachim Blaabjerg (RETIRED) gentoo-dev 2002-05-31 03:55:44 UTC
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????!!!!
Comment 1 John Davis (zhen) (RETIRED) gentoo-dev 2002-10-11 01:20:55 UTC
ALright, I am writing the guide, and I will put it on the main site.

//ZhEN
Comment 2 Martin Schlemmer (RETIRED) gentoo-dev 2002-12-02 06:07:01 UTC
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.