nixpkgs/nixos/modules/services
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
..
admin
amqp
audio mpd: fix socket activation 2022-06-11 20:56:19 +02:00
backup nixos/restic: add backup{Prepare,Cleanup}Command options 2022-06-03 11:22:22 -03:00
blockchain/ethereum
cluster
computing nixos/slurm: update systemd service for slurmd 2022-05-29 17:17:01 +02:00
continuous-integration hydra: create runcommand-logs directory 2022-06-06 11:36:58 -07:00
databases nixos/openldap: fix systemd rejecting notification (#177084) 2022-06-13 15:28:12 +02:00
desktops pipewire: create home directory for the pipewire user when running systemwide 2022-06-06 18:06:38 +03:00
development
display-managers
editors
finance
games nixos/asf: ipcPasswordFile use nullOr 2022-06-04 12:00:45 -06:00
hardware nixos/udev: compress all firmware if supported 2022-05-13 14:36:34 +00:00
home-automation nixos/home-assistant: fix openFirewall 2022-05-05 15:04:46 -07:00
logging syslogng_incubator: remove after being marked broken for over 18 months 2022-06-02 18:03:52 +02:00
mail nixos/postfixadmin: Upgrade to PHP 8.1 2022-06-08 18:08:56 +02:00
matrix nixos: move matrix services into their category 2022-06-06 13:50:58 +09:00
misc Merge #172819: nixos: move matrix services into their category 2022-06-10 10:54:18 +02:00
monitoring Merge pull request #175330 from jtojnar/grafana-uid 2022-06-13 07:01:19 +02:00
network-filesystems nixos/ipfs: fix the services.ipfs.autoMigrate option 2022-04-16 07:38:13 -04:00
networking nixos/wpa_supplicant: don't log that wpa_supplicant.conf is ignored with allowAuxiliaryImperativeNetworks = true 2022-06-12 17:07:36 +02:00
printing
scheduling
search
security nixos/infnoise: init 2022-05-27 15:18:43 -07:00
system cachix-agent: set USER to please cachix 2022-06-09 17:07:28 +01:00
torrent
ttys nixos/kmscon: Add fonts option 2022-04-18 15:56:34 +02:00
video
wayland treewide: pkgs.systemd -> config.systemd.package 2022-05-05 20:00:31 +02:00
web-apps nixos/snipe-it: Upgrade to PHP 8.1 2022-06-08 18:09:15 +02:00
web-servers nixos/nginx: fix SystemCallFilter for openresty 2022-05-30 11:58:28 +02:00
x11 Merge pull request #151005 from rhoriguchi/gnome 2022-06-11 21:40:35 +02:00