abc7d4d50a
* modules/systemd: fix logic: disabled means disabled
Fix logic determining whether a service with both systemd and initd files is enabled or disabled.
In situations where systemd thinks service is disabled, but rc.d symlinks mark it as enabled,
this module wrongly assumes the service is enabled.
Fix this logic: disabled means disabled
Only when the output from systemctl is-enabled does NOT include disabled, consider the status of rc.d symlinks.
This essentially replicates the fixes done to the systemd handling in the "service" module in 3c89a21e0c
Fixes #22303
Fixes #44409
Fixes #39116
* backport/2.6/46245: add changelog fragment
2 lines
116 B
YAML
2 lines
116 B
YAML
bugfixes:
|
|
- In systemd module, fix check if a systemd+initd service is enabled - disabled in systemd means disabled
|