systemd service state will list all unit files with every service check. #10710
Labels
Bug
broken, incorrect, or confusing behavior
Execution-Module
help-wanted
Community help is needed to resolve this
P4
Priority 4
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
Milestone
I was trying to debug why my state.highstate was running slow and found this issue:
with every service state, salt will first check is-active and then list all unit files:
While I would think salt would use systemctl is-enabled command only on the one service.
I think the logic would be for salt to check systemctl is-enabled on the servicename
if this fails use the --full list-unit-files trick. A fail is when the output isn't disabled or enabled.
debug output:
and then later:
The text was updated successfully, but these errors were encountered: