service.enabled (and possibly others) can't find a service if ".service" is appended to service name #26358
Labels
Bug
broken, incorrect, or confusing behavior
Execution-Module
help-wanted
Community help is needed to resolve this
P2
Priority 2
Platform
Relates to OS, containers, platform-based utilities like FS, system based apps
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
stale
Milestone
Hi,
In systemd, the true name for a service ends with ".service", the form without this suffix being merely a shortcut. SaltStack doesn't understand this:
...results in:
If I remove ".service", it works:
...results in:
The form ending in ".service" being the true form, and the one without the suffix being a shortcut (emphasized by the bash completion for systemctl command), I think SaltStack should understand both and not give an error if ".service" is added to a service name.
Moreover, other suffices work as expected. For example, to have /tmp mounted in a ramdisk:
...results in:
Thanks.
The text was updated successfully, but these errors were encountered: