nixpkgs/nixos/modules/services/databases
Léo Gaspard 02cd48717d
nixos/openldap: fix systemd rejecting notification (#177084)
On one of the two machines I have running openldap, openldap failed to start due to a "timeout". Increasing the allowed startup delay didn't help.

I noticed the following in logs:
```
openldap.service: Got notification message from PID 5224, but reception only permitted for main PID 5223
```

It turns out that on this machine at least, openldap apparently sends the notification from a non-main process, which means that we need this NotifyAccess setting for systemd to record that it successfully started. Without it, after 30 seconds systemd kills the process because it didn't receive the sd_notify call.

Somehow the other machine I have on nixos running ldap works fine even without this, but I could not figure out what changes the behavior.

Given that AFAIU NotifyAccess still restricts to "from the cgroup of the service", I think this change should be safe.
2022-06-13 15:28:12 +02:00
..
aerospike.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
cassandra.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
clickhouse.nix nixos/clickhouse: add package option 2021-11-21 20:29:41 +01:00
cockroachdb.nix nixos/cockroachdb: use escapeSystemdExecArgs for ExecStart args 2022-04-12 10:34:56 +02:00
couchdb.nix couchdb3: 3.2.1 -> 3.2.2 2022-04-26 09:02:36 +00:00
dragonflydb.nix dragonflydb: init at 0.1.0 2022-06-06 04:05:48 +05:30
firebird.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
foundationdb.nix nixos/*: fix indentation 2020-11-23 08:42:51 +10:00
foundationdb.xml
hbase.nix nixos/hbase: refactor settings option 2021-12-09 01:38:24 +01:00
influxdb2.nix influxdb2 service: don't use dynamic user 2021-12-27 20:31:27 +03:00
influxdb.nix nixos/influxdb: Fix cross compilation for config.toml 2021-10-10 10:34:55 +02:00
memcached.nix nixos: define the primary group of users where needed 2021-09-12 14:59:30 +02:00
monetdb.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
mongodb.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
mysql.nix nixos/mysql: minor cleanup and formatting 2021-12-22 08:57:18 -05:00
neo4j.nix nixos/tarsnap, nixos/neo4j: defaultText for submodule options 2021-12-09 01:42:24 +01:00
openldap.nix nixos/openldap: fix systemd rejecting notification (#177084) 2022-06-13 15:28:12 +02:00
opentsdb.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
pgmanage.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
postgresql.nix nixos/postgresql: use postgres 14 for 22.05 2022-05-03 22:23:08 +00:00
postgresql.xml nixos/postgresql: improve docs on how to upgrade 2021-12-11 18:22:31 +01:00
redis.nix nixos/redis: bind on localhost by default 2022-02-28 13:37:47 +01:00
rethinkdb.nix
riak.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00
victoriametrics.nix nixos/doc: clean up defaults and examples 2021-10-04 12:47:20 +02:00