Gentoo Archives: gentoo-dev

From: Michael Orlitzky <mjo@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH 2/2] install-qa-check.d: allow acct-user home directories under /home.
Date: Tue, 21 Jan 2020 00:23:00
In Reply to: Re: [gentoo-dev] [PATCH 2/2] install-qa-check.d: allow acct-user home directories under /home. by "Andreas K. Huettel"
1 Let it die =) I'm not going to apply the patch; it's there if someone
2 else decides that it's the least-bad solution to this problem.
5 On 1/20/20 6:57 PM, Andreas K. Huettel wrote:
6 >
7 > Why *isn't* some /var/lib/... possible here?
9 It is, the question is how many backflips we should be doing to avoid
10 putting what is practically and factually a home directory in /home. I
11 have a few of these packages. I will echo ulm's sentiment that it's just
12 awful to put them all in
14 /var/lib/user1-home
15 /var/lib/user2-home
16 ...
18 rather than /home/user1 and /home/user2.
20 That's also second-guessing the administrator, whose home directory
21 policies for e.g. backups very likely apply to the home directories I'm
22 creating. (Keep in mind that I'm only talking about exceptions for very
23 special packages that install a system user that will also be used by a
24 human or that stores per-user configuration. And the exception is only
25 for the keepdir file.)
27 Home directories in /home were also allowed with user.eclass, which
28 means that we now hit a roadblock updating those accounts to GLEP81.
31 >
32 > I mean, user configuration works perfectly fine there, even if you have to
33 > log in. And the purpose of the account is closer to, say, root (with its
34 > nonstandard home directory location) than a normal user.
35 >
36 > I've seen all possible site-specific changes to /home layout, including,
37 > e.g.,
38 > * /home/server1/username
39 > * /home/large/username
40 > * /home/u/username
41 > ...
42 > which would all get somehow messy if a system account with a fixed path is
43 > forced in there.
44 >
46 Sure, but is having them scattered across BOTH /home AND /var/lib less
47 messy? We're picking a default, and with GLEP81, the people who do this
48 could move it to /home/u/${PN} with an overlay ebuild; whatever makes
49 them happy. For everyone else, it's a good default.