Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1292 - current baselayout bugs
Summary: current baselayout bugs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-21 23:14 UTC by Daniel Robbins (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Daniel Robbins (RETIRED) gentoo-dev 2002-03-21 23:14:39 UTC
Hi Azarah, 

I now have a gentoo-1.0 system up and running :)  Here are some bugs I found in
baselayout/rc-scripts:

When I first booted the system, remounting / as read-write failed.  Quite
certain this is because in /etc/init.d/checkroot you used "mount / -o
remount,rw" without the important "-n" option.  Thus, mount couldn't write to
/etc/mtab, returning a non-zero return value and causing the initscripts to
fail.  You should use "-n" for *all* mounts that happen before /etc/mtab is
writeable.  It's the safe thing to do.  Generally, then you *replay* all the
mounts that happened before root was rw with the -f option so that they get 
recorded ot /etc/mtab.  You could also try a hack of copying /proc/mounts to
/etc/mtab right after / is writeable.  Note: I didn't have this problem after
I dropped to maintenance mode, mounted as rw with the -n option, resumed
startup, and rebooted.  So it may be specific to the "reboot after the inital
install."

Next bug: after a shutdown -h now, everything shuts down properly but after it
says "System halted." (on the next line), I see "cat: mounts: No such file or 
directory".  I'm guessing you have a umount loop using /proc/mounts.  Be sure 
to break out of the loop if /proc/mounts no longer exists.

Other than that, things are working :)
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-03-23 16:00:53 UTC
These fixes should be in rc-scripts-1.3.1; closing this bug.