systemctl output sent to stderr which may not help other software to detect whether starting of the service was failure or success?

Solution Verified - Updated -

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.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content