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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/static-nodes.c b/tools/static-nodes.c index 0195390..4bdacc8 100644 --- a/tools/static-nodes.c +++ b/tools/static-nodes.c @@ -95,7 +95,7 @@ static int write_tmpfiles(FILE *out, char modname[], char devname[], char type, return EXIT_FAILURE; } - ret = fprintf(out, "%c /dev/%s 0600 - - - %u:%u\n", + ret = fprintf(out, "%c! /dev/%s 0600 - - - %u:%u\n", type, devname, maj, min); if (ret < 0) return EXIT_FAILURE; -- 2.1.0 -- To unsubscribe from this list: send the line "unsubscribe linux-modules" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html