diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-05-29 12:19:09 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-06-11 18:12:30 +0200 |
commit | 65be7e06528a221450602bbb3963a8ae0378925b (patch) | |
tree | ebf39f2c1be3e9708d039415f0649d26d8d10ac5 /sysctl.d | |
parent | meson: also reject shifts that change the sign bit (diff) | |
download | systemd-65be7e06528a221450602bbb3963a8ae0378925b.tar.xz systemd-65be7e06528a221450602bbb3963a8ae0378925b.zip |
pid1: do not reset subtree_control on already-existing units with delegation
Fixes #8364.
Reproducer:
$ sudo systemd-run -t -p Delegate=yes bash
# mkdir /sys/fs/cgroup/system.slice/run-u6958.service/supervisor
# echo $$ > /sys/fs/cgroup/system.slice/run-u6958.service/supervisor/cgroup.procs
# echo +memory > /sys/fs/cgroup/system.slice/run-u6958.service/cgroup.subtree_control
# cat /sys/fs/cgroup/system.slice/run-u6958.service/cgroup.subtree_control
memory
# systemctl daemon-reload
# cat /sys/fs/cgroup/system.slice/run-u6958.service/cgroup.subtree_control
(empty)
With patch, the last command shows 'memory'.
Diffstat (limited to 'sysctl.d')
0 files changed, 0 insertions, 0 deletions