1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

man: explain how to invoke tmpfiles for debugging

Fixes #11914.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2021-02-28 18:08:53 +01:00
parent 5929b6b522
commit 36f57e02d7
2 changed files with 22 additions and 0 deletions

1
TODO
View File

@ -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

View File

@ -81,6 +81,9 @@
system instance, such as the one typically configured for <filename>/tmp/</filename>, will thus also
affect files created by the user instance if they are placed in <filename>/tmp/</filename>, even if the
user instance's time-based cleanup is turned off.</para>
<para>To debug <command>systemd-tmpfiles</command>, it may be useful to invoke it directly from the
command line with increased log level (see <varname>$SYSTEMD_LOG_LEVEL</varname> below).</para>
</refsect1>
<refsect1>
@ -227,6 +230,24 @@
<programlisting>systemd-tmpfiles --remove --create</programlisting>
</refsect1>
<refsect1>
<title>Environment</title>
<variablelist class='environment-variables'>
<xi:include href="common-variables.xml" xpointer="log-level" />
<xi:include href="common-variables.xml" xpointer="log-color" />
<xi:include href="common-variables.xml" xpointer="log-time" />
<xi:include href="common-variables.xml" xpointer="log-location" />
<xi:include href="common-variables.xml" xpointer="log-target" />
<xi:include href="common-variables.xml" xpointer="pager" />
<xi:include href="common-variables.xml" xpointer="less" />
<xi:include href="common-variables.xml" xpointer="lesscharset" />
<xi:include href="common-variables.xml" xpointer="lesssecure" />
<xi:include href="common-variables.xml" xpointer="colors" />
<xi:include href="common-variables.xml" xpointer="urlify" />
</variablelist>
</refsect1>
<refsect1>
<title>Unprivileged --cleanup operation</title>