nixpkgs/nixos/modules/services/system
Jamey Sharp de251704d6 nixos/nscd: run with a dynamic user
nscd doesn't create any files outside of /run/nscd unless the nscd.conf
"persistent" option is used, which we don't do by default. Therefore it
doesn't matter what UID/GID we run this service as, so long as it isn't
shared with any other running processes.

/run/nscd does need to be owned by the same UID that the service is
running as, but systemd takes care of that for us thanks to the
RuntimeDirectory directive.

If someone wants to turn on the "persistent" option, they need to
manually configure users.users.nscd and systemd.tmpfiles.rules so that
/var/db/nscd is owned by the same user that nscd runs as.

In an all-defaults boot.isContainer configuration of NixOS, this removes
the only user which did not have a pre-assigned UID.
2019-07-03 13:27:29 -07:00
..
kerberos treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
cgmanager.nix cgmanager: add module 2016-12-02 13:52:04 +01:00
cloud-init.nix treewide: systemd timeout arguments to use infinity instead of 0 (#50934) 2018-11-25 13:33:22 +01:00
dbus.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00
earlyoom.nix nixos/earlyoom: add notificationsCommand option 2019-01-08 22:14:48 +07:00
localtime.nix Merge pull request #63204 from michaelpj/imp/localtime-upstream 2019-06-19 08:38:03 -04:00
nscd.conf nixos/nscd: run with a dynamic user 2019-07-03 13:27:29 -07:00
nscd.nix nixos/nscd: run with a dynamic user 2019-07-03 13:27:29 -07:00
saslauthd.nix nixos: correct improper uses of mkEnableOption, clarify service descriptions 2018-10-05 13:14:45 +07:00
uptimed.nix nixos/modules: users.(extraUsers|extraGroup->users|group) 2018-06-30 03:02:58 +02:00