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

Bug 683370

Summary: openrc: --nodeps does not create cgroups
Product: Gentoo Hosted Projects Reporter: Ortwin Glueck <odi>
Component: OpenRCAssignee: OpenRC Team <openrc>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://odi.ch/weblog/posting.php?posting=732
Whiteboard:
Package list:
Runtime testing required: ---

Description Ortwin Glueck 2019-04-15 09:01:27 UTC
If you pass --nodeps to start or restart the cgroup is not created. This is a problem especially for udev. UDev expects to run in its own cgroup and may kill random processes from its cgroup in the wake of a trigger event. So if the cgroup is the root one then typically sshd dies (not cool for physical remote machines where console access is difficult).

Reproducible: Always

Steps to Reproduce:
1. /etc/init.d/udev -D restart
2. ls -ld /sys/fs/cgroup/unified/udev
3. /etc/init.d/udev restart
4. ls -ld /sys/fs/cgroup/unified/udev
Actual Results:  
cgroup is not created

Expected Results:  
cgroup should be created also with --nodeps