Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53204 - sysfs mounted without "-n"
Summary: sysfs mounted without "-n"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-07 02:35 UTC by Sven
Modified: 2004-12-12 14:02 UTC (History)
1 user (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 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