]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: split tmp.conf out
authorFranck Bui <fbui@suse.com>
Fri, 12 Apr 2019 12:45:53 +0000 (14:45 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sat, 13 Apr 2019 10:07:03 +0000 (12:07 +0200)
commit63f28cad3e9b7a899606f9cf85f8e649b92b0b89
tree8e8bdc6daaf46c0396a78ef2809bee2e8f0e905e
parent8f1ed04ad6646aeb1f2f28d485b17110c084de5b
tmpfiles: split tmp.conf out

tmp.conf was dealing with 2 different kind of paths: one dealing with general
temporary paths such as /var/tmp and /tmp and the other one dealing with
temporary directories owned by systemd.

If for example a user wants to adjust the age argument of the general paths
only, he had to overload the whole file which is cumbersome and error prone
since any future changes in tmp.conf shipped by systemd will be lost.

So this patch splits out tmp.conf so the systemd directories are dealt
separately in a dedicated conf file. It's named "systemd-tmp.conf" based on the
naming recommendation made in tmpfiles.d man page.

In practice it shouldn't cause any regression since it's very unlikely that
users override paths owned by systemd.
tmpfiles.d/meson.build
tmpfiles.d/systemd-tmp.conf [new file with mode: 0644]
tmpfiles.d/tmp.conf