chiark / gitweb /
udev: udevd - rules can be NULL when reloading
[elogind.git] / src / udev / net / link-config.c
index b26825427625e46b9397c2e3e8896edf29fc2fb8..883aedc73ca456f24286a2465609053b4b628fb9 100644 (file)
@@ -74,6 +74,9 @@ int link_config_ctx_new(link_config_ctx **ret) {
         ctx->link_dirs = strv_new("/etc/systemd/network",
                                   "/run/systemd/network",
                                   "/usr/lib/systemd/network",
+#ifdef HAVE_SPLIT_USR
+                                  "/lib/systemd/network",
+#endif
                                   NULL);
         if (!ctx->link_dirs) {
                 log_error("failed to build link config directory array");
@@ -172,7 +175,7 @@ static int load_link(link_config_ctx *ctx, const char *filename) {
                 log_warning("Colud not parse config file %s: %s", filename, strerror(-r));
                 goto failure;
         } else
-                log_info("Parsed configuration file %s", filename);
+                log_debug("Parsed configuration file %s", filename);
 
         link->filename = strdup(filename);