Bug#800521: systemd: sys-kernel-config.mount not functional

Michael Biebl biebl at debian.org
Wed Sep 30 13:58:56 BST 2015


Am 30.09.2015 um 13:19 schrieb Ferenc Wágner:
> 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.

Why are your using a .service file to load the dlm module?
Why does the dlm.service require the sys-kernel-config fs?

Can't you just ship a snippet in /usr/lib/modules-load.d/ and then also
include configfs in there?


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20150930/8d3129f2/attachment-0002.sig>


More information about the Pkg-systemd-maintainers mailing list