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

2021-06-09 Thread Arun Isaac
Hi all, For many services, extending the activation-service-type with a gexp that can chown the necessary files is a good enough solution. This is how I work around the problem of unstable uids/gids in my guix system containers. Regards, Arun signature.asc Description: PGP signature

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

2021-04-07 Thread Brendan Tildesley via Bug reports for GNU Guix
It may be useful to see what Nix does. Nix has many static id, with the comment: # IMPORTANT! # We only add static uids and gids for services where it is not feasible # to change uids/gids on service start, in example a service with a lot of # files. Please also check if the service is applicable

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