[systemd-bugs] [Bug 64973] localectl ignore simple errors

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 29 12:24:32 PDT 2013


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

Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Hardware|Other                       |All
                 CC|                            |zbyszek at in.waw.pl

--- Comment #1 from Zbigniew Jedrzejewski-Szmek <zbyszek at in.waw.pl> ---
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.

-- 
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/20130529/b33ee924/attachment.html>


More information about the systemd-bugs mailing list