Your message dated Wed, 04 Aug 2010 14:08:54 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-utopia-maintainers] Bug#591618: consolekit not
started automatically when logging in with kdm
has caused the Debian Bug report #591618,
regarding consolekit not started automatically when logging in with kdm
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
591618: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=591618
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: consolekit
Version: 0.4.1-4
Severity: important
I recently upgraded my Dell workstation at work from Lenny to Squeeze.
Upon logging in with kdm 4:4.4.5-1 I get the following error dialog:
"Warning: Cannot open Consolekit session: Unable to open session:
Failed to execute programm /usr/lib/dbus-1.0/dbus-daemon-launch-helper:
Success"
This happens on every login not only on the first one (see
http://bugs.debian.org/562026). Also that launch helper is setuid root
(see http://bugs.debian.org/578203 and http://bugs.debian.org/569058):
m...@mango:~> ls -l /usr/lib/dbus-1.0/dbus-daemon-launch-helper
-rwsr-xr-- 1 root messagebus 39880 27. Jul 21:39
/usr/lib/dbus-1.0/dbus-daemon-launch-helper
I have the following in syslog:
Aug 4 09:22:59 mango kdm: :0[21127]: Cannot open ConsoleKit session: Unable to
open session: Failed to execute program
/usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Aug 4 09:23:01 mango ck-launch-session: error connecting to ConsoleKit
When I click "Ok" in the dialog, I still can login, but after some time I can
not lock the KDE session anymore, also Alt-F2 for running KRunner does not work.
When I logout and login again both functions work again.
When trying again with pressing Ctrl Alt Backspace when I see the
error dialog:
Aug 4 10:08:43 mango kdm: :0[10486]: Cannot open ConsoleKit session: Unable to
open session: Failed to execute program
/usr/lib/dbus-1.0/dbus-daemon-launch-helper: Success
Aug 4 10:08:47 mango kdm: :0[10486]: Cannot read from greeter for display :0
Aug 4 10:08:47 mango kdm: :0[10486]: Abnormal termination of greeter for
display :0, code 1, signal 0
Aug 4 10:08:47 mango kdm: :0[10486]: Cannot close ConsoleKit session: Unable
to close session: no session open
There is no console-kit-daemon process running.
To work around this issue I just started consolekit-daemon as root manually.
Then I didn't get an error message at boot.
I do have an Debian Squeeze/Sid/Experimental setup on my ThinkPad T42 setup
with same versions of ConsoleKit, DBUS and KDE, where this problem does
not happen. The only notable difference I can think of is that the
workstation as /home mounted via NFS while the ThinkPad has it as Ext4
filesystem. / is on an Ext4 filesystem is both cases. The NFS export is
mounted with root_squash, so that root cannot access it:
mango:~# LANG=C touch /home/ms/testfile
touch: cannot touch `/home/ms/testfile': Permission denied
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.33.6-workstation-toi-3.1.1.1-04982-g768d8a0-dirty (SMP w/2
CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages consolekit depends on:
ii dbus 1.2.24-3 simple interprocess messaging syst
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libck-connector0 0.4.1-4 ConsoleKit libraries
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libdbus-glib-1-2 0.86-1 simple interprocess messaging syst
ii libglib2.0-0 2.24.1-1 The GLib library of C routines
ii libpolkit-gobject-1-0 0.96-2 PolicyKit Authorization API
ii libx11-6 2:1.3.3-3 X11 client-side library
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages consolekit recommends:
pn libpam-ck-connector <none> (no description available)
consolekit suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
On 04.08.2010 13:58, Martin Steigerwald wrote:
>>
>> Is your messagebus user/group lokal or via LDAP?
>
> Local.
>
>> Could you send me the output of
>> grep messagebus /etc/passwd
>> grep messagebus /etc/group
>
> mango:~# grep messagebus /etc/{passwd,group}
> /etc/passwd:messagebus:x:102:109::/var/run/dbus:/bin/false
> /etc/group:messagebus:x:120:
>
> There are no conflicting LDAP entries, getent just shows the stuff in those
> files:
>
> mango:~# getent passwd | grep messagebus
> messagebus:x:102:109::/var/run/dbus:/bin/false
> mango:~# getent group | grep messagebus
> messagebus:x:120:
>
> But well, messagebus has 109 as primary group but the messagebus group has id
> 120. Group 109 is:
>
> mango:~# grep 109 /etc/group
> gdm:x:109:
>
> Does that make sense? I am using kdm here!
>
That is the problem. dbus-daemon is not running under the correct gid (should be
120), so the dbus-daemon-launch-helper can't be executed)
Please read through Simon's excellent explanation at [1]. It seems, your problem
is a duplicate of #589979
A simple way to fix this, is to edit /etc/passwd and correct the gid of the
messsagebus user (change to 120), as dbus-daemon needs to run with git
messagebus.
It would be interesting to know, how you ended up with such a configuration.
Did you copy around /etc/passwd or /etc/group?
I'm closing this bug as a local misconfiguration error.
Regards,
Michael
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589979#25
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-utopia-maintainers