Package: powersaved
Version: 0.14.0-8
Severity: normal
Tags: patch

Hi!

The script in /usr/lib/powersave/scripts/wm_logout defaults to closing
the active user session if the power button is pressed. This can lead to
data loss if the power button is pressed by accident because there is no
confirmation dialog.

The problem is that ksmserver is called with

        dcop ksmserver ksmserver logout 0 0 0

Instead, the parameters should be

        dcop ksmserver ksmserver logout -1 -1 0

which uses the settings from KDE's control center and allows the user to
specify whether he'd rather see a dialog before the session is closed.

Thanks!

   Georg


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.23-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages powersaved depends on:
ii  adduser                       3.105      add and remove users and groups
ii  dbus                          1.1.1-3    simple interprocess messaging syst
ii  hal                           0.5.10-2   Hardware Abstraction Layer
ii  libc6                         2.7-3      GNU C Library: Shared libraries
ii  libcpufreq0                   002-5      shared library to deal with the cp
ii  libdbus-1-3                   1.1.1-3    simple interprocess messaging syst
ii  libdbus-glib-1-2              0.74-1     simple interprocess messaging syst
ii  libgcc1                       1:4.2.2-4  GCC support library
ii  libglib2.0-0                  2.14.3-1   The GLib library of C routines
ii  libhal1                       0.5.10-2   Hardware Abstraction Layer - share
ii  libpowersave10                0.14.0-8   power management daemon - shared l
ii  libstdc++6                    4.2.2-4    The GNU Standard C++ Library v3
ii  lsb-base                      3.1-24     Linux Standard Base 3.1 init scrip

Versions of packages powersaved recommends:
ii  acpid                  1.0.4-7.1         Utilities for using ACPI power man
ii  grub                   0.97-28           GRand Unified Bootloader
ii  hdparm                 7.7-1             tune hard disk parameters for high
ii  kpowersave             0.7.3-1           HAL based power management applet 
ii  uswsusp                0.3~cvs20060928-7 tools to use userspace software su

-- no debconf information



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

Reply via email to