Bug 2179278
Summary: | dirsrv failed to start after reboot because "dirsrv" did not have access on /run/dirsrv | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Ding-Yi Chen <dchen> |
Component: | 389-ds-base | Assignee: | LDAP Maintainers <idm-ds-dev-bugs> |
Status: | CLOSED ERRATA | QA Contact: | LDAP QA Team <idm-ds-qe-bugs> |
Severity: | high | Docs Contact: | Evgenia Martynyuk <emartyny> |
Priority: | high | ||
Version: | 9.1 | CC: | bsmejkal, emartyny, idm-ds-dev-bugs, mreynolds, vashirov |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 9.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | sync-to-jira | ||
Fixed In Version: | 389-ds-base-2.3.6-2.el9 | Doc Type: | Bug Fix |
Doc Text: |
.The `dirsrv` service now starts correctly after reboot
Previously, `dirsrv` service could fail to start after reboot because `dirsrv` service did not explicitly wait for `systemd-tmpfiles-setup.service` to finish. This led to a race condition. With this update, `dirsrv` service waits for the `systemd-tmpfiles-setup.service` to finish and no longer fail to start after reboot.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2023-11-07 08:25:18 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ding-Yi Chen
2023-03-17 07:53:43 UTC
I believe there is a race condition when dirsrv tries to start before systemd-tmpfiles-setup. I couldn't reproduce it myself, but this is not the first time this issue gets reported. Perhaps we should explicitly require it in our unit file, like so: After=systemd-tmpfiles-setup.service Build tested: 389-ds-base-2.3.6-2.el9.x86_64 # systemctl cat dirsrv@localhost | grep tmpfiles After=chronyd.service ntpd.service network-online.target systemd-tmpfiles-setup.service Wants=systemd-tmpfiles-setup.service # systemctl list-dependencies dirsrv@localhost | grep tmpfiles ● ├─systemd-tmpfiles-setup.service ● ├─systemd-tmpfiles-setup-dev.service ● ├─systemd-tmpfiles-setup.service Marking as Verified:Tested, SanityOnly. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (389-ds-base bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6350 |