The mount_cgroups function in /etc/init.d/sysfs from >=sys-apps/openrc-0.9.8.1 uses just "mount" rather than "mount -n", so it fails on new installs and other places where /etc/mtab doesn't exist yet. Reproducible: Always Steps to Reproduce: 1. emerge ">=sys-apps/openrc-0.9.8.1" 2. rm /etc/mtab 3. reboot Actual Results: * Mounting /sys ... * Mounting debug filesystem ... * Mounting cgroup filesystem can't create lock file /etc/mtab~932: Read-only file system (use -n flag to override) can't create lock file /etc/mtab~934: Read-only file system (use -n flag to override) can't create lock file /etc/mtab~936: Read-only file system (use -n flag to override) can't create lock file /etc/mtab~938: Read-only file system (use -n flag to override) * ERROR: sysfs failed to start * Mounting /dev ... * ERROR: cannot start udev as sysfs would not start ... quite a few things go nutso after this due to failed udev
Created attachment 300007 [details, diff] patch to fix cgroups mount Should apply against sys-apps/openrc-0.9.8.{1,2}
An updated version of your patch was applied in commit 58e0403. Thanks for the report.
*** Bug 401515 has been marked as a duplicate of this bug. ***