Calling restart on init script does not restart daemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
389-ds-base (Ubuntu) |
Fix Released
|
Undecided
|
Timo Aaltonen | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
restarting the daemon instance doesn't always work properly
[Test Case]
configure an instance, try restarting it
[Regression Potential]
low, it's verified to work on a later release
--
When calling /etc/init.d/dirsrv restart the daemon doesn't fully shutdown after stop before start is called. The effect of this is that the service will stop if started and vice-versa. Adding a sleep between stop and start seems to fix this issue, though is probably not the right answer. The init script in RHEL/CentOS appears to work correctly, and is attached in case it is helpful.
root@server:~# /etc/init.d/dirsrv restart
* Starting 389 DS instance core1: ... [ OK ]
root@server:~# [08/Jan/
[08/Jan/
root@server:~# /etc/init.d/dirsrv restart
* Shutting down 389 DS instance core1: ... [ OK ]
* Starting 389 DS instance core1: ... [ OK ]
root@server:~# [08/Jan/
[08/Jan/
[08/Jan/
[08/Jan/
[08/Jan/
[08/Jan/
[08/Jan/
Related branches
Changed in 389-ds-base (Ubuntu Precise): | |
importance: | Undecided → Medium |
tags: |
added: verification-done removed: verification-needed |
I believe this is fixed in a later release,