Package: keytouch
Version: 2.3.0-1
Severity: important
Tags: patch

Hi,

The logic in Xsession.d/55keytouchd_launch is reverse:

if grep -qs ^disable-session-keytouch "$OPTIONFILE"; then
  if [ -x "$KEYTOUCHLAUNCH" ]; then
      STARTKEYTOUCH=''

this disables keytouchd-launch start only if *both*
disable-session-keytouch is present in options *and* keytouch-lounch is
present on the system.

When the package is removed, the second test fails, resulting in an
attempt to run keytouchd-launch, which fails, breaking the X session
startup.

Please make that file not fail by checking for keytouchd presense before
attempting to start it.

The following should do it:

if grep -qs ^disable-session-keytouch "$OPTIONFILE"
    || ! [ -x "$KEYTOUCHLAUNCH" ]; then
      STARTKEYTOUCH=''


Thanks,
    dam


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.21-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages keytouch depends on:
pn  keytouch-data               <none>       (no description available)
ii  libasound2                  1.0.14a-2    ALSA library
ii  libatk1.0-0                 1.18.0-2     The ATK accessibility toolkit
ii  libc6                       2.6-2        GNU C Library: Shared libraries
ii  libcairo2                   1.4.10-1+b2  The Cairo 2D vector graphics libra
ii  libfontconfig1              2.4.2-1.2    generic font configuration library
ii  libglib2.0-0                2.12.12-1+b1 The GLib library of C routines
ii  libgnome-menu2              2.18.3-1     an implementation of the freedeskt
ii  libgtk2.0-0                 2.10.13-1    The GTK+ graphical user interface 
ii  libpango1.0-0               1.16.4-3     Layout and rendering of internatio
ii  libx11-6                    2:1.0.3-7    X11 client-side library
ii  libxcursor1                 1:1.1.8-2    X cursor management library
ii  libxext6                    1:1.0.3-2    X11 miscellaneous extension librar
ii  libxfixes3                  1:4.0.3-2    X11 miscellaneous 'fixes' extensio
ii  libxi6                      2:1.1.1-1    X11 Input extension library
ii  libxinerama1                1:1.0.2-1    X11 Xinerama extension library
ii  libxrandr2                  2:1.2.1-1    X11 RandR extension library
ii  libxrender1                 1:0.9.2-1    X Rendering Extension client libra
ii  libxtst6                    1:1.0.2-1    X11 Testing -- Resource extension 

keytouch recommends no packages.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to