summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/libgpuarray
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2019-03-27 02:27:57 +0100
committerFlorian Klink <flokli@flokli.de>2019-03-28 13:08:47 +0100
commit8817bbefdbe9f54f7ee42e5cef00f386e227bf5d (patch)
tree31dcfd14da5a0177007bc2db3716fcac35c3d4c7 /pkgs/development/python-modules/libgpuarray
parent0a1451afe366873890c1df7a2fc6532ccc39f6bf (diff)
nixos/ldap: set proper User= and Group= for nslcd service
eb90d9700958aefbc7b886f2b524c6d04dc1d80d broke nslcd, as /run/nslcd was created/chowned as root user, while nslcd wants to do parts as nslcd user. This commit changes the nslcd to run with the proper uid/gid from the start (through User= and Group=), so the RuntimeDirectory has proper permissions, too. In some cases, secrets are baked into nslcd's config file during startup (so we don't want to provide it from the store). This config file is normally hard-wired to /etc/nslcd.conf, but we don't want to use PermissionsStartOnly anymore (#56265), and activation scripts are ugly, so redirect /etc/nslcd.conf to /run/nslcd/nslcd.conf, which now gets provisioned inside ExecStartPre=. This change requires the files referenced to in users.ldap.bind.passwordFile and users.ldap.daemon.rootpwmodpwFile to be readable by the nslcd user (in the non-nslcd case, this was already the case for users.ldap.bind.passwordFile) fixes #57783
Diffstat (limited to 'pkgs/development/python-modules/libgpuarray')
0 files changed, 0 insertions, 0 deletions