Created attachment 13367 [details] Patch for the file: /usr/share/X11/xkb/rules/base Description of problem: The command "setupcon" doesn't applies keyboard settings from the file "/etc/default/keyboard". It prints the messages: WARNING: Syntax error in the following line in "rules/base": WARNING: armada asus_laptop benqx btc5090 btc6301urf btc9019u / Died at /usr/bin/ckbcomp line 3228, <RULES> line 105. Version-Release number of selected component (if applicable): Mageia Cauldron How reproducible: Execute "setupcon" command in a virtual text console. Steps to Reproduce: 1. Switch to the virtual text console (Ctrl+Alt+F1). 2. Login as root user. 3. Enter "setupcon". Cause of problem: RPM "xkeyboard-config-2.36-1.mga9.src.rpm" contains the file "/usr/share/X11/xkb/rules/base" with syntax errors: "/" instead "\" as end-of-line escape characters.
Thanks Ihar :-) Assigning to all packagers collectively, since there is no registered maintainer for this package. CC'ing tv because he is the de facto maintainer.
Source RPM: (none) => xkeyboard-config-2.36-1.mga9CC: (none) => marja11, thierry.vignaudKeywords: (none) => PATCHSummary: The command "setupcon" crashes => The command "setupcon" crashes because several newlines are escaped with slashes instead of backslashes.Assignee: bugsquad => pkg-bugs
Upstream fix for this was already added to 2.36 [1][2], but it was not applied. I applied it and other patches from upstream in xkeyboard-config-2.36-2.mga9. [1] https://svnweb.mageia.org/packages?view=revision&revision=1867767 [2] https://svnweb.mageia.org/packages/cauldron/xkeyboard-config/current/SOURCES/0001-rules-use-backslashes-instead-of-slashes-for-line-co.patch?view=markup&pathrev=1867767
Closing as FIXED. Feel free to re-open if needed.
Status: NEW => RESOLVEDResolution: (none) => FIXEDCC: (none) => jani.valimaa