summaryrefslogtreecommitdiff
path: root/man/tmpfiles.d.xml
Commit message (Collapse)AuthorAge
* tmpfiles: port to unquote_many_words()daurnimator2015-03-10
|
* man: explain time units in tmpfilesZbigniew Jędrzejewski-Szmek2015-02-23
| | | | https://bugzilla.redhat.com/show_bug.cgi?id=1195294
* shared/acl-util: add mask only when needed, always add base ACLsZbigniew Jędrzejewski-Szmek2015-01-22
| | | | | | | | For ACLs to be valid, a set of entries for user, group, and other must be always present. Always add those entries. While at it, only add the mask ACL if it is actually required, i.e. when at least on ACL for non-owner group or user exists.
* tmpfiles: implement augmenting of existing ACLsZbigniew Jędrzejewski-Szmek2015-01-22
| | | | This is much more useful in practice (equivalent to setfacl -m).
* tmpfiles: make t and a globby, add their recursive versions T and AZbigniew Jędrzejewski-Szmek2015-01-22
| | | | | | | | | | | | | | For types which adapt existing files it is generally more useful to accept globs. In analogy to z and Z, add recursive versions using uppercase letters. Technically, making a accept globs is backwards incompatible, but in practice it probably isn't yet widely used and we can assume that most people don't create files with wildcards in names. Functions which are used as callbacks, but not directly on items, are renamed not to have "item_" prefix.
* tmpfiles: add 'a' type to set ACLsZbigniew Jędrzejewski-Szmek2015-01-22
|
* tmpfiles: attach an array of items to each pathZbigniew Jędrzejewski-Szmek2015-01-22
| | | | | | | | | | | | | | | | The data structure used by tmpfiles is changed: instead of hashmaps mapping {path → Item*} we now have hashmaps containing {path -> ItemArray}, where ItemArray contains a pointer to an array of Items. For current code it doesn't matter much, but when we add new types it is easier to simply add a new Item for a given path, then to coalesce multiple lines into one Item. In the future, this change will also make it possible to remember the file and line where each Item originates, and use that in reporting errors. Currently this is not possible, since each Item can be created from multiple lines.
* man: reindent tmpfiles.d(5)Zbigniew Jędrzejewski-Szmek2015-01-18
| | | | Reindent to 2 spaces, use more markup.
* tmpfiles: add new line type 'v' for creating btrfs subvolumesLennart Poettering2014-12-28
|
* tmpfiles, man: Add xattr support to tmpfilesMaciej Wereski2014-12-04
| | | | | | | | | | | | | | | | | | | | This patch makes it possible to set extended attributes on files created by tmpfiles. This can be especially used to set SMACK security labels on volatile files and directories. It is done by adding new line of type "t". Such line should contain attributes in Argument field, using following format: name=value All other fields are ignored. If value contains spaces, then it must be surrounded by quotation marks. User can also put quotation mark in value by escaping it with backslash. Example: D /var/run/cups - - - - t /var/run/cups - - - - security.SMACK64=printing
* man/tmpfiles.d: fix typoJan Synacek2014-11-04
|
* man: tmpfiles.d - recommend using b! and c!Tom Gundersen2014-10-27
| | | | We should avoid creating static device nodes at runtime.
* doc: typographical improvements and choice of wordsJan Engelhardt2014-06-28
|
* doc: grammatical correctionsJan Engelhardt2014-06-28
|
* tmpfiles: copy/link /usr/share/factory/ files when the source argument is ↵Kay Sievers2014-06-20
| | | | omitted
* tmpfiles: make sure "C" doesn't copy anything if the destination already existsLennart Poettering2014-06-19
| | | | | | | | | Previously it would recursively copy the entire tree in, and descend into subdirectories even if the destination already exists. Let's do what the documentation says and not do that. If files down the tree shall be copied too, they should get their own "C" lines.
* tmpfiles: add "+" modifier support to b, c, p lines in addition to LLennart Poettering2014-06-18
|
* tmpfiles: add new "L+" command as stronger version of "L", that removes the ↵Lennart Poettering2014-06-16
| | | | | | | destination before creating a symlink Also, make use of this for mtab as long as mount insists on creating it even if we invoke it with "-n".
* tmpfiles: add ability to mask access mode by pre-existing access mode on ↵Lennart Poettering2014-06-11
| | | | | | | files/directories This way it makes a lot more sense to specify an access mode for "Z" lines.
* tmpfiles: when processing lines, always process prefixes before suffixesLennart Poettering2014-06-11
| | | | | | | | | If two lines refer to paths that are suffix and prefix of each other, then always process the prefix first, the suffix second. In all other cases strictly process rules in the order they appear in the files. This makes creating /var/run as symlink to /run a lot more fun, since it is automatically created first.
* tmpfiles: get rid of "m" lines, make them redundant by "z"Lennart Poettering2014-06-10
| | | | | | | "m" so far has been a non-globbing version of "z". Since this makes it quite redundant, let's get rid of it. Remove "m" from the man pages, beef up "z" docs instead, and make "m" nothing more than a compatibility alias for "z".
* tmpfiles: add new "C" line for copying files or directoriesLennart Poettering2014-06-10
|
* doc: comma placement corrections and word orderJan Engelhardt2014-05-07
| | | | | Set commas where there should be some. Some improvements to word order.
* core: introduce new RuntimeDirectory= and RuntimeDirectoryMode= unit settingsLennart Poettering2014-03-03
| | | | | As discussed on the ML these are useful to manage runtime directories below /run for services.
* Replace /var/run with /run in remaining placesZbigniew Jędrzejewski-Szmek2014-02-25
| | | | | /run was already used almost everywhere, fix the remaining places for consistency.
* man: always place <programlisting> and </programlisting> in a line with ↵Lennart Poettering2014-02-14
| | | | actual sources, so that we don't get spurious newlines in the man page output
* nspawn,man: use a common vocabulary when referring to selinux security contextsLennart Poettering2014-02-10
| | | | | | | | | | | Let's always call the security labels the same way: SMACK: "Smack Label" SELINUX: "SELinux Security Context" And the low-level encapsulation is called "seclabel". Now let's hope we stick to this vocabulary in future, too, and don't mix "label"s and "security contexts" and so on wildly.
* tmpfiles: rename --unsafe to --bootZbigniew Jędrzejewski-Szmek2013-12-30
| | | | | As suggested by Kay, it is better to describe what is done, not what might happen.
* man: resolve word omissionsJan Engelhardt2013-12-25
| | | | | This is a recurring submission and includes corrections to: word omissions and word class choice.
* tmpfiles: introduce the concept of unsafe operationsZbigniew Jędrzejewski-Szmek2013-12-24
| | | | | | | | | | | | | | | | | | | | | | | | Various operations done by systemd-tmpfiles may only be safely done at boot (e.g. removal of X lockfiles in /tmp, creation of /run/nologin). Other operations may be done at any point in time (e.g. setting the ownership on /{run,var}/log/journal). This distinction is largely orthogonal to the type of operation. A new switch --unsafe is added, and operations which should only be executed during bootup are marked with an exclamation mark in the configuration files. systemd-tmpfiles.service is modified to use this switch, and guards are added so it is hard to re-start it by mistake. If we install a new version of systemd, we actually want to enforce some changes to tmpfiles configuration immediately. This should now be possible to do safely, so distribution packages can be modified to execute the "safe" subset at package installation time. /run/nologin creation is split out into a separate service, to make it easy to override. https://bugzilla.redhat.com/show_bug.cgi?id=1043212 https://bugzilla.redhat.com/show_bug.cgi?id=1045849
* man,units: tmpfiles.d(5) cleanupZbigniew Jędrzejewski-Szmek2013-12-24
| | | | | | | | | Condition for /lib (necessary for split /usr) was missing from the unit. Some changes which were done in tmpfiles.d(5) were not carried over to systemd-tmpfiles(1). Also use markup where possible.
* man: wording and grammar updatesJan Engelhardt2013-10-15
| | | | | | This is a recurring submission and includes corrections to various issue spotted. I guess I can just skip over reporting ubiquitous comma placement fixes…
* man: Improve the description of parameter X in tmpfiles.d pageVáclav Pavlín2013-10-03
|
* tmpfiles: add a new "m" line type that adjusts user/group/mode of a file if ↵Lennart Poettering2013-09-17
| | | | it exists
* tmpfiles: support simple specifier expansion for specified pathsLennart Poettering2013-09-17
|
* man: wording and grammar updatesJan Engelhardt2013-09-12
| | | | | | | | | | | | This is a recurring submission and includes corrections to various issue spotted. I guess I can just skip over reporting ubiquitous comma placement fixes… Highligts in this particular commit: - the "unsigned" type qualifier is completed to form a full type "unsigned int" - alphabetic -> lexicographic (that way we automatically define how numbers get sorted)
* man: fix description of file order applicationKay Sievers2013-09-12
|
* man: one more example in tmpfiles.dLukas Nykryn2013-09-10
|
* man: wording and grammar updatesJan Engelhardt2013-09-10
| | | | | | | | | This includes regularly-submitted corrections to comma setting and orthographical mishaps that appeared in man/ in recent commits. In this particular commit: - the usual comma fixes - expand contractions (this is prose)
* man: improve grammar and word formatting in numerous man pagesJason St. John2013-07-02
| | | | | | | | | | Use proper grammar, word usage, adjective hyphenation, commas, capitalization, spelling, etc. To improve readability, some run-on sentences or sentence fragments were revised. [zj: remove the space from 'file name', 'host name', and 'time zone'.]
* tmpfiles: introduce type XMichal Sekletar2013-01-25
| | | | | | | | | | Type X will exclude path itself from clean-up. However, if the path is a directory systemd-tmpfiles will clean-up its content. In contrast to type x, where path is ignored completely, type X needs some Age parameter. In order to determine Age parameter, we will look for config entries of type d or D and pick the best match. Best match is either exact match or longest prefix match.
* man: typo fixesThomas Hindoe Paaboel Andersen2012-10-26
| | | | | | | | | https://bugs.freedesktop.org/show_bug.cgi?id=55890 Fixed typos, serial comma, and removed "either" as there were more than two options. Also did an extra rename of "system-shutdown" to "systemd-shutdown" that was forgotten in commit 8bd3b8620c80d0f2383f2fb04315411fc8077ca1
* man: fix typo in tmpfiles.dTom Gundersen2012-10-23
| | | | Reported-by: Jason St. John <jstjohn@purdue.edu>
* tmpfiles: allow Age to be set to 0Tom Gundersen2012-10-23
| | | | | | | Mostly useful for testing purposes. Setting Age to 1s works just as well, but it is surprising that using 0s (or just 0) does not work. Also clarify this in the documentation.
* tmpfiles: use write(2) for the 'w' actionDave Reisner2012-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This resolves problems with filesystems which do not implement the aio_write file operation. In this case, the kernel will fall back using a loop writing technique for each pointer in a received iovec. The result is strange errors in dmesg such as: [ 31.855871] elevator: type not found [ 31.856262] elevator: switch to [ 31.856262] failed It does not make sense to implement a synchronous aio_write method for sysfs as this isn't a real filesystem where a reasonable use case for using writev exists, nor is there an expectation that tmpfiles will be used to write more data than can be reasonably written in a single write syscall. In addition, some sysfs attrs are currently buggy and will NOT reject the second write with the newline, causing the sysfs value to be zeroed out. This of course should be fixed in the kernel regardless of any wrongdoing in userspace, but this simple change makes us immune to such a bug. This change means that we do not write a trailing newline by default, as the expected use case of 'w' is for sysfs and procfs. In exchange, honor C-style backslash escapes so that if the newline is really needed, the user can add it.
* tmpfiles: support globbing for w optionDave Reisner2012-09-12
| | | | | | | | | | Break out the write logic into a separate function and simply use it as a callback to glob_item. This allows users to consolidate writes to sysfs with multiple similar pathnames, e.g. w /sys/class/block/sd[a-z]/queue/read_ahead_kb - - - - 1024
* man/tmpfiles.d.xml: Add missing full stopPaul Menzel2012-07-09
|
* man: add reference to systemd-delta to tmpfilesLennart Poettering2012-06-27
|
* tmpfiles: exclude the first level directories in /run/user from automatic ↵Lennart Poettering2012-06-20
| | | | | | | clean up It's logind's job to maintain those user dirs, so avoid automatic clean up for them. However, we do cover everything within them.
* man: replace tabs with spacesKay Sievers2012-06-10
|