tmpfiles: downgrade log level for non-existent symlink target
I'm seeing a *lot* of noise induced by missing varlink sockets
under /run/host/ after 3363693935.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user