Bug#803013: systemd should not destroy application created cgroups

Paul Szabo paul.szabo at sydney.edu.au
Thu Sep 12 00:29:02 BST 2019


found 803013 241-7~deb10u1
thanks


Now updating my machines to buster, I see this issue is still present,
now in systemd version 241-7~deb10u1. 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.

(Funny how this bug is not getting fixed, in four 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

I support NTEU members taking a stand for workplace rights in the face of
poorly-run change management. Visit www.nteu.org.au/sydney to learn more.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: psz-241.patch
Type: text/x-patch
Size: 5582 bytes
Desc: psz-241.patch
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20190911/d466e847/attachment-0001.bin>


More information about the Pkg-systemd-maintainers mailing list