1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA256 |
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 |
|
30 |
I think you have missed the point. This is not on a network and this |
31 |
has nothing to do with NFS of any version. |
32 |
|
33 |
This is two LVM volumes, /dev/ciall/libressl and /dev/ciall/root, |
34 |
mounting /dev/ciall/home and /dev/ciall/srv where they belong. The |
35 |
kernel is started with different root=, or sometimes I just bind mount |
36 |
and chroot if I want to run both at the same time. |
37 |
|
38 |
Nothing to do with networking, just two parallel Gentoo installs on the |
39 |
same machine that can't agree worth a darn on UIDs/GIDs. |
40 |
|
41 |
I like the pre_pkg_setup idea spouted elsewhere in this thread and will |
42 |
likely start using this myself until Gentoo figures out how to guarantee |
43 |
stability with UIDs. |
44 |
|
45 |
Regards, |
46 |
- --arw |
47 |
|
48 |
- -- |
49 |
A. Wilcox (awilfox) |
50 |
Project Lead, Adélie Linux |
51 |
http://adelielinux.org |
52 |
-----BEGIN PGP SIGNATURE----- |
53 |
Version: GnuPG v2 |
54 |
|
55 |
iQIcBAEBCAAGBQJYjiOAAAoJEMspy1GSK50UWrAQAIq0fz+oxA2SWCEBNdKKZgRN |
56 |
gNJOcnEj9lWSiE4bXA4C4diFj38GD5HhTK6awwNjEJ2e3S/+IvJvy97RcUjzpP09 |
57 |
iE+77p3YyZeVxywONJ+BK0gSWc3pJrYzzZWMmHMhIhA5TW78OPKFgP4q+FT8Ruwu |
58 |
TdYL4/cH6shcELacsgLq+0fBxgT8xkl5LA0OWdW5g2lVFzcnZ7sM/qX7WMlksaVY |
59 |
o4fPBc10hNwrAW5HsSBOw6tZsf+8CtaBaYVub1DfgWSLxmE70+9pX+4VCObvuc9m |
60 |
CZ1u3tvcus7xBbpIDxD9M6yC7Jkj250Gr0IAJol2y8JJY5EyCu/iNtUbHT3lgb+F |
61 |
qRKLbMDp91F9jzHmup04UuJdVkcDaxA4nfb7RWGOnH4U5BmmCdHkxUMtSA2vPNAh |
62 |
9m7dwn+Yb6OjHKvB/gswbRfT4vV6bn0a07/J72GBgoWvEvGZ/rj9mO5O7gu/k9eQ |
63 |
zXc3eSWWmi6S3FtDHKNP7U+CrBGOu6DN79GGDO4zzGpl8aWGFm8ol3qW5jtWKdsP |
64 |
y0K1n2erH1Xfj5CoXzcbm3s7EQxiB3hEHlfv2gYYMrZZuqKgrVXQ5krvNApbsiQo |
65 |
dVmGOugfIUnVcv/o6rpwtCzNnyGahq6PISkJbRwzh3irA7fsZjYYZITnN6Ba0jIU |
66 |
EVO3/JgkJDAvyn+ZWQ8O |
67 |
=aaA7 |
68 |
-----END PGP SIGNATURE----- |