From: Zbigniew Jędrzejewski-Szmek Date: Wed, 17 May 2023 16:31:25 +0000 (+0200) Subject: man/tmpfiles: add more man page citerefs X-Git-Tag: v254-rc1~343^2~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d2149f6c76f0234030d9b22266454813b5389e7c;p=thirdparty%2Fsystemd.git man/tmpfiles: add more man page citerefs This was supposed to be part of 8fb350049bb7a7305589f201df9d37482e544f24, but I forgot to save the file. --- diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index f691eef25d8..ef0bb1f7f89 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -206,11 +206,11 @@ L /tmp/foobar - - - - /dev/null e Adjust the mode and ownership of existing directories and remove their contents - based on age. - Lines of this type accept shell-style globs in place of normal path names. Contents of the - directories are subject to time-based cleanup if the age argument is specified. If the age argument - is 0, contents will be unconditionally deleted every time - systemd-tmpfiles --clean is run. + based on age. Lines of this type accept shell-style globs in place of normal path names. Contents + of the directories are subject to time-based cleanup if the age argument is specified. If the age + argument is 0, contents will be unconditionally deleted every time + systemd-tmpfiles8 + is run. For this entry to be useful, at least one of the mode, user, group, or age arguments must be specified, since otherwise this entry has no effect. As an exception, an entry with no effect may @@ -444,17 +444,18 @@ L /tmp/foobar - - - - /dev/null a a+ - Set POSIX ACLs (access control lists), see acl - 5. Additionally, if 'X' is used, the execute bit is set only - if the file is a directory or already has execute permission for some user, as mentioned in + Set POSIX ACLs (access control lists), see + acl5. + Additionally, if 'X' is used, the execute bit is set only if the file is a directory or already has + execute permission for some user, as mentioned in setfacl1. If suffixed with +, the specified entries will be added to the existing set. - systemd-tmpfiles will automatically add the required base entries for user - and group based on the access mode of the file, unless base entries already exist or are explicitly - specified. The mask will be added if not specified explicitly or already present. Lines of this type - accept shell-style globs in place of normal path names. This can be useful for allowing additional - access to certain files. Does not follow symlinks. + systemd-tmpfiles8 + will automatically add the required base entries for user and group based on the access mode of the + file, unless base entries already exist or are explicitly specified. The mask will be added if not + specified explicitly or already present. Lines of this type accept shell-style globs in place of + normal path names. This can be useful for allowing additional access to certain files. Does not + follow symlinks. @@ -472,8 +473,10 @@ L /tmp/foobar - - - - /dev/null If the exclamation mark (!) is used, this line is only safe to execute during boot, and can break a running system. Lines without the exclamation mark are presumed to be safe to - execute at any time, e.g. on package upgrades. systemd-tmpfiles will take lines with - an exclamation mark only into consideration, if the option is given. + execute at any time, e.g. on package upgrades. + systemd-tmpfiles8 + will take lines with an exclamation mark only into consideration, if the option + is given. For example: # Make sure these are created by default so that nobody else can @@ -559,10 +562,12 @@ w- /proc/sys/vm/swappiness - - - - 10 The user and group to use for this file or directory. This may either be a numeric ID or a user/group name. If omitted or when set to -, the user and group of the user who - invokes systemd-tmpfiles is used. For z and Z - lines, when omitted or when set to -, the file ownership will not be modified. These - parameters are ignored for x, r, R, - L, t, and a lines. + invokes + systemd-tmpfiles8 is + used. For z and Z lines, when omitted or when set to + -, the file ownership will not be modified. These parameters are ignored for + x, r, R, L, + t, and a lines. This field should generally only reference system users/groups, i.e. users/groups that are guaranteed to be resolvable during early boot. If this field references users/groups that only become