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

Bug 53204

Summary: sysfs mounted without "-n"
Product: Gentoo Linux Reporter: Sven <sven.koehler>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: gk
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Sven 2004-06-07 02:35:11 UTC
hi,

in /sbin/rc, line 158, it says
  mount -t sysfs none /sys
but i think it should say
  mount -n -t sysfs none /sys
instead. "-n" is also used for devfs etc...
In addition, i get an error-message on every first boot of a fresh gentoo-system, since mount cannot lock /etc/mtab on a read-only root-fs.



i'm using  sys-apps/baselayout-1.9.4-r2

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 george 2004-06-15 13:19:10 UTC
I'll second this.

Worse than just getting an error though, with a pure udev system, because /sys isn't mounted, the devs for my disk aren't created and I can't boot.

I just added the "-n" and I'm booting OK now.
Comment 2 Sven 2004-06-16 14:29:25 UTC
I don't know why this BUG is upen for so long now. Just add the "-n" to the mount command - "-n" is a harmless option - or can it harm anything? i don't think so.
Comment 3 SpanKY gentoo-dev 2004-12-12 14:02:08 UTC
was fixed a while ago in baselayout-1.11.2