Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#30874 - [openldap] init scripts adds slapd daemon even if starting fails

Attached to Project: Arch Linux
Opened by Janne Rönkkö (jroo) - Friday, 27 July 2012, 05:20 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 01 August 2012, 08:03 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

/etc/rc.d/slapd contains the following
if 8 $? -gt 0 ]; then
stat_fail
else
stat_done
fi
add_daemon slapd

The add_daemon should be in the else block, i.e. only add the daemon if starting succeeded.

Additional info:
openldap-2.4.31-4


Steps to reproduce:
Start slapd with incorrect configuration, i.e. starting slapd should fail
rc.d list shows that slapd is started
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 01 August 2012, 08:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  openldap-2.4.32-1 in [testing]

Loading...