[systemd-bugs] [Bug 90727] New: list-dependencies colors are undocumented, have unintuitive meaning

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu May 28 09:09:52 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90727

            Bug ID: 90727
           Summary: list-dependencies colors are undocumented, have
                    unintuitive meaning
           Product: systemd
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: minor
          Priority: medium
         Component: general
          Assignee: systemd-bugs at lists.freedesktop.org
          Reporter: fsateler at gmail.com
        QA Contact: systemd-bugs at lists.freedesktop.org

Currently list-dependencies prints a colored dot by default indicating status:
green is active, red is inactive.

This is not documented in the man page for systemctl.

A paragraph like the following might help:

            <para>If the <option>--plain</option> option is not specified,
            each unit will be prefixed by a colored dot, indicating the
            current activity status of the unit. Green indicates the unit is
            currently active, red indicates the unit is inactive.</para>



However, that is a lot of states to collapse into red: a unit may be inactive
because it is failed, or perhaps it just wasn't pulled in by anything, or it
maybe doesn't even exist. Red also marks oneshot units that exited
successfully!

I think using the same color scheme as systemctl status use for the active
state makes sense: uncolored for inactive without errors (including not found
units), yellow for condition failures, and red for error states.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20150528/93760551/attachment.html>


More information about the systemd-bugs mailing list