-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount cgroups #22
base: master
Are you sure you want to change the base?
Mount cgroups #22
Conversation
Signed-off-by: Mrunal Patel <[email protected]>
Signed-off-by: Mrunal Patel <[email protected]>
I have run into a race with this. What happens is that we mount cgroups with the correct options and labels but then libcontainer comes along everything under /sys gets relabeled to system_u:object_r:sysfs_t:s0. As a side effect of this, I see the cgroup mount but no directory contents. Not sure if we can fix this :( |
One option is to propose pre/post mount hooks in the spec. |
It changes the labels on the /sys/fs/cgroup content? |
@rhatdan Yes. Is this something we can control in the labeling? |
My point was, does the /sys/fs/cgroup label change? |
Yes, the label changes. |
Add missing BuildRequires
|
||
t = mnt_new_table(); | ||
if (!t) | ||
return -1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need error message
Fix order of mounts under /run
@rhatdan I got the basics working. Please take a look.
Still to do