Comment # 40 on bug 1078466 from
I've updated https://gist.github.com/lnussel/f0ae4a9e94c8f0b9f9aafe42afa6b4a4

With that one could do something like this during build of systemd and ship
fs-var.conf in systemd instead of filesystem, keeping the two consistent
nevertheless:

$ python3 rpm2tmpfiles --path /var --tmpfiles
$PWD/systemd-234-lp151.26.4.1/usr/lib/tmpfiles.d filesystem > fs-var.conf
[W] systemd.conf: z /var/log/journal 2755 - systemd-journal
[E] journal-nocow.conf duplicate: h /var/log/journal - - - - +C
[W] systemd.conf: z /var/log/journal/%m 2755 - systemd-journal
[E] journal-nocow.conf duplicate: h /var/log/journal/%m - - - - +C
[W] filesystem.rpm: d /var 0755
[E] var.conf duplicate: q /var 0755
[W] filesystem.rpm: d /var/cache 0755
[W] var.conf duplicate: d /var/cache 0755
[W] filesystem.rpm: d /var/lib 0755
[W] var.conf duplicate: d /var/lib 0755
[W] filesystem.rpm: d /var/log 0755
[W] var.conf duplicate: d /var/log 0755
[W] filesystem.rpm: L /var/run - - - - /run
[E] var.conf duplicate: L /var/run - - - - ../run
[W] filesystem.rpm: d /var/spool 0755
[W] var.conf duplicate: d /var/spool 0755
[W] filesystem.rpm: d /var/tmp 1777
[E] tmp.conf duplicate: q /var/tmp 1777
$ cat fs-var.conf
d /var/adm 0755
d /var/adm/backup 0700
d /var/adm/update-messages 0700
d /var/adm/update-scripts 0700
d /var/crash 0755
d /var/lib/empty 0755
d /var/lib/misc 0755
L /var/mail - - - - spool/mail
d /var/opt 0755
d /var/spool/mail 1777


You are receiving this mail because: