From 2903820a62de1085f6b5def0fb622070805dd90b Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 13 Apr 2011 15:01:00 +0200 Subject: [PATCH] udevd: log warning if /run is not writable --- udev/udevd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/udev/udevd.c b/udev/udevd.c index 8610c6c..051e8fe 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -1153,6 +1153,8 @@ int main(int argc, char *argv[]) if (udev_set_run_path(udev, filename) == NULL) goto exit; mkdir(udev_get_run_path(udev), 0755); + err(udev, "error: runtime directory '%s' not writable, for now falling back to '%s'", + udev_get_run_config_path(udev), udev_get_run_path(udev)); } } /* relabel runtime dir only if it resides below /dev */ -- 2.7.4