static-nodes: indicate that creation of static nodes should only happen at boot
authorTom Gundersen <teg@jklm.no>
Mon, 27 Oct 2014 16:55:03 +0000 (17:55 +0100)
committerLucas De Marchi <lucas.demarchi@intel.com>
Tue, 28 Oct 2014 18:49:46 +0000 (16:49 -0200)
commit27eceb2e4ecbf2e31940b67cee682a6935f61e6c
treecaeac32d26892531ef997e595dac2d70b8918e79
parente62d8c725b73cc03efc01df59bf5cc5a5fa31b5d
static-nodes: indicate that creation of static nodes should only happen at boot

udev will only manage static nodes that exist at the time udev is started, so
creating static nodes later on will likely not behave as expected. In
particular, recreating the static nodes at run-time will reset any permissions
udev may have applied to the nodes at boot.

See <https://bugzilla.redhat.com/show_bug.cgi?id=1147248> and the discussion
following <http://permalink.gmane.org/gmane.comp.sysutils.systemd.devel/23795>.

Note that this requires (the yet to be released) systemd v217 or a backport
of systemd patch 8c94052ee543c3598a3c7b0c46688150aa2c6168.
tools/static-nodes.c