kmod, udev and dead devices nodes

Michael Biebl biebl at debian.org
Sun Apr 27 14:21:21 BST 2014


Hi,

creation of dead device nodes moved out of udev and is now supposed to
be implemented by kmod and tmpfiles.

Under systemd we have /lib/systemd/system/kmod-static-nodes.service
which runs

ExecStartPre=/bin/mkdir -p /run/tmpfiles.d
ExecStart=/bin/kmod static-nodes --format=tmpfiles
--output=/run/tmpfiles.d/kmod.conf

This generates a runtime tmpfile /run/tmpfiles.d/kmod.conf.

Marco wants to keep kmod optional (to not have to install kmod inside
containers), so instead of adding a dependency on kmod, for the .service
file we are going to add a ConditionPathExists=/bin/kmod.


Equivalent functionality needs to be implemented in the udev sysv init
script which Marco volunteered to do.


Michael

-- 
-- 
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: 884 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-systemd-maintainers/attachments/20140427/87f5a7d3/attachment-0001.sig>


More information about the Pkg-systemd-maintainers mailing list