X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Ftmpfiles.d.xml;h=343fad163c6c6371b91cb0588bcae73453b7d094;hp=a304dd00e6aa4451c30aa683480278b2ee1e39cb;hb=848e3e24b00a61130f20226ef5f051433d478c69;hpb=82adf6af7c72b852449346835f33184a841b4796 diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index a304dd00e..343fad163 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -61,6 +61,23 @@ temporary files and directories which usually reside in directories such as /run or /tmp. + + Volatile and temporary files and directories are + those located in /run (and its + alias /var/run), + /tmp, + /var/tmp, the API file systems + such as /sys or + /proc, as well as some other + directories below /var. + + System daemons frequently require private + runtime directories below /run to + place communication sockets and similar in. For these + consider declaring them in their unit files using + RuntimeDirectory= + (see systemd.exec5 for details), + if this is feasible. @@ -109,7 +126,6 @@ d /run/user 0755 root root 10d - L /tmp/foobar - - - - /dev/null - Type @@ -277,13 +293,11 @@ L /tmp/foobar - - - - /dev/null For example: - -# Make sure these are created by default so that nobody else can + # Make sure these are created by default so that nobody else can d /tmp/.X11-unix 1777 root root 10d # Unlink the X11 lock files -r! /tmp/.X[0-9]*-lock - +r! /tmp/.X[0-9]*-lock The second line in contrast to the first one would break a running system, and will only be executed with . @@ -444,8 +458,8 @@ r! /tmp/.X[0-9]*-lock /etc/tmpfiles.d/screen.conf example screen needs two directories created at boot with specific modes and ownership. - d /var/run/screens 1777 root root 10d -d /var/run/uscreens 0755 root root 10d12h + d /run/screens 1777 root root 10d +d /run/uscreens 0755 root root 10d12h /etc/tmpfiles.d/abrt.conf example @@ -461,7 +475,8 @@ x /var/tmp/abrt/* systemd1, systemd-tmpfiles8, - systemd-delta1 + systemd-delta1, + systemd.exec5