Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126567 - No need for the /fastboot file in diskless boot
Summary: No need for the /fastboot file in diskless boot
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs on www.gentoo.org
Classification: Unclassified
Component: Other documents (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/diskless...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 10:47 UTC by Rabbe Fogelholm
Modified: 2006-11-17 15:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
diskless-howto.xml.patch (diskless-howto.xml.patch,2.94 KB, patch)
2006-11-17 12:37 UTC, nm (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2006-03-17 10:47:04 UTC
In the February 13, 2006 version of "Diskless Nodes with Gentoo", at the beginning of the section "Initialisation scripts", it is explained that a file named fastboot should be created in the root file system of the diskless node. This file affects the execution of the checkroot script.

This file is no longer needed. The checkroot script uses a bash function named "is_net_fs" (it is defined in /etc/init.d/functions.sh) to detect that "/" is a network file system and therefore skips checking it. This is good news since the scheme described in "Diskless Nodes with Gentoo" is not entirely robust: if the diskless node dies before the "local" script is run the file will not be re-created.

Testing was done on a manually installed Gentoo 2006.0 system, set up for diskless boot. It was confirmed that diskless boot works smoothly without the /fastboot file.

The suggestion is to drop Code Listing 6.2 and the text that precedes it.
Comment 1 nm (RETIRED) gentoo-dev 2006-09-17 05:23:35 UTC
(In reply to comment #0)
> In the February 13, 2006 version of "Diskless Nodes with Gentoo", at the
> beginning of the section "Initialisation scripts", it is explained that a file
> named fastboot should be created in the root file system of the diskless node.
> This file affects the execution of the checkroot script.
> 
> This file is no longer needed. The checkroot script uses a bash function named
> "is_net_fs" (it is defined in /etc/init.d/functions.sh) to detect that "/" is a
> network file system and therefore skips checking it. This is good news since
> the scheme described in "Diskless Nodes with Gentoo" is not entirely robust: if
> the diskless node dies before the "local" script is run the file will not be
> re-created.
> 
> Testing was done on a manually installed Gentoo 2006.0 system, set up for
> diskless boot. It was confirmed that diskless boot works smoothly without the
> /fastboot file.
> 
> The suggestion is to drop Code Listing 6.2 and the text that precedes it.
> 

It's been awhile since this bug was opened; we've had another release and stuff. Can anyone with a diskless system test this to confirm? It sounds good and all, but needs testing.
Comment 2 Jan 2006-11-17 11:52:24 UTC
I can confirm this for the current stable baselayout-1.12.6, I just verified correct behaviour on my diskless client. /fastboot is no longer needed and I removed its creation from /etc/conf.d/local.start. Thanks for the bug report, that is one less workaround for my diskless machines.
Comment 3 nm (RETIRED) gentoo-dev 2006-11-17 12:37:47 UTC
Created attachment 102219 [details, diff]
diskless-howto.xml.patch

So, this patch should work?
Comment 4 nm (RETIRED) gentoo-dev 2006-11-17 15:11:01 UTC
Baselayout stuff confirmed, thanks to UberLord on IRC. Also thanks to the original reporter and to Jan.

Fixed in CVS.