Skip to content

Commit

Permalink
tmpfiles.d: ignore x/X command, no cleanup at runtime with Finit
Browse files Browse the repository at this point in the history
Silence log warnings for command x/X (ignore clean for path), because
Finit does not do tmpfiles cleaning at runtime.

x /tmp/podman-run-*
x /tmp/containers-user-*
x /tmp/run-*/libpod
D! /var/lib/containers/storage/tmp 0700 root root
D! /run/podman 0700 root root
D! /var/lib/cni/networks

Signed-off-by: Joachim Wiberg <[email protected]>
  • Loading branch information
troglobit committed Mar 13, 2024
1 parent bf4a584 commit b49f55a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/tmpfiles.c
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,10 @@ static void tmpfiles(char *line)
}
}
break;
case 'X':
case 'x':
dbg("Unsupported x/X command, ignoring %s, no support for clean at runtime.", path);
break;
case 'Z':
opts = "-R";
/* fallthrough */
Expand Down

0 comments on commit b49f55a

Please sign in to comment.