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#73575 - [openldap] systemd unit file quoting problem

Attached to Project: Arch Linux
Opened by Mike Messmore (mmessmore) - Monday, 31 January 2022, 12:25 GMT
Last edited by Antonio Rojas (arojas) - Friday, 11 February 2022, 20:23 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
This is an issue with the openldap package version 2.6.1-1.

In the out-of-box configuration, the systemd unit file for slapd fails to quote $SLAPD_URLS. When using multiple URLS, such as the default "ldap:/// ldapi:///"; this causes slapd to immediately exit due to incorrect options. This is not logged, but can be reproduced by hand.

Additional info:

I have only installed openldap 2.6.1-1 so I do not know if this is a regression, a change in upstream behavior, etc.

Placing quotation marks around "${SLAPD_URLS}" rectifies this issue. I have fixed for myself by creating an override file for the systemd unit.
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 11 February 2022, 20:23 GMT
Reason for closing:  Upstream
Comment by Antonio Rojas (arojas) - Friday, 11 February 2022, 20:22 GMT
The service file comes from upstream, please report it there
https://git.openldap.org/openldap/openldap/-/blob/master/servers/slapd/slapd.service

Loading...