Hi , I want to match uid/gid across multiple systems but before I
potentially destroy multiple systems trying to fix the mess I want to
see if there is an easier/better way:
The cause of the problem is the "ACCT_USER_ID=-1" in the acct-user and
matching acct-group ebuilds (which I think means use next available
uid/gid - which in my case isn't close to consistent.)
Its just come to a head when I added a third lxc host system and some
services (inside the lxc VM using passthrough to the host) are not
working properly on migration - but even if this is not the cause, it
needs fixing :(
Should I:
on each host:
1. stop the relevant services and VM's
2. emerge -C the applicable acct-user/xxx and acct-group/xxxx ebuilds
3. remove remnants from the passwd and group files
4. edit the ebuilds in an overlay setting ACCT_USER_ID to the wanted uid
and ACCT_GROUP_ID to the wanted gid
5. reinstall the ebuilds
6. issue a find for the old uid's and gid's changing them to the new ones
7. restart the systems
8. sit back and bask in the glow of a job well done
So to the questions: is there a better way? Have I missed anything? is
there another way to pin uid's and gid's?
BillK