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?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to