[Pkg-utopia-maintainers] Bug#569058: Bug#569058: helper not setuid; breaks gnome-power-manager

Michael Biebl biebl at debian.org
Tue Feb 9 18:54:28 UTC 2010


Hi Joey!

Joey Hess wrote:
> 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*

Yes, the helper should be setuid.

> 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.

Possible.

> 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).

From which version did you upgrade?
You can find the current postinst at [1] along with its history. Afaics the last
time this particular code has been touched is over 2 years ago. I highly doubt
that such a bug would have been unnoticed for so long.

Cheers,
Michael


[1]
http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/dbus/debian/dbus.postinst
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20100209/72804143/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list