Description of problem:
Systemd fails to mount most cgroups (/sys/fs/cgroup/devices, /sys/fs/cgroup/memory, ...) after upgrade from F27 to F28. This seems to be the case only when the systemd dracut module is not present, which happens for example if the crypt-gpg dracut module is used.
Most likely this is caused by the following bug:
Should be fixed by:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a file /etc/dracut.conf.d/10-no-systemd.conf with the content 'omit_dracutmodules+=" systemd "'.
2. Rebuild initramfs with dracut -f.
3. Reboot and check /proc/mounts.
# cat /proc/mounts | grep cgroup
tmpfs /sys/fs/cgroup tmpfs ro,seclabel,nosuid,nodev,noexec,mode=755 0 0
cgroup2 /sys/fs/cgroup/unified cgroup2 rw,seclabel,nosuid,nodev,noexec,relatime,nsdelegate 0 0
cgroup /sys/fs/cgroup/systemd cgroup rw,seclabel,nosuid,nodev,noexec,relatime,xattr,name=systemd 0 0
Cgroups for devices, memory, etc. should be present in /sys/fs/cgroup/devices, /sys/fs/cgroup/memory, etc.
This bug prevents docker from working. The bug is not present in F27.
Could be related to https://bugzilla.redhat.com/show_bug.cgi?id=1574649.
Yeah, looks we need to apply that patch.
Great, thanks for the quick response.
I'd be happy to test if you can provide a patched build.
Please test the update.
systemd-238-8.git0e0aa59.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f455e48805
systemd-238-8.git0e0aa59.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f455e48805
Works like a charm, thanks!
systemd-238-8.git0e0aa59.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.