Opened 8 years ago
Closed 8 years ago
#4181 closed task (fixed)
systemd: Expand discussion of Automatic File Creation and Deletion
| Reported by: | Owned by: | ||
|---|---|---|---|
| Priority: | normal | Milestone: | 8.2 |
| Component: | Book | Version: | SVN |
| Severity: | normal | Keywords: | |
| Cc: |
Description
In the systemd version of the book, section 7.10.4. Configuring Automatic File Creation and Deletion, we need a little more detail, perhaps with an example.
In my case, I wanted to change the way files in /tmp are removed. To do this, I needed to create /etc/tempfiles.d; cp /usr/lib/tmpfiles.d/tmp.conf /etc/tempfiles.d; and edit that new tmp.conf file.
Note that the offending line in this case was
q /tmp 1777 root root 10d
Note that the config item q is not exactly intuitive. The man page says q is similar to v and v means "Create a subvolume ..." or something similar to d and mentions 'quota groups'. Buried in there is that statement " On non-btrfs file systems, this line type is identical to d"
Change History (3)
comment:1 by , 8 years ago
| Summary: | Expand discussion of Automatic File Creation and Deletion → systemd: Expand discussion of Automatic File Creation and Deletion |
|---|
comment:2 by , 8 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |

Fixed at revision 11340.