On Sat, Jul 31, 2021 at 7:56 PM Sam James <s...@gentoo.org> wrote:
>
> This adds two tmpfiles related QA checks:
> 1) Verify packages don't install tmpfiles to /etc/tmpfiles.d, which
> is a deprecated location;

sys-apps/systemd calls keepdir /etc/tmpfiles.d so that users don't get
confused by a missing directory.

How would you suggest I avoid this QA warning?

> 2) Check whether packages inherit tmpfiles.eclass if they're
> installing files to /usr/lib/tmpfiles.d.
>
> (This helps to catch packages not calling tmpfiles_process
> in pkg_postinst).

sys-apps/systemd installs many files in /usr/lib/tmpfiles.d, but
calling tmpfiles_process would probably not make much sense.

How would you suggest I avoid this QA warning?

Reply via email to