Gentoo Archives: gentoo-dev

From: James Le Cuirot <chewi@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Requirements for UID/GID management
Date: Sun, 29 Jan 2017 17:35:02
Message-Id: 20170129173429.0ee7161d@symphony.aura-online.co.uk
In Reply to: Re: [gentoo-dev] Requirements for UID/GID management by "A. Wilcox"
1 On Sun, 29 Jan 2017 11:16:50 -0600
2 "A. Wilcox" <awilfox@×××××××××××.org> wrote:
3
4 > On 28/01/17 13:32, James Le Cuirot wrote:
5 > > On Sat, 28 Jan 2017 12:13:53 -0600 "A. Wilcox"
6 > > <awilfox@×××××××××××.org> wrote:
7 > >
8 > >> Having a file that user.eclass would use to map new users/groups
9 > >> to IDs would be extremely beneficial to me. I was thinking about
10 > >> diving in to that some time later, after the GLEP 70 work I'm
11 > >> doing, but if someone else wants to take it - please! That would
12 > >> greatly ease the pain of not only NFS, but swapping data disks
13 > >> around between different / .
14 > >>
15 > >> Consider, for example, one of my use cases for this: I have a
16 > >> LibreSSL / that I use solely for testing ebuilds against it, and
17 > >> my regular / with OpenSSL. I share /home and /srv between these
18 > >> two, but the apache, nginx, and charybdis users have different
19 > >> UIDs between them. Therefore I have to chown -R each time I test
20 > >> LibreSSL.
21 > >>
22 > >> I could use a different /home and /srv, or make two copies, but
23 > >> it's much easier for me to test these apps having my entire
24 > >> normal environment available to me.
25 > >
26 > > As mentioned in my other post, why are you not using idmapd? It's
27 > > trivial to set up on top of NFSv4.
28 >
29 > I think you have missed the point. This is not on a network and this
30 > has nothing to do with NFS of any version.
31
32 Apologies, I didn't read that as closely as I should have done.
33
34 --
35 James Le Cuirot (chewi)
36 Gentoo Linux Developer