From 86a0d004c397d985505c5204fe1fbecb340f6076 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Tue, 27 Dec 2011 06:14:59 +0100 Subject: [PATCH] udevd: always create runtime dir kay: udev no longer makes /run/udev on its own? falconindy: added back! --- udev/udevd.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/udev/udevd.c b/udev/udevd.c index f810b943..c1a4fcfa 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); -- 2.39.5