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

Bug 197091

Summary: rc sysinit is hardcoded to mount /proc and /sys
Product: Gentoo Linux Reporter: Jacob Welsh <jwelsh>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: enhancement    
Priority: High    
Version: 2006.1   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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