Public bug reported:

Ubuntu Version:
Description: Ubuntu 18.04.3 LTS
Release: 18.04

Systemd version:
Installed: 273-ubuntu10.29
Candidate: 273-ubuntu10.31

Expected Behavior:
Systemd will only remount the cgroups if they need to be relabeled.

Actual Behavior:
Systemd will try to re-mount the cgroups for relabeling which will fail and 
break systemd services that use cgroups.

Upstream fix:
https://github.com/systemd/systemd/pull/8595

Additional Notes:
I was able to work around this issue by applying the patch linked and changing 
the line:
https://github.com/systemd/systemd/pull/8595/files#diff-9e1684efe63d10844b8dd6708fc60e8dR408
To use the 237 version of fix label. E.G. (void) label_fix("/sys/fs/cgroup", 
true, true);
While building the package from source.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1848777

Title:
  Systemd is missing a patch to allow it to be used with SELinux

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1848777/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to