chiark / gitweb /
static-nodes: move creation of static nodes from udevd to tmpfiles
authorTom Gundersen <teg@jklm.no>
Fri, 14 Jun 2013 20:56:39 +0000 (22:56 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 8 Jul 2013 19:26:24 +0000 (21:26 +0200)
commitedeb68c53f1cdc452016b4c8512586a70b1262e3
tree66e5e1f5048756b501d5642dc1eb57c8745bd1a8
parentfec79699da51a0815ff01e14abcc94b1f6d3926a
static-nodes: move creation of static nodes from udevd to tmpfiles

As of kmod v14, it is possible to export the static node information from
/lib/modules/`uname -r`/modules.devname in tmpfiles.d(5) format.

Use this functionality to let systemd-tmpfilesd create the static device nodes
at boot, and drop the functionality from systemd-udevd.

As an effect of this we can move from systemd-udevd to systemd-tmpfiles-setup-dev:

 * the conditional CAP_MKNOD (replaced by checking if /sys is mounted rw)
 * ordering before local-fs-pre.target (see 89d09e1b5c65a2d97840f682e0932c8bb499f166)
Makefile.am
TODO
configure.ac
src/udev/udevd.c
units/.gitignore
units/kmod-static-nodes.service.in [new file with mode: 0644]
units/systemd-tmpfiles-setup-dev.service.in
units/systemd-udevd.service.in