Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 78954 - diskless-howto netmount init script little fix
Summary: diskless-howto netmount init script little fix
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/diskless...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-21 08:17 UTC by Christian Andreetta (RETIRED)
Modified: 2005-02-20 05:01 UTC (History)
1 user (show)

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 Christian Andreetta (RETIRED) gentoo-dev 2005-01-21 08:17:39 UTC
In case a diskless root system mounts /usr (or another critical dir) via nfs, netmount must be shut off as later as possible. So, in the diskless-howto, the line
'You need as many init scripts under /diskless/192.168.1.21/etc/runlevel as you need services on your diskless nodes. It all depends on what you want your slaves to do.'

Should be prepended by something like:

'Also, since the unmounting of network filesystem should be one of the latest phases, (as well as one of the earliest for the mounting), you have to edit your /etc/init.d/netmount and change the line
"depend() {"
into
"depend() {
   before *
"
If you do this on a live system, don't forget to run '/sbin/depscan.sh' to fix the service dependencies. You can safely ignore any warning about the collision with /etc/init.d/checkroot, since you are disabling it via the fastboot file you set up in the previous paragraph.
'
Comment 1 Sven Vermeulen (RETIRED) gentoo-dev 2005-02-14 08:31:48 UTC
SpankY, is this correct? 
Comment 2 SpanKY gentoo-dev 2005-02-14 09:00:43 UTC
probably for baselayout 1.9.x (our current stable), but i'm pretty sure baselayout 1.11.x (our current unstable aiming for stable) does not need this at all ...
Comment 3 Sven Vermeulen (RETIRED) gentoo-dev 2005-02-20 05:01:08 UTC
Thanks, fixed in CVS.