Bug#803013: systemd should not destroy application created cgroups
Paul Szabo
paul.szabo at sydney.edu.au
Fri Jul 21 04:07:15 BST 2017
Now updating my machines to stretch, I see this issue is still present,
now in systemd version 232-25. The same steps can reproduce:
- Set up cgroups e.g. adding TaskIDs to /sys/fs/cgroup/cpu/DIR/tasks
files. (I use cgrulesengd from package cgroup-tools, but any other
use of cgroups is equally affected.)
- Then when you use systemd commands:
systemctl daemon-reload
systemctl start anacron
you will see your cgroups (your tasks files) becoming empty.
Command daemon-reload seems to happen within "apt-get dist-upgrade"
sequences, and "start anacron" happens nightly. (Some other systemd
commands may also affect.)
and the "same" fix applies: new patch file below, for changed sources.
Please update the list of versions affected by the bug. Maybe you could
set the severity back to critical: it does break unrelated software in
a default setup.
(Distressing how this bug did not get fixed in two years...)
Thanks, Paul
--
Paul Szabo psz at maths.usyd.edu.au http://www.maths.usyd.edu.au/u/psz/
School of Mathematics and Statistics University of Sydney Australia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: psz.patch
Type: text/x-patch
Size: 1513 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20170721/7a438bfc/attachment.bin>
More information about the Pkg-systemd-maintainers
mailing list