Comment 17 for bug 1748147

Revision history for this message
Seyeong Kim (seyeongkim) wrote :

Hello sil2100.

Sorry for making confusion.
I describe it in detail.

This patch changes tmpfile path from absolute path to filename(only).
so, they now support override feature if we put tmpfile conf to /etc/tmpfiles.d/

but in this situation, we need to set same filename as /var/lib/tmpfiles.d/[something] for using override.

For this override feature, debhelper need to be patched. and systemd need to be rebuilt.

but even if systemd is not rebuit, it is working find as like before.

For rsyslogd ( and pkg like this ), it copies 00rsyslogd.conf file to /var/lib/tmpfiles.d/ directly. it works until systemd restarting. when restarting systemd, it recall tmpfiles conf files only systemd has, so in this time 00rsyslogd.conf is ignored. Then /var/log's permission is changed back to 755 (need 775)

so rsyslogd's 00rsyslogd.conf filename need to be changed to var.conf and target should be /etc/tmpfiles.d/ instead of /var/lib/tmpfiles.d/

even if rsyslogd(or pkg like this ) is not patched, it works with current issue ( as this LP ).

Please let me know if you have anything.

I'll update description based on this comment if you are fine with this.

Thanks