summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorKay Sievers <kay.sievers@vrfy.org>2011-04-13 15:01:00 +0200
committerKay Sievers <kay.sievers@vrfy.org>2011-04-13 15:01:00 +0200
commit2903820a62de1085f6b5def0fb622070805dd90b (patch)
tree72365bae6d141babfc6f611638b350c203888c04 /udev
parente48e2912023b5600d291904b0f7b0017387e8cb2 (diff)
udevd: log warning if /run is not writable
Diffstat (limited to 'udev')
-rw-r--r--udev/udevd.c2
1 files changed, 2 insertions, 0 deletions
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 */