nixpkgs/nixos/modules/services/security
Michael Weiss 6852c080d8
nixos/sks: Fix another regression from ab5dcc7068
The two directories KDB and PTree do not exist before the SKS DB is
build for the first time. If /var/db/sks is empty and the module is
enabled via "services.sks.enable = true;" the following error will
occur:
...-unit-script-sks-db-pre-start[xxx]:
ln: failed to create symbolic link 'KDB/DB_CONFIG': No such file or directory

To avoid this both links have to be created after the DB is build.
Note: Creating the directories manually might be better but the initial
build might be skipped as a result:
unit-script-sks-db-pre-start[xxxxx]: KeyDB directory already exists.  Exiting.
unit-script-sks-db-pre-start[xxxxx]: PTree directory already exists.  Exiting.
2019-04-28 14:45:21 +02:00
..
bitwarden_rs nixos/bitwarden_rs: init 2019-04-23 23:46:57 +02:00
certmgr.nix certmgr service: add package option 2019-01-24 12:11:15 +01:00
cfssl.nix
clamav.nix
fail2ban.nix
fprintd.nix
fprot.nix
haka.nix
haveged.nix
hologram-agent.nix nixos/hologram-agent: /var/run -> /run 2019-03-24 21:15:30 +01:00
hologram-server.nix
munge.nix nixos/munge: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:00:56 -04:00
nginx-sso.nix nixos: add nginx-sso service 2019-01-29 19:54:14 +01:00
oauth2_proxy.nix
oauth2_proxy_nginx.nix
physlock.nix
shibboleth-sp.nix
sks.nix nixos/sks: Fix another regression from ab5dcc7068 2019-04-28 14:45:21 +02:00
sshguard.nix nixos/sshguard: fix syslog ids, no more pid file, cleanups 2019-01-28 11:36:29 +08:00
tor.nix nixos/tor: add HiddenServiceVersion option 2018-11-23 20:53:02 +00:00
torify.nix
torsocks.nix
usbguard.nix
vault.nix nixos/vault: replace deprecated usage of PermissionsStartOnly 2019-04-13 07:01:01 -04:00