Bug#803013: systemd should not destroy application created cgroups

paul.szabo at sydney.edu.au paul.szabo at sydney.edu.au
Thu Oct 29 10:46:17 GMT 2015


Dear Michael,

>>> Please test if this issue is still reproducible with 227 ...
>> Sorry ... not easily enough ...
> Or create a throw-away VM using sid. That's what I would use.

Could do; or do on a throw-away partition; either way it takes hours,
not minutes. I presume you have an "unstable" machine handy. Then you
can test in seconds (as root):

  # Set things up
  mkdir /sys/fs/cgroup/cpu/mytest
  echo $$ > /sys/fs/cgroup/cpu/mytest/tasks
  # Check it is there
  grep . /sys/fs/cgroup/cpu/mytest/tasks
  # Do the systemd thing
  systemctl daemon-reload
  systemctl start anacron
  # See it gone
  grep . /sys/fs/cgroup/cpu/mytest/tasks

Please let me know...

Cheers, 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




More information about the Pkg-systemd-maintainers mailing list