Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107263 - consolefont and keymaps should run after netmount in diskless boot
Summary: consolefont and keymaps should run after netmount in diskless boot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: nm (RETIRED)
URL: http://www.gentoo.org/doc/en/diskless...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-26 03:21 UTC by Rabbe Fogelholm
Modified: 2006-10-22 23:30 UTC (History)
4 users (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 Rabbe Fogelholm 2005-09-26 03:21:57 UTC
"Diskless Nodes with Gentoo", September 16, 2005 version:

The consolefont and keymaps scripts will complain in diskless boot if /usr is
not mounted. Two fixes seem possible here,

a) add a dependency "after netmount" to the consolefont and keymaps initscripts,

  or 

b) move these scripts to the default runlevel.

One of these fixes should be chosen for the diskless guide and documented there,
under the "initialisation scripts" header.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-10-22 09:55:33 UTC
Solution b is the best one for end users as once they've got a stage3 installed with re-defined runlevels, we don't touch them when updating baselayout.

This should be documented.
Comment 2 nm (RETIRED) gentoo-dev 2006-10-22 16:23:30 UTC
Fixed in CVS, thanks for reporting and for the confirmation.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-10-22 16:26:59 UTC
Could I offer a third option that might be better.
c) The data loaded from /usr (just the specific font or keymap), should be copied into /etc. Just like the localtime file.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2006-10-22 23:30:40 UTC
(In reply to comment #3)
> Could I offer a third option that might be better.
> c) The data loaded from /usr (just the specific font or keymap), should be
> copied into /etc. Just like the localtime file.

That would assume that there never would be a critical update to those files by portage. But yeah, that works too.

Another option is to depend on the specific interface in conf.d/keymaps or conf.d/consolefont like so
RC_NEED="net.eth0"