<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 --- - udev does not report errors properly when values are not quoted"
href="https://bugs.freedesktop.org/show_bug.cgi?id=67508">67508</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>udev does not report errors properly when values are not quoted
</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>mgorny@gentoo.org
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</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>For example, consider the following rule file:
KERNEL=="foo*", ATTR{bar}=1
The missing quoting around '1' results in udev silently ignoring the rule and
not reporting a single error. It should verbosely report a broken line instead.
falconindy nailed it down:
00:11:02 <falconindy> ah, think i found it...
00:11:26 <falconindy> mgorny:
00:11:26
<a href="http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-rules.c#n826">http://cgit.freedesktop.org/systemd/systemd/tree/src/udev/udev-rules.c#n826</a>
00:11:40 <falconindy> if not quoted, return -1. dun.
00:13:20 <falconindy> add_rule just needs to log the error on return from
get_key</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>