The rc manager tries to read the /proc/cmdline file while booting a vserver. This results in the following boot error message: failed to open `/proc/cmdline': No such file or directory Reproducible: Always Steps to Reproduce: 1. Install a vserver with the latest baselayout and the init-style set to gentoo 2. start the vserver Actual Results: Gentoo/Linux; http://www.gentoo.org/ Copyright 1999-2007 Gentoo Foundation; Distributed under the GPLv2 Press I to enter interactive boot mode * /proc is already mounted, skipping * Using existing device nodes in /dev ... [ ok ] * failed to open `/proc/cmdline': No such file or directory * Checking all filesystems ... [ ok ] [...] Expected Results: No error messages, during startup ;) Either unhide the /proc/cmdline within a vserver (however a vserver shouldn't be interested within the kernel's boot command line) or apply the attached patch for rc.c
Created attachment 128750 [details, diff] baselayout-2.0.0_rc3 vserver /proc/cmdline patch
Created attachment 128752 [details, diff] Only read /proc/cmdline if it exists Try this one - if /proc/cmdline exists then we read it, otherwise we don't
I've comitted my patch anyway, as I'm pretty sure it works. Thanks