Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The "slapd.service" systemd unit appears to have a typo #3260

Open
hksdpc255 opened this issue Feb 9, 2025 · 3 comments
Open

The "slapd.service" systemd unit appears to have a typo #3260

hksdpc255 opened this issue Feb 9, 2025 · 3 comments
Labels

Comments

@hksdpc255
Copy link

Run systemctl status slapd on a fresh-installed ClearLinux gets a log like:

Unknown key 'ConditionPathExists' in section [Service], ignoring.
@MarcusPro7
Copy link

Hi, I ran your command on my machine installed with the latest available version (6.13.1-1540.native) and it returns this:

$ systemctl status slapd
○ slapd.service - OpenLDAP Server Daemon
     Loaded: loaded (/usr/lib/systemd/system/slapd.service; disabled; preset: disabled)
     Active: inactive (dead)
       Docs: man:slapd
             man:slapd-config
             man:slapd-mdb

Feb 10 19:42:09 sal8 systemd[1]: /usr/lib/systemd/system/slapd.service:10: Unknown key 'ConditionPathExists' in section [Service], ignoring.
Feb 10 19:44:58 sal8 systemd[1]: /usr/lib/systemd/system/slapd.service:10: Unknown key 'ConditionPathExists' in section [Service], ignoring.

It shows Inactive, how about yours?

@hksdpc255
Copy link
Author

Confirmed identical behavior on my system.

Upon reviewing the systemd documentation, I would like to propose that the ConditionPathExists directive may be misconfigured. This condition check should reside in the [Unit] section rather than [Service], as service control predicates are not evaluated in the Service context. Could we validate this configuration adjustment?

@fenrus75
Copy link
Contributor

fenrus75 commented Feb 11, 2025 via email

@ephut ephut removed the new label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants