From 2903820a62de1085f6b5def0fb622070805dd90b Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Wed, 13 Apr 2011 15:01:00 +0200 Subject: udevd: log warning if /run is not writable --- udev/udevd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'udev') diff --git a/udev/udevd.c b/udev/udevd.c index 8610c6c062..051e8fe527 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 */ -- cgit v1.2.3-54-g00ecf