chiark / gitweb /
udevd: always create runtime dir
[elogind.git] / udev / udevd.c
index f810b9431c6410bcdcd0ecf4bf774abd6300608f..c1a4fcfa7c7c0b7b505d3c18895961a44466cd85 100644 (file)
@@ -1318,6 +1318,9 @@ int main(int argc, char *argv[])
        chdir("/");
        umask(022);
 
+       /* /run/udev */
+       mkdir(udev_get_run_path(udev), 0755);
+
        /* create standard links, copy static nodes, create nodes from modules */
        static_dev_create(udev);
        static_dev_create_from_modules(udev);