[systemd-bugs] [Bug 69209] New: RFE: All unit condition pre-requisites mismatch must be logged

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Sep 11 01:07:48 PDT 2013


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

          Priority: medium
            Bug ID: 69209
          Assignee: systemd-bugs at lists.freedesktop.org
           Summary: RFE: All unit condition pre-requisites mismatch must
                    be logged
        QA Contact: systemd-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: koloboid at gmail.com
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: general
           Product: systemd

Simple action:
I have an Archlinux, which up to date with latest packages on my laptop.
There are i8k package, which provides a kernel module and monitoring service.
Unit of this service is quite simple:

[Unit]
Description=Dell laptop thermal monitoring
ConditionPathExists=/proc/i8k

[Service]
ExecStart=/usr/bin/i8kmon -d

[Install]
WantedBy=multi-user.targe

If I run this unit as systemctl i8k start, the only change I have is line

systemd[1]: Started Dell laptop thermal monitoring.

in journal (journalctl -b), where an nothing was started (pgrep confirms it),
because /proc/i8k does not exists (kernel module is not loaded).

So, it would be awesome to report about any condition, which does not met in
journal, like:

systemd[1]: Unable to start Dell laptop thermal monitoring, coz
ConditionPathExists=/proc/i8k does not met

and this will really simplify our life's :)

Sorry for your time if it's dup.

-- 
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/20130911/4b22002b/attachment.html>


More information about the systemd-bugs mailing list