Bug#945269: debian-policy: packages should use tmpfiles.d(5) to create directories below /var

Russ Allbery rra at debian.org
Tue Jun 13 17:32:40 BST 2023

Thorsten Glaser <t.glaser at tarent.de> writes:

> Therefore I belive that Policy ought to *not* recommend any solution
> that depends on starting dæmons or init scripts to create temporary
> files/directories that are necessary for programs to work.

This is handled by this proposal, no?  That's the point of requiring
integration with maintainer scripts (via triggers or direct invocation).
My understanding is that this is exactly what dh_installtmpfiles already
does, via generating an explicit call to systemd-tmpfiles --create.

Or am I missing something?

Russ Allbery (rra at debian.org)              <https://www.eyrie.org/~eagle/>

More information about the Debian-init-diversity mailing list