[Pkg-systemd-maintainers] Bug#732584: Want documentation for cgroup persistence implications

Ian Jackson ijackson at chiark.greenend.org.uk
Thu Dec 19 01:40:08 GMT 2013


Package: systemd
Version: 204-5
Severity: minor

systemd.exec(5) says this:

       ControlGroupPersistent=
           Takes a boolean argument. If true, the control groups created for
           this unit will be marked to be persistent, i.e. systemd will not
           remove them when stopping the unit. The default is false, meaning
           that the control groups will be removed when the unit is stopped.
           For details about the semantics of this logic see
           PaxControlGroups[3].

The reference is to
       http://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups

Reading that didn't enlighten me very much, but reading between the
lines I conjecture that with ControlGroupPersistent=0 stopping the
service will result in all descendants of the main service daemon to
be killed.  (Well, all descendants who haven't done something with
cgroups to prevent this.)

Whether my guess is right or wrong, IMO this should be documented much
more clearly, and in the systemd documentation rather than by
reference to a different document with a different focus.

Thanks,
Ian.




More information about the Pkg-systemd-maintainers mailing list