guix/doc
Giacomo Leidi a1ecd7f56c
system: Add /etc/subuid and /etc/subgid support.
This commit adds a Guix System service to handle allocation of subuid
and subgid requests.  Users that don't care can just add themselves as a
subid-range and don't need to specify anything but their user name.
Users that care about specific ranges, such as possibly LXD, can specify
a start and a count.

* doc/guix.texi (Miscellaneous Services): Document it.
* gnu/build/activation.scm (activate-subuids+subgids): New variable.
* gnu/local.mk: Add gnu/tests/shadow.scm.
* gnu/system/accounts.scm (sexp->subid-range): New variable.
* gnu/system/shadow.scm (%root-subid): New variable;
(subids-configuration): new record;
(subid-range->gexp): new variable;
(assert-valid-subids): new variable;
(delete-duplicate-ranges): new variable;
(subids-activation): new variable;
(subids-extension): new record;
(append-subid-ranges): new variable;
(subids-extension-merge): new variable;
(subids-service-type): new variable.
* gnu/tests/shadow.scm (subids): New system test.

Change-Id: I3755e1c75771220c74fe8ae5de1a7d90f2376635
Signed-off-by: Giacomo Leidi <goodoldpaul@autistici.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
2024-12-18 18:32:40 +01:00
..
images doc: Use "dejavu sans" instead of "Helvetica" or "sans" in dot images. 2024-04-14 10:29:07 +02:00
build.scm doc: Refer to ‘iso-codes’, not ‘iso-codes/pinned’. 2024-10-14 14:08:42 +02:00
contributing.texi doc: Document naming convention for work-in-progress branches. 2024-12-16 22:39:24 +09:00
environment-gdb.scm doc: Update GDB "guix shell" example to use autoconf-2.69 2023-07-18 00:41:15 +02:00
fdl-1.3.texi
guix-cookbook.texi doc: cookbook: Document postgres upgrade for cuirass. 2024-12-12 12:52:08 +01:00
guix.texi system: Add /etc/subuid and /etc/subgid support. 2024-12-18 18:32:40 +01:00
he-config-bare-bones.scm
htmlxref.cnf nls: Update translations. 2024-06-03 00:27:12 +02:00
local.mk nls: Update translations. 2024-06-03 00:27:12 +02:00
package-hello.json import: Do not return package name with json importer. 2024-02-23 19:02:55 +01:00
package-hello.scm