debian-bugs-dist  

Bug#569058: helper not setuid; breaks gnome-power-manager

Joey Hess
Tue, 09 Feb 2010 10:47:01 -0800

Package: dbus
Version: 1.2.20-2
Severity: normal

gnome-power-manager is not working, devkit-power has the same
problem:

(devkit-power:10045): devkit-power-gobject-WARNING **: Couldn't enumerate 
devices: The permission of the setuid helper is not correct

Is this supposed to be setuid?

-rwxr-xr-x 1 root root 39K Feb  3 22:19 
/usr/lib/dbus-1.0/dbus-daemon-launch-helper*

Downgrading dbus to testing fixed it for me:

-rwsr-xr-- 1 root messagebus 39K Jul 15  2009 
/usr/lib/dbus-1.0/dbus-daemon-launch-helper*

Then I re-upgraded, and the permissions were preserved.

Two possibilities:

1. Btrfs, which I use for my root filesystem, is more experimental than
   expected and somehow responsible for the lost suid bits and group
   ownership. Possible, but seems unlikely.
2. Somehow dbus.postinst's chown failed. Maybe I had a dpkg-statoverride
   entry for the helper from before (if so, I had not added it manually,
   and I don't have it now).

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

Kernel: Linux 2.6.31-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 dbus depends on:
ii  adduser                       3.112      add and remove users and groups
ii  libc6                         2.10.2-5   Embedded GNU C Library: Shared lib
ii  libdbus-1-3                   1.2.20-2   simple interprocess messaging syst
ii  libexpat1                     2.0.1-7    XML parsing C library - runtime li
ii  libselinux1                   2.0.89-4   SELinux runtime shared libraries
ii  lsb-base                      3.2-23     Linux Standard Base 3.2 init scrip

dbus recommends no packages.

Versions of packages dbus suggests:
ii  dbus-x11                      1.2.20-2   simple interprocess messaging syst

-- debconf-show failed

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature