chiark / gitweb /
units: conditionalize static device node logic on CAP_SYS_MODULES instead of CAP_MKNOD
[elogind.git] / units / kmod-static-nodes.service.in
index 368f980..0934a87 100644 (file)
@@ -9,7 +9,7 @@
 Description=Create list of required static device nodes for the current kernel
 DefaultDependencies=no
 Before=sysinit.target systemd-tmpfiles-setup-dev.service
-ConditionCapability=CAP_MKNOD
+ConditionCapability=CAP_SYS_MODULE
 ConditionPathExists=/lib/modules/%v/modules.devname
 
 [Service]