Systemd is missing a patch to allow it to be used with SELinux
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
New
|
Undecided
|
Unassigned |
Bug Description
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:/
Additional Notes:
I was able to work around this issue by applying the patch linked and changing the line:
https:/
To use the 237 version of fix label. E.G. (void) label_fix(
While building the package from source.
The fix is present in v240 and later.