summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--udev/udevd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/udevd.c b/udev/udevd.c
index f810b9431c..c1a4fcfa7c 100644
--- a/udev/udevd.c
+++ b/udev/udevd.c
@@ -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);