Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 5864 - Server fails to start after reboot because it's unable t…
…o access nsslapd-rundir Bug Description: Sometimes after reboot dirsrv service fails to start: EMERG - main - Unable to access nsslapd-rundir: No such file or directory EMERG - main - Ensure that user "dirsrv" has read and write permissions on /run/dirsrv EMERG - main - Shutting down. We rely on systemd-tmpfiles for /run/dirsrv creation. But dirsrv service doesn't explicitly wait for systemd-tmpfiles-setup.service to start. This creates a race condition. Fix Description: dirsrv service should start only after systemd-tmpfiles-setup.service is finished, add it as a dependency via `After=` and `Wants=`. Fixes: #5864 Reviwed-by: @Firstyear (Thanks!)
- Loading branch information