<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:zbyszek@in.waw.pl" title="Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>"> <span class="fn">Zbigniew Jedrzejewski-Szmek</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW --- - localectl ignore simple errors"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64973">bug 64973</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Hardware</td>
<td>Other
</td>
<td>All
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>zbyszek@in.waw.pl
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - localectl ignore simple errors"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64973#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - localectl ignore simple errors"
href="https://bugs.freedesktop.org/show_bug.cgi?id=64973">bug 64973</a>
from <span class="vcard"><a class="email" href="mailto:zbyszek@in.waw.pl" title="Zbigniew Jedrzejewski-Szmek <zbyszek@in.waw.pl>"> <span class="fn">Zbigniew Jedrzejewski-Szmek</span></a>
</span></b>
<pre>I can confirm that we will write strings with whitespace, which are then
silently ignored by X. The syntax for the option string doesn't seem to be
explictly documented anywhere though. I guess we might want to simply reject
options with whitespace, which would probably catch many simple errors.
A more ambitious option would be to try to actually verify the option string.
In principle 'localectl list-x11-keymap-options' lists the options and we could
split at commas and verify that the options are in that list... I have no idea
how robust this check would be, i.e. how often X would actually accept options
not on this list. I'm not sure if we want to open this can of worms.</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>