Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 21068 - /sbin/rc can't mount /proc if /etc/fstab contains lines beginning with "/proc"
Summary: /sbin/rc can't mount /proc if /etc/fstab contains lines beginning with "/proc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Martin Schlemmer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-15 11:30 UTC by Ian Abbott
Modified: 2003-05-21 11:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Requested /etc/fstab (fstab,1.69 KB, text/plain)
2003-05-16 12:04 UTC, Ian Abbott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Abbott 2003-05-15 11:30:34 UTC
If I put extra lines in /etc/fstab beginning with the string "/proc", the
/sbin/rc  script fails to mount /proc on booting the system.  (The reason for
these lines in /etc/fstab is for conveniently mounting /proc with the 'bind'
option for a chrooted system.)

Reproducible: Always
Steps to Reproduce:
1.Make a test directory '/mnt/proc'
2.Add '/proc /mnt/proc none defaults,noauto,bind 0 0' to /etc/fstab
3.Reboot




It can be fixed with a more explicit mount command in /sbin/rc:

  try mount -n -t proc none /proc

(The 'none' can be anything, really.  RedHat use 'mount -n -t proc /proc /proc'.)
Comment 1 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-16 10:07:58 UTC
Please attach the fstab that breaks things.
Comment 2 Ian Abbott 2003-05-16 12:04:23 UTC
Created attachment 12060 [details]
Requested /etc/fstab
Comment 3 Martin Schlemmer (RETIRED) gentoo-dev 2003-05-21 11:08:03 UTC
Ok, I read this, but did not *read* it at first.  Fixed on cvs, thanks.