bug#45571: Support stable uids and gids for system accounts in a container

2020-12-31 Thread Jason Conroy
If I understand correctly, the container script produced by "guix system container" will allocate the same uid and gid for a service on each execution, but only if the corresponding entry in the service list has the same absolute position as it did before. I.e., if the services are reordered or if

bug#45570: operating-system definitions allow duplicate passwd and group entries

2020-12-31 Thread Jason Conroy
When an operating-system contains multiple users or groups with the same name, instantiating it with `guix system` does not cause a validation failure, nor are the duplicate entries filtered from the resulting /etc files. This duplication can happen in a few different ways: - both entries are man

bug#45571: Support stable uids and gids for all accounts

2021-01-01 Thread Jason Conroy
Hi Danny, Your idea has a definite elegance to it. :) I did not realize that Linux supported 32-bit UIDs out-of-the-box. Still, I wonder if this could introduce support challenges for packages that incorrectly assume UIDs are 16 bits wide, since they traditionally were that way in UNIX, and since

bug#45571: Fwd: Re: bug#45571: Support stable uids and gids for all accounts

2021-01-02 Thread Jason Conroy
On Fri, Jan 1, 2021 at 10:11 PM Leo Prikler wrote: > Hi Danny, > Am Samstag, den 02.01.2021, 02:40 +0100 schrieb Danny Milosavljevic: > > Hi Leo, > > > > On Sat, 02 Jan 2021 00:16:45 +0100 > > Leo Prikler wrote: > > > > > > And it indeed is possible to add (uid 4711) in the literal and it > > >

bug#45571: Fwd: Re: bug#45571: Support stable uids and gids for all accounts

2021-01-02 Thread Jason Conroy
On Sat, Jan 2, 2021 at 9:29 AM Leo Prikler wrote: > Hi Jason, > Am Samstag, den 02.01.2021, 09:02 -0500 schrieb Jason Conroy: > > On Fri, Jan 1, 2021 at 10:11 PM Leo Prikler < > > leo.prik...@student.tugraz.at> wrote: > > > Hi Danny, > > > Am Samstag,

bug#45571: Fwd: Re: bug#45571: Support stable uids and gids for all accounts

2021-01-02 Thread Jason Conroy
Hi Danny, On Sat, Jan 2, 2021 at 9:50 AM Danny Milosavljevic wrote: > > >From the solutions we do have so far, I believe that making user > > > accounts an explicit part of service configuration (in what shape may > > > still be up for debate), > > Not everything needs to be user configurable.

bug#45571: Fwd: Re: bug#45571: Support stable uids and gids for all accounts

2021-01-02 Thread Jason Conroy
Hi Leo, On Sat, Jan 2, 2021 at 10:35 AM Leo Prikler wrote: > Hello Jason, > Am Samstag, den 02.01.2021, 09:52 -0500 schrieb Jason Conroy: > > On Sat, Jan 2, 2021 at 9:29 AM Leo Prikler < > > leo.prik...@student.tugraz.at> wrote: > > > Hi Jason, > > &g