1 |
On Sat, Jul 31, 2021 at 7:56 PM Sam James <sam@g.o> wrote: |
2 |
> |
3 |
> This adds two tmpfiles related QA checks: |
4 |
> 1) Verify packages don't install tmpfiles to /etc/tmpfiles.d, which |
5 |
> is a deprecated location; |
6 |
|
7 |
sys-apps/systemd calls keepdir /etc/tmpfiles.d so that users don't get |
8 |
confused by a missing directory. |
9 |
|
10 |
How would you suggest I avoid this QA warning? |
11 |
|
12 |
> 2) Check whether packages inherit tmpfiles.eclass if they're |
13 |
> installing files to /usr/lib/tmpfiles.d. |
14 |
> |
15 |
> (This helps to catch packages not calling tmpfiles_process |
16 |
> in pkg_postinst). |
17 |
|
18 |
sys-apps/systemd installs many files in /usr/lib/tmpfiles.d, but |
19 |
calling tmpfiles_process would probably not make much sense. |
20 |
|
21 |
How would you suggest I avoid this QA warning? |