Comment 8 for bug 1656280

Revision history for this message
Dimitri John Ledkov (xnox) wrote : Re: [Bug 1656280] Re: Support installing subordinate systemd on Ubuntu Desktop 14.04.5

On 26 January 2017 at 05:19, Steve Langasek
<email address hidden> wrote:
>
> The changelog says:
>
> * debian/patches/deputy_cgroup.patch: Make deputy systemd use
> alternative dsystemd cgroups path and nonpid1 systemd should setup
> these mountpoints.
>
> Does this refer to mounting of /sys/fs/cgroup/dsystemd or of
> /sys/fs/cgroup/systemd? Are changes needed to some other package to
> support this?
>

Note, there is a new build flavour added.

bin:systemd-services use "systemd" cgroup (/sys/fs/cgroup/systemd
mount) is "owned" and mounted by cgmanager (if installed/needed)

bin:systemd (deputy systemd build) uses "dsystemd" cgroup
(/sys/fs/cgroup/dsystemd) is "owned" and mounted by deputy systemd

There should not be any changes to packages required to support this, as
(a) everything "normal" should be using the cgmanager's standard cgroup
(b) deputy systemd cgroup should be manipulated via deputy systemd
only (e.g. with systemctl, like snapd) and that uses the dsystemd
cgroup.

--
Regards,

Dimitri.