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!
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!
FS#27873 - [openldap] init script does not stop the process
Attached to Project:
Arch Linux
Opened by Caleb Tennis (ctennis) - Sunday, 08 January 2012, 16:33 GMT
Last edited by Eric Belanger (Snowman) - Monday, 09 January 2012, 22:48 GMT
Opened by Caleb Tennis (ctennis) - Sunday, 08 January 2012, 16:33 GMT
Last edited by Eric Belanger (Snowman) - Monday, 09 January 2012, 22:48 GMT
|
DetailsThe init script for openldap uses kill to try and stop the process. This doesn't seem to stop it though, it continues to run happily.
ie: /etc/rc.d/slapd stop doesn't stop the process In reading the openldap docs, it seems like the preferred method is using SIGINT vs SIGTERM. Thus I propose changing the stop portion of the init script to "kill -INT" |
This task depends upon
$ sudo /etc/rc.d/slapd start
Password:
:: Starting OpenLDAP [DONE]
559 eric@ovide $ ps aux |grep slapd
ldap 29211 0.0 0.1 71084 4712 ? Ssl 20:09 0:00 /usr/sbin/slapd -u ldap -g ldap
eric 29215 0.0 0.0 11572 1008 pts/1 S+ 20:09 0:00 grep --color=auto slapd
560 eric@ovide $ sudo /etc/rc.d/slapd stop
:: Stopping OpenLDAP [DONE]
561 eric@ovide $ ps aux |grep slapd
eric 29247 0.0 0.0 11572 1004 pts/1 S+ 20:09 0:00 grep --color=auto slapd
This can be closed.