Gentoo Archives: gentoo-dev

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH] metadata/install-qa-check.d: add 60tmpfiles-path QA check
Date: Wed, 04 Aug 2021 12:35:25
Message-Id: b8ce6247-2bff-3da5-7a7d-5e13081d3b4e@gentoo.org
In Reply to: Re: [gentoo-dev] [PATCH] metadata/install-qa-check.d: add 60tmpfiles-path QA check by Sam James
1 On 2021-08-04 04:56, Sam James wrote:
2 > Sure, thanks for the clarification. It's deprecated in the sense of
3 > ebuilds installing to it though, right?
4
5 Well, it triggered me because saying it's deprecated implies two things
6 for me:
7
8 1) It was OK for packages to do that in the past
9
10 2) Something has changed upstream
11
12 Regarding 1)
13 It was never OK for packages to install in that location. That will
14 break the override mechanism systemd introduced. I.e. packages were and
15 are still only allowed to install below /usr (/lib), to allow local
16 system administrators to override installed unit/tmpfiles spec by
17 placing a file with the same name in the corresponding directory in /etc.
18
19
20 Regarding 2)
21 Nothing has changed upstream regarding these locations.
22
23
24 I personally hope that this QA check will never fire in hope we never
25 added an ebuild doing something like that but in the end, that's the
26 idea of having such a check: To notice something like that, just in case ;-)
27
28
29 --
30 Regards,
31 Thomas Deutschmann / Gentoo Linux Developer
32 fpr: C4DD 695F A713 8F24 2AA1 5638 5849 7EE5 1D5D 74A5

Attachments

File name MIME type
OpenPGP_signature.asc application/pgp-signature

Replies