1 |
> On 1 Aug 2021, at 17:42, Mike Gilbert <floppym@g.o> wrote: |
2 |
> |
3 |
> On Sat, Jul 31, 2021 at 7:56 PM Sam James <sam@g.o> wrote: |
4 |
>> |
5 |
>> This adds two tmpfiles related QA checks: |
6 |
>> 1) Verify packages don't install tmpfiles to /etc/tmpfiles.d, which |
7 |
>> is a deprecated location; |
8 |
> |
9 |
> sys-apps/systemd calls keepdir /etc/tmpfiles.d so that users don't get |
10 |
> confused by a missing directory. |
11 |
> |
12 |
> How would you suggest I avoid this QA warning? |
13 |
|
14 |
We can change the check to be for installing files within the directory? |
15 |
|
16 |
> |
17 |
>> 2) Check whether packages inherit tmpfiles.eclass if they're |
18 |
>> installing files to /usr/lib/tmpfiles.d. |
19 |
>> |
20 |
>> (This helps to catch packages not calling tmpfiles_process |
21 |
>> in pkg_postinst). |
22 |
> |
23 |
> sys-apps/systemd installs many files in /usr/lib/tmpfiles.d, but |
24 |
> calling tmpfiles_process would probably not make much sense. |
25 |
> |
26 |
> How would you suggest I avoid this QA warning? |
27 |
> |
28 |
|
29 |
We'll probably hardcode a list of folks who need to do this: |
30 |
- sys-libs/pam |
31 |
- sys-apps/systemd |
32 |
(I'll check for any others, but I don't believe there are any now). |
33 |
|
34 |
How about that? |
35 |
|
36 |
best, |
37 |
sam |