<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - RFE: All unit condition pre-requisites mismatch must be logged"
href="https://bugs.freedesktop.org/show_bug.cgi?id=69209">69209</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>RFE: All unit condition pre-requisites mismatch must be logged
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>koloboid@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>