Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18192 - boot failes, devfsd is not started
Summary: boot failes, devfsd is not started
Status: RESOLVED DUPLICATE of bug 18127
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-25 21:03 UTC by Tyler Nielsen
Modified: 2005-07-17 13:06 UTC (History)
2 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 Tyler Nielsen 2003-03-25 21:03:05 UTC
When I try to boot my system.  I get an error stating that /dev/hda9 (my root 
partition) does not exist.  After playing around, I found that devfsd is not 
started after starting that, /dev/hda9 fsck's ok.  The only other error message 
I get is a bit sooner, stating:

rm: cannot remove '/dev/.devfsd' operation not permitted

Reproducible: Always
Steps to Reproduce:
1.  Turn on my computer




I can't really post emerge info, my system is mostly down.  I can copy it by 
hand if needed....

Other things that may be important:
I'm using "~x86".
I just did an update before I rebooted.
I can't think of anything I could have done to cause this (I didn't edit any 
init.d files for example)
Comment 1 Adam Hixson 2003-03-25 22:39:34 UTC
I am experiencing a similar problem.  I downgraded app-sys/baselayout from 1.8.6.4-rc1 to 1.8.5.8 and the bulk of my problems are resolved.  I strongly suspect the new baselayout is to blame.
Comment 2 Tyler Nielsen 2003-03-25 23:39:09 UTC
Ok.  I got around to booting my system up with a live cd.  I downgraded baselayout, and now my system boots again.  Looks like this package is the problem.  This probably needs to be masked.
Comment 3 Dewet Diener 2003-03-26 10:21:42 UTC
Confirmed here as well.  The problem happens in /sbin/rc, where it checks whether devfsd is 
mounted.  The following is a diff between the old revision (rc-scripts-1.4.2.8/sbin/rc from 
baselayout-1.8.5.8) and the new one (rc-scripts-1.4.3.4/sbin/rc from baselayout-1.8.6.4-r1): 
 
-       mymounts="$(awk '$3 ~ "devfs" { print $0 }' /proc/mounts)" 
-       if [ -e /dev/.devfsd -a -z "${mymounts}" ] 
+       mymounts="`awk '($3 == "devfs") { print "yes"; exit 0 }' /proc/mounts`" 
+       if [ -e "/dev/.devfsd" -a "${mymounts}" != "yes" ] 
 
It seems as if the new awk line isn't working quite right.  I short-circuited it with a 
"mymounts='yes'" directly after the awk line, and everything works.  Note that this line also 
happens twice:  once before removing /dev/.devfsd (line 96), and again before starting devfsd 
(line 130).  Accordingly, devfsd didn't start here, and I had the same fsck error. 
 
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-03-26 12:48:42 UTC
Down grade to gawk-3.1.1-r2.


*** This bug has been marked as a duplicate of 18127 ***