From: Kay Sievers Date: Wed, 13 Apr 2011 13:01:00 +0000 (+0200) Subject: udevd: log warning if /run is not writable X-Git-Tag: 174~196 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2903820a62de1085f6b5def0fb622070805dd90b;p=systemd udevd: log warning if /run is not writable --- diff --git a/udev/udevd.c b/udev/udevd.c index 8610c6c0..051e8fe5 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 */