[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689246: xserver-xephyr: Incorrect commandline arguments parsing



Package: xserver-xephyr
Version: 2:1.12.3.902-1
Severity: important

Dear Maintainer,

I run a multiseat setup, but in fact this happens also in a regular
environment. After this patch:
http://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=commit;h=af8ffefc070be8cb449812100b86501db17e8fd8

the commandline for Xephyr is not parsed properly. Example:

Xephyr -retro -keybd evdev,,device=/dev/input/event2,xkbrules=evdev,xkbmodel=evdev,xkblayout=pl -mouse evdev,,device=/dev/input/event1 :3

results in:

<snip>
Pointer option key (device=) of value (/dev/input/event1) not assigned!
Kbd option key (device=) of value (/dev/input/event2) not assigned!
Kbd option key (xkbrules=) of value (evdev) not assigned!
Kbd option key (xkbmodel=) of value (evdev) not assigned!
Kbd option key (xkblayout=) of value (pl) not assigned!
<snip>

The effect of the patch is that the "key=value" pairs are parsed in such a
way that the key is added an "equals" sign to it and we end up with keys
like "device=" instead of "device". This in turn has effect on
KdParsePointerOptions and KdParseKbdOptions: the key does not match
any choice presented in the "switch" statement, and so "Pointer/Kbd option
key (...) of value (...) not assigned!" happens, making all "key=value"
options inaccessible to the user. Reverting the patch makes them available
again.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages xserver-xephyr depends on:
ii  libaudit0                 1:1.7.18-1.1
ii  libc6                     2.13-35
ii  libdrm2                   2.4.33-3
ii  libgcrypt11               1.5.0-3
ii  libgl1-mesa-glx [libgl1]  8.0.4-2
ii  libpixman-1-0             0.26.0-3
ii  libselinux1               2.1.9-5
ii  libx11-6                  2:1.5.0-1
ii  libxau6                   1:1.0.7-1
ii  libxdmcp6                 1:1.1.1-1
ii  libxext6                  2:1.3.1-2
ii  libxfont1                 1:1.4.5-2
ii  libxv1                    2:1.0.7-1
ii  xserver-common            2:1.12.3.902-1

Versions of packages xserver-xephyr recommends:
ii  libgl1-mesa-dri  8.0.4-2

xserver-xephyr suggests no packages.

-- no debconf information


Reply to: