Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400903 - sys-apps/openrc-0.9.8.2 sysfs fails with 2.6.32 kernel for missing /sys/fs/cgroup
Summary: sys-apps/openrc-0.9.8.2 sysfs fails with 2.6.32 kernel for missing /sys/fs/cg...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 399185 401555 401593
  Show dependency tree
 
Reported: 2012-01-26 12:29 UTC by Andrej Filipcic
Modified: 2012-01-30 22:49 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 Andrej Filipcic 2012-01-26 12:29:26 UTC
/etc/init.d/sysfs does not check if /sys/fs/cgroup is mounted, and fails to start properly with older kernels. The workaround is to create

$ cat /etc/conf.d/sysfs 
rc_cgroups="NO"

but it would be better if the init script would check for the mountpoint. 
The mount_misc() does check it, but mount_cgroups() does not.
Comment 1 William Hubbs gentoo-dev 2012-01-26 17:20:24 UTC
This is fixed in git, commit de5cee2.

Thanks for the report.