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#33161 - [openldap] ignores additional configuration when started with systemd

Attached to Project: Arch Linux
Opened by Delco (delco) - Saturday, 22 December 2012, 12:34 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 22 December 2012, 13:30 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
The slapd is not working as expected after the change to systemd.
The slapd.service file does not use the additional configuration values from /etc/conf.d/slapd and therefor
the service is not started with the correct services.

Additional info:
* package version(s)
i686 openldap-2.4.33-3

* config and/or log files etc.
part from old slapd rc script:
if [ -z "$SLAPD_SERVICES" ]; then
/usr/sbin/slapd -u ldap -g ldap $SLAPD_OPTIONS
else
/usr/sbin/slapd -u ldap -g ldap -h "$SLAPD_SERVICES" $SLAPD_OPTIONS
fi

part from new slapd.service file:
ExecStart=/usr/sbin/slapd -u ldap -g ldap



Steps to reproduce:
start slapd.service via systemd
it is still working when started via rc.conf
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 22 December 2012, 13:30 GMT
Reason for closing:  Not a bug
Comment by Delco (delco) - Saturday, 22 December 2012, 13:21 GMT
Or is it the "systemd way" to copy the default service file to /etc/systemd/system and change it to fit my needs?
Comment by Eric Belanger (Snowman) - Saturday, 22 December 2012, 13:30 GMT
> Or is it the "systemd way" to copy the default service file to /etc/systemd/system and change it to fit my needs?

yes

Loading...