Bug #15697
Updated by Alexis Mousset about 5 years ago
Rudder fails to re-enable and start the agent in some cases. <pre><code class="shell"> # rudder agent enable -s /opt/rudder/share/commands/../lib/common.sh: line 44: service: command not found </code></pre> Bug #1: The systemd detection fails: <pre><code class="shell"> # systemctl list-units --type service --all ${service}.service 2>&1 | grep -q "^${service}.service"; echo $? 1 # systemctl list-units --type service --all ${service}.service 2>&1 UNIT LOAD ACTIVE SUB DESCRIPTION ● rudder.service loaded failed failed LSB: Rudder server LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 1 loaded units listed. To show all installed unit files use 'systemctl list-unit-files'. </code></pre> Bug #2: The "service" compatibility wrapper is detected but not executed.