systemctl output sent to stderr which may not help other software to detect whether starting of the service was failure or success?
Issue
- The output of 'systemctl enable
' is sent to standard error, although the command completes successfully (output: ln -s '/etc/systemd/system/.service' '/etc/systemd/system/multi-user.target.wants/ .service'). This causes problems when automation tools use the output channel as an indicator about failure or success. i.e with BMC BladeLogic.
Environment
- Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.