From: Kay Sievers Date: Tue, 27 Dec 2011 05:14:59 +0000 (+0100) Subject: udevd: always create runtime dir X-Git-Tag: 176~28 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86a0d004c397d985505c5204fe1fbecb340f6076;p=systemd udevd: always create runtime dir kay: udev no longer makes /run/udev on its own? falconindy: added back! --- 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);