1 |
On Mon, 2021-01-04 at 15:50 -0800, Patrick McLean wrote: |
2 |
> On Tue, 05 Jan 2021 00:16:49 +0100 |
3 |
> Michał Górny <mgorny@g.o> wrote: |
4 |
> |
5 |
> > On Mon, 2021-01-04 at 14:58 -0800, Patrick McLean wrote: |
6 |
> > > On Mon, 4 Jan 2021 18:08:02 +0100 |
7 |
> > > Michał Górny <mgorny@g.o> wrote: |
8 |
> > > |
9 |
> > > |
10 |
> > > |
11 |
> > > |
12 |
> > > > Introduce a few variables to allow easy overrides of common user account |
13 |
> > > > proprerties, that is: |
14 |
> > > > |
15 |
> > > > - ACCT_USER_<username>_SHELL |
16 |
> > > > - ACCT_USER_<username>_HOME |
17 |
> > > > - ACCT_USER_<username>_HOME_OWNER |
18 |
> > > > - ACCT_USER_<username>_HOME_PERMS |
19 |
> > > > - ACCT_USER_<username>_GROUPS |
20 |
> > > > - ACCT_USER_<username>_GROUPS_ADD |
21 |
> > > |
22 |
> > > Please also add a way to override the UID/GID for the user/group. |
23 |
> > |
24 |
> > Damn it, and I thought I'd avoid that ;-). But do we really need it? |
25 |
> > The eclass doesn't enforce UID/GID by default if the user exists |
26 |
> > already, so it's a bit tangential to the original problem. |
27 |
> > |
28 |
> |
29 |
> The user needs to already exist for that to be helpful. When one using |
30 |
> automation to build/deploy large numbers of Gentoo systems, it's quite |
31 |
> useful to have control over that sort of things. At the moment, the |
32 |
> only way is to fork the ebuilds, which of course means they need to be |
33 |
> kept in sync. |
34 |
|
35 |
Ok, I'll keep that mind. However, I suppose you won't mind me |
36 |
addressing that separately? Unlike the patch sent, ID-related logic |
37 |
needs to be done twice (due to pkg_pretend). Ideally, could you report |
38 |
a feature request on Bugzilla? |
39 |
|
40 |
|
41 |
-- |
42 |
Best regards, |
43 |
Michał Górny |