Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683370 - openrc: --nodeps does not create cgroups
Summary: openrc: --nodeps does not create cgroups
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: OpenRC (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: OpenRC Team
Depends on:
Reported: 2019-04-15 09:01 UTC by Ortwin Glueck
Modified: 2019-04-15 09:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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