From 36f57e02d768d006c7b610e1f99cda87e115f6a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Sun, 28 Feb 2021 18:08:53 +0100 Subject: [PATCH] man: explain how to invoke tmpfiles for debugging Fixes #11914. --- TODO | 1 + man/systemd-tmpfiles.xml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/TODO b/TODO index f82ca75231..926c3c8ae7 100644 --- a/TODO +++ b/TODO @@ -1272,6 +1272,7 @@ Features: - creating new directories/subvolumes/fifos/device nodes should not follow symlinks. None of the other adjustment or creation calls follow symlinks. + - add --test mode * make sure systemd-ask-password-wall does not shutdown systemd-ask-password-console too early diff --git a/man/systemd-tmpfiles.xml b/man/systemd-tmpfiles.xml index 90c2626685..bd93474d40 100644 --- a/man/systemd-tmpfiles.xml +++ b/man/systemd-tmpfiles.xml @@ -81,6 +81,9 @@ system instance, such as the one typically configured for /tmp/, will thus also affect files created by the user instance if they are placed in /tmp/, even if the user instance's time-based cleanup is turned off. + + To debug systemd-tmpfiles, it may be useful to invoke it directly from the + command line with increased log level (see $SYSTEMD_LOG_LEVEL below). @@ -227,6 +230,24 @@ systemd-tmpfiles --remove --create + + Environment + + + + + + + + + + + + + + + + Unprivileged --cleanup operation