Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73762 - update to sys-apps/baselayout-1.11.7-r2 can render system with chroot in /etc/fstab unbootable
Summary: update to sys-apps/baselayout-1.11.7-r2 can render system with chroot in /etc...
Status: RESOLVED DUPLICATE of bug 73536
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All All
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-08 00:39 UTC by Jeremy Huddleston (RETIRED)
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-08 00:39:02 UTC
/sbin/rc was recently changed to mount /proc as follows:

        ebegin "Mounting proc at /proc"
        if is_in_fstab /proc ; then
                try mount -n /proc
        else
                try mount -n -t proc none /proc
        fi
        eend $?

The previous working version simply did:
        ebegin "Mounting proc at /proc"
        try mount -n -t proc none /proc
        eend $?

If the user's /etc/fstab contains lines like this:
none                    /proc           proc            defaults               0 0
...
/proc                  /mnt/gentoo32/proc              auto    bind           0 0

then 'mount /proc' will try to mount that second line, it will fail, and the system will fail to boot.
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-08 00:42:44 UTC
looks like this pertains to /sys as well...
Comment 2 SpanKY gentoo-dev 2004-12-08 10:42:16 UTC

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