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#32007 - [openldap] /usr/lib/systemd/system/slapd.service needs EnvironmentFile option to function properly
Attached to Project:
Arch Linux
Opened by Jochen Keil (jrk) - Tuesday, 16 October 2012, 10:19 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 16 October 2012, 19:32 GMT
Opened by Jochen Keil (jrk) - Tuesday, 16 October 2012, 10:19 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 16 October 2012, 19:32 GMT
|
DetailsDescription:
For compatibility with the old /etc/rc.d/slapd script (which uses /etc/conf.d/slapd for configuration) /usr/lib/systemd/system/slapd.service needs to use the EnvironmentFile option. The whole file then looks like this: [Unit] Description=OpenLDAP server daemon [Service] Type=forking EnvironmentFile=/etc/conf.d/slapd ExecStart=/usr/sbin/slapd -u ldap -g ldap -h "$SLAPD_SERVICES" $SLAPD_OPTIONS [Install] WantedBy=multi-user.target Patch: --- /usr/lib/systemd/system/slapd.service 2012-08-01 04:25:19.000000000 +0200 +++ /tmp/slapd.service 2012-10-16 12:12:44.891478552 +0200 @@ -3,7 +3,8 @@ [Service] Type=forking -ExecStart=/usr/sbin/slapd +EnvironmentFile=/etc/conf.d/slapd +ExecStart=/usr/sbin/slapd -u ldap -g ldap -h "$SLAPD_SERVICES" $SLAPD_OPTIONS [Install] WantedBy=multi-user.target |
This task depends upon
Closed by Eric Belanger (Snowman)
Tuesday, 16 October 2012, 19:32 GMT
Reason for closing: Not a bug
Additional comments about closing: We don't want to be using Arch-specific service files, and anything with /etc/conf.d would be that. If you need to use special options, make a copy of the service in /etc/systemd/system and change it directly.
Tuesday, 16 October 2012, 19:32 GMT
Reason for closing: Not a bug
Additional comments about closing: We don't want to be using Arch-specific service files, and anything with /etc/conf.d would be that. If you need to use special options, make a copy of the service in /etc/systemd/system and change it directly.