[Pkg-utopia-maintainers] Bug#652374: Bug#652374: consolekit: fails to activate dbus service consolekit on first login attempt

Martin Steigerwald Martin at lichtvoll.de
Sat Dec 17 17:46:43 UTC 2011


Am Samstag, 17. Dezember 2011 schrieb Michael Biebl:
> On 17.12.2011 17:21, Martin Steigerwald wrote:
> > Am Freitag, 16. Dezember 2011 schrieb Michael Biebl:
> >> On 16.12.2011 21:54, Martin Steigerwald wrote:
> > […]
> > 
> >> This mix might indeed be a problem. Please make sure, both have the
> >> same version by either up or downgrading. Testing 1.4.16-1 in any
> >> case might be a good idea.
> > 
> > BTW as a work-around it is sufficient to Ctrl-Alt-Backspace the X
> > server that is started by kdm when the error message appears and
> > then try to login again so it really seems to be a timing issue.
> 
> So, after a (re)boot, is console-kit-daemon running then or not?

Yes:

martin at merkaba:~> ssh shambhala
Linux shambhala 3.2.0-rc4-686-pae #1 SMP Mon Dec 5 02:43:51 UTC 2011 i686
You have mail.
Last login: Sat Dec 17 17:17:16 2011 from merkaba.lichtvoll
martin at shambhala:~> date
Sa 17. Dez 18:39:02 CET 2011
martin at shambhala:~> ps aux | grep console
root      1919  0.1  0.1  26660  3136 ?        Sl   18:38   0:00 
/usr/sbin/console-kit-daemon --no-daemon
[…]

> As which use is dbus-daemon running under
> cat /proc/<pid>/status

martin at shambhala:~> cat /proc/1919/status                                       
Name:   console-kit-dae
State:  S (sleeping)
Tgid:   1919
Pid:    1919
PPid:   1
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
FDSize: 32
Groups: 0 
VmPeak:    26664 kB
VmSize:    26660 kB
VmLck:         0 kB
VmPin:         0 kB
VmHWM:      3136 kB
VmRSS:      3136 kB
VmData:    20920 kB
VmStk:       136 kB
VmExe:       136 kB
VmLib:      5308 kB
VmPTE:        48 kB
VmSwap:        0 kB
Threads:        65
SigQ:   0/16102
SigPnd: 0000000000000000
ShdPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 0000000000001002
SigCgt: 0000000180010200
CapInh: 0000000000000000
CapPrm: ffffffffffffffff
CapEff: ffffffffffffffff
CapBnd: ffffffffffffffff
Cpus_allowed:   1
Cpus_allowed_list:      0
Mems_allowed:   1
Mems_allowed_list:      0
voluntary_ctxt_switches:        109
nonvoluntary_ctxt_switches:     14
 
> Do that uid/gid match what's in /etc/passwd|group resp. getent
> passwd|group.

Its running as root.

martin at shambhala:~> getent passwd | grep :0:0:
root:x:0:0:root:/root:/usr/bin/zsh
martin at shambhala:~> getent group | grep :0:
root:x:0:root

Another obversation:

The time I took to get that debug output apparently was enough to bring up 
dbus service console kit. I didn´t have to Ctrl-Alt-Backspace X11 to get a 
working setup.

So it really seems to be a timing issue. I use insserv with makefile 
concurrent starting of init scripts.

Thanks,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7





More information about the Pkg-utopia-maintainers mailing list