After the last world update it happend to me that i was not able to login on kdm. I found out that this is related to consolekit not beeing able to start. When i start it manualy on a terminal i get the following: HighEnd2 ~ # console-kit-daemon --debug --no-daemon console-kit-daemon[25846]: DEBUG: Debugging enabled process 25846: arguments to dbus_connection_ref() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2509. This is normally a bug in some application using the D-Bus library. D-Bus not built with -rdynamic so unable to print a backtrace Aborted revdep-rebuild reports no error, and my whole system is build with the consolekit-useflag enabled. This seems to be related to bug #263307 but i could not find a solution for it in this bugreport. Reproducible: Always Steps to Reproduce: 1. Have a ~arch system 2. run consolekit Actual Results: consolekit fails to start Expected Results: consolekit should start Portage 2.2_rc33 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.30-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.30-gentoo-r1-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 12 Jun 2009 10:15:02 +0000 ccache version 2.4 [enabled] app-shells/bash: 4.0_p24 dev-java/java-config: 2.1.8-r1 dev-lang/python: 2.5.4-r2, 2.6.2-r1 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.4 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.4.3-r3 sys-apps/sandbox: 2.0 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.29 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=pentium4 -mtune=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ http://gentoo.mneisen.org/ http://mirror.jamit.de/gentoo/" LANG="de_DE.UTF-8@euro" LDFLAGS="-Wl,-O1" LINGUAS="de" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups dbus dri dvd dvdr dvdread emboss encode esd evo fam ffmpeg firefox fortran gdbm gif git gpm gstreamer gtk hal iconv isdnlog jack java jpeg kde libnotify mad midi mikmod mmx mp3 mpeg mudflap mysql ncurses nls nptl nptlonly nsplugin objc objc++ ogg opengl openmp pam pcre pdf perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification subversion svg sysfs tcpd theora tiff truetype unicode usb vorbis win32codecs x86 xcomposite xinerama xml xorg xulrunner xulrunneri xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
do you have dbus in your default runlevel ?
Yes, dbus is up and running perfectly. I can browse it using qdbusviewer and the init-script repors status "started".
Maybe it's because you are using dbus-1.2.12 and the patch: http://cgit.freedesktop.org/ConsoleKit/patch/?id=e0d9cc359b3099307067107b59ec691418e280b8 for https://bugs.freedesktop.org/show_bug.cgi?id=19020 is missing :-/
Oh, forgott this bug-report. I had to rebuild dev-libs/dbus-glib, and after that consolekit worked again. Don't know what was wrong, but revdep-rebuild reported no errors before.
Timo please don't fixe the bug yourself, it needs to be reviewed by a dev before being closed. Did you apply the patch gave by Pachos and then rebuilded dbus-glib ? or just rebuilded dbus-glib and that all ?
I just rebuilt dbus-glib without applying any patch, and after that consolekit worked. I did not rebuild consolekit, only dbus-glib.
Okay, thanks for details, closing this bug due to comment #4 and #6