[pkg-bacula-devel] systemd tmpfiles (was: Enable automatic restarting of daemons with systemd)

Carsten Leonhardt leo at debian.org
Mon Jul 18 08:02:19 UTC 2016


Hi Sven,

>> After bisecting the upstream git, I see that the file got lost in the
>> backport from Bacula Enterprise in commit
>> 4d2b94fa3e8018d1a462756ad6e1df7e12a29d20 from 2015-08-12.

you're right, at one time lintian complained about the wrong location of
the tmpfile, then moved it. Later the file disappeared and I removed the
code to install it. I didn't know what it's good for (and it probably
wasn't as there was no native systemd support anyway?).

> I added a patch readding the file and reenabling it in configure.in.
>
> Now we need to deal with leftover /etc/tmpfiles.d/bacula.conf files.
> Just unconditionally deleting them via one of the pre/post scripts seems
> wrong, because the admin may have customized it.
> Maybe checking if it is the same as the one in /usr/lib/tmpfiles.d and
> only removing the wrong one if they match and otherwise print a warning?

The file in /usr is not supposed to be changed. If someone, for some
obscure reason, wants to customize it, is there a special location to
drop an override file or something like that? Maybe we could move the
file from /etc to that location then, if it differs from the default?

As a last resort we could put a note into NEWS.Debian.

Carsten



More information about the pkg-bacula-devel mailing list