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

Mark Hindley mark at hindley.org.uk
Tue Jun 13 13:51:21 BST 2023


Simon,

Thanks for your care and insight with this and apologies for the delay in
replying (mails to elogind at packages.debian.org have been held up on a
mailserver).

On Tue, Jun 06, 2023 at 11:58:07AM +0100, Simon McVittie wrote:
> Exactly. My hope is that if we had:
> 
>     Package: systemd
>     Architecture: linux-any
>     Provides: default-systemd-tmpfiles, systemd-tmpfiles
>     Conflicts: systemd-tmpfiles
>     Replaces: systemd-tmpfiles
> 
>     Package: systemd-standalone-tmpfiles
>     Architecture: linux-any
>     Provides: systemd-tmpfiles
>     Conflicts: systemd-tmpfiles
>     Replaces: systemd-tmpfiles
> 
>     Package: elogind
>     Depends: systemd-standalone-tmpfiles        # or Recommends?

In principle and just looking at the dependencies this seems a viable solution.
It is very similar to the way we handle the logind and default-logind virtual
packages.

Mark



More information about the Pkg-systemd-maintainers mailing list