Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 18192

Summary: boot failes, devfsd is not started
Product: Gentoo Linux Reporter: Tyler Nielsen <tyler>
Component: [OLD] Core systemAssignee: Martin Schlemmer (RETIRED) <azarah>
Severity: critical CC: gentoobugzilla, pfeifer
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

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 to 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- from 
baselayout- and the new one (rc-scripts- from baselayout- 
-       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 ***