]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: downgrade log level for non-existent symlink target 40875/head
authorMike Yuan <me@yhndnzj.com>
Fri, 27 Feb 2026 16:08:27 +0000 (17:08 +0100)
committerMike Yuan <me@yhndnzj.com>
Fri, 27 Feb 2026 16:11:41 +0000 (17:11 +0100)
I'm seeing a *lot* of noise induced by missing varlink sockets
under /run/host/ after 336369393588fcdf20e37d4c766e119db0b2f781.

src/tmpfiles/tmpfiles.c

index fcff090af3011bef0859b0d4f7d685724b0a7cb3..da75ffb8181278d26dfd2022f99a458bb1c8e773 100644 (file)
@@ -2384,8 +2384,8 @@ static int create_symlink(Context *c, Item *i) {
                 r = chase(i->argument, arg_root, CHASE_SAFE|CHASE_PREFIX_ROOT|CHASE_NOFOLLOW, /* ret_path= */ NULL, /* ret_fd= */ NULL);
                 if (r == -ENOENT) {
                         /* Silently skip over lines where the source file is missing. */
-                        log_info("Symlink source path '%s/%s' does not exist, skipping line.",
-                                 strempty(arg_root), skip_leading_slash(i->argument));
+                        log_debug_errno(r, "Symlink source path '%s/%s' does not exist, skipping line.",
+                                        strempty(arg_root), skip_leading_slash(i->argument));
                         return 0;
                 }
                 if (r < 0)