<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div name="messageBodySection">Thanks a lot<br />
<br />
Can i get git repo url you mentioned?</div>
<div name="messageReplySection"><br />
On 11 May 2018, 4:09 PM +0900, Niels Thykier <niels@thykier.net>, wrote:<br />
<blockquote type="cite">Michael Biebl:<br />
<blockquote type="cite">Am 04.05.2018 um 13:47 schrieb Michael Biebl:<br />
<blockquote type="cite">Dropping #TMPFILES# means, systemd-tmpfiles will act on all tmpfiles.<br />
This would be a bit like if upgrading rsyslog would restart all system<br />
services (including rsyslog). That doesn't feel right.<br />
So I don't think dropping #TMPFILES# is the right approach.<br /></blockquote>
<br />
[...]<br />
<br />
One valid use cases this touches though is, that overriding tmpfiles in<br />
/etc/tmpfiles.d should be supported. I.e. if there is a<br />
/usr/lib/tmpfiles.d/dbus.conf and an admin wants to tweak that by<br />
shipping a /etc/tmpfiles.d/dbus.conf, I don't think the package should<br />
override that.<br />
Afaics, this could easily be fixed by only using the name of the .conf<br />
file, not the full path, so dh_installsystemd/dh_installinit would have<br />
to generate<br />
systemd-tmpfiles --create dbus.conf<br />
instead of<br />
systemd-tmpfiles --create /usr/lib/tmpfiles.d/dbus.conf<br />
<br />
Felipe et al, what do you think?<br />
<br />
(CC pkg-systemd-maintainers to have more eyes on this)<br />
<br />
Michael<br />
<br /></blockquote>
<br />
Hi,<br />
<br />
After a short chat with Felipe yesterday, I have updated the debhelper<br />
tooling (in git master) to generate "systemd-tmpfiles --create<br />
dbus.conf" instead of "systemd-tmpfiles --create<br />
/usr/lib/tmpfiles.d/dbus.conf". This solves one half of the issue<br />
(namely that package provided tmpfiles configs could not be overridden<br />
at all).<br />
<br />
On the other part of the issue, I will follow Michael's recommendation<br />
of keeping #TMPFILES# in the postinst. As I understand it, this<br />
effectively makes that part "wontfix".<br />
<br />
Thanks,<br />
~Niels<br /></blockquote>
</div>
</body>
</html>