Bug#800521: systemd: sys-kernel-config.mount not functional
Ferenc Wágner
wferi at niif.hu
Wed Sep 30 12:19:18 BST 2015
Package: systemd
Version: 215-17+deb8u2
Severity: normal
Hi,
On stock jessie systems sys-kernel-config.mount is not functional,
because /sys/kernel/config does not exist before the configfs module
is loaded, thus ConditionPathExists fails on system boot. RedHat
solved this by building configfs into the kernel, see
https://bugzilla.redhat.com/show_bug.cgi?id=767432.
A possible workaround:
# echo configfs >/etc/modules-load.d/configfs
The issue was exhibited by the DLM service, which has
[Unit]
Requires=sys-kernel-config.mount
After=sys-kernel-config.mount
[Service]
ExecStartPre=/sbin/modprobe dlm
and the dlm module depends on the configfs module, but pulls it in too
late. What's more, sys-kernel-config.mount does not fail, just becomes
a no-op when pulled in by dlm.service, confusing things further.
I'd be interested to learn how you intend to fix this, because it
affects the DLM packaging work.
--
Thanks,
Feri.
More information about the Pkg-systemd-maintainers
mailing list