1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-25 01:34:28 +03:00
systemd/tmpfiles.d
Zbigniew Jędrzejewski-Szmek 9ba77b9949 tmpfiles: copy files to /etc only on boot
We'd copy /etc/nsswitch.conf, /etc/pam.d/, and /etc/issue (*) on every
tmpfiles --create run. I think we should only do this at boot, so if
people install systemd.rpm in a larger transaction and want to create those
files at a later step, we don't interfere with that.

(Stuff like /etc/os-release and /etc/mtab is not really configurable,
we might as was create it uncondtionally.)

(Seemingly, the alternative approach might be to not call
systemd-tmpfiles --create in systemd.rpm %post. But this wouldn't have much
effect, because various packages call it anyway, and our
%tmpfiles_create_package macro does too.  So we need to change the
configuration instead.)

(*) We don't provide /usr/share/factory/issue, so normally this fails, but
somebody else might provide that file, so it seems useful to keep the
C line.
2019-07-25 19:13:41 +02:00
..
etc.conf.m4 tmpfiles: copy files to /etc only on boot 2019-07-25 19:13:41 +02:00
home.conf tmpfiles.d: change all subvolumes to use quota 2015-10-22 01:59:25 +02:00
journal-nocow.conf tmpfiles.d/journal-nocow: fix typo (#6804) 2017-09-12 13:28:21 -03:00
legacy.conf tmpfiles: drop /run/lock/lockdev 2016-02-01 12:16:24 +01:00
meson.build tmpfiles: do not create /run/nologin if PAM is disabled 2019-05-13 15:35:51 +02:00
portables.conf add new portable service framework 2018-05-24 17:01:57 +02:00
systemd-nologin.conf nologin: extend the /run/nologin descriptions a bit (#8244) 2018-02-22 14:21:30 +01:00
systemd-nspawn.conf treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
systemd-tmp.conf coredump: fixed bug - some coredump temp files could be lost 2019-05-31 12:57:35 +02:00
systemd.conf.m4 sysusers,tmpfiles: re-create systemd-network, systemd-resolve and systemd-timesync 2018-07-16 17:11:50 +02:00
tmp.conf tmpfiles: split tmp.conf out 2019-04-13 12:07:03 +02:00
var.conf.m4 tmpfiles: change btmp mode 0600 → 0660 (#6997) 2017-10-04 21:44:29 +02:00
x11.conf tmpfiles: remove old ICE and X11 sockets at boot (#6979) 2017-10-06 01:28:19 +02:00