Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197091 - rc sysinit is hardcoded to mount /proc and /sys
Summary: rc sysinit is hardcoded to mount /proc and /sys
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo's Team for Core System packages
Depends on:
Reported: 2007-10-25 22:39 UTC by Jacob Welsh
Modified: 2007-10-26 03:41 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Welsh 2007-10-25 22:39:49 UTC
I've come across this "problem" while trying to run a Gentoo system image as a Xen VM on a Debian host (using a prebuilt xen kernel from debian). It appears that the debian initrd mounts /proc and /sys, but /sbin/rc wants to mount those itself in the sysinit stage (and dies if it can't, for whatever reason). It should check to see if they're already mounted before doing this.

Reproducible: Always

Steps to Reproduce:
1. Copy a Gentoo system to a Debian Xen host
2. Set it up to use the debian xen kernel/initrd
3. Try to boot it

Actual Results:  
Init fails and prompts for root password for maintainance.

Expected Results:  
rc should see that /proc and /sys are already mounted, and go on about its business.
Comment 1 SpanKY gentoo-dev 2007-10-26 03:41:40 UTC
you didnt post `emerge --info` like the bug report page said to, so i'm going to assume you're using baselayout-1 since this should already be fixed in baselayout-2