Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238468 - sys-auth/consolekit-0.2.10 fails to start
Summary: sys-auth/consolekit-0.2.10 fails to start
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-23 12:11 UTC by Mieszko Ślusarczyk
Modified: 2009-04-26 09:50 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Small patch to fix consolekit startup (consolekit.patch,358 bytes, patch)
2008-10-11 13:15 UTC, Paolo Pedroni
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mieszko Ślusarczyk 2008-09-23 12:11:56 UTC
~ # /etc/init.d/consolekit start
 * Starting ConsoleKit daemon ...
 * start-stop-daemon: /usr/sbin/console-kit-daemon died                    [!!]
 * ERROR: consolekit failed to start

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-09-23 13:02:00 UTC
Confirmed for baselayout-2. @Miezko: Please post your `emerge --info' too.

Tue Sep 23 15:00:10 CEST 2008
Portage 2.2_rc9 (default/linux/hppa/2008.0, gcc-4.1.2, glibc-2.7-r2, 2.6.25.14-JeR parisc)
=================================================================
System uname: Linux-2.6.25.14-JeR-parisc-PA8700_-PCX-W2-with-glibc2.2
Timestamp of tree: Tue, 23 Sep 2008 04:24:01 +0000
distcc 2.18.3 hppa2.0-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="hppa"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/bind /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -mschedule=8000 -march=2.0 -g -ggdb -Wall"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="autoaddcvs buildpkg cvs distcc distlocks fixpackages notitles parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en nl he"
MAKEOPTS="-j5"
PKGDIR="/keeps/gentoo/packages/elmer"
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="/mnt/alt/portage-tmp"
PORTDIR="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="7zip X Xaw3d a52 aac aalib accessibility ads agg alsa amr amrnb amrwb ao aoss apache2 ares arts asf async asyncns audiofile audit automount avfs bash-completion berkdb bidi bittorrent bl bluetooth bzip2 c++ cairo caps catalogs cblas cdb cddb cdparanoia cdr chardet cjk clarens cli cracklib crypt cups curl custom-cflags dbtool dbus device-mapper dga dia dirac djbfft domainkeys drm dts dv dvd dvdr dvdread dxr3 edl elf emacs enca encode esd examples exif expat fame fastbuild fastcgi fbcon ffmpeg filter flac fontconfig foomaticdb fortran ftp gadu galago gcrypt gd gdbm geant4 geoip ggi gif gimp gimpprint glep glib glut gmp gnome gnutls gphoto2 gpm gs gsl gtk gtk2 gtkhtml hal hepmc hesiod hppa ical icecast iconv idea idn imagemagick imlib immqt-bc inquisitio ipv6 isc isdnlog ithreads jack javascript jbig jingle jpeg jpeg2k kde kerberos lapack latex lcms ldap leim libass libcaca libnotify libsamplerate libwww live logrotate logwatch lua lzo mad matroska mbrola memcache metis mhash midi mikmod mmap mng modplug motif mozbranding mp3 mplayer mssql mudflap musepack mysql nas ncurses netpbm network-cron nfconntrack nfs nls nntp nptl nptlonly nsplugin offensive ogg openexr opengl openmp oss ots overlays pam pango pbs pcre pdf pdo-external perl php pic plotutils plugins png portage portaudio postgres povray ppds pppd pulseaudio python pyzord qdbm qt3 qt3support qt4 quotas raw readline recode reflection rpc rrdtool rtc ruby samba sasl scanner schroedinger scim sdl seamonkey server session sid slang slp sms sndfile snmp soundex speex spell spl sqlite srt ssh ssl startup-notification subtitles subversion suhosin supernodal svg swat sysfs syslog talkfilters tcl tcpd test tftp tga theora threads thunar-vfs tidy tiff timidity tk tools truetype twolame udev unicode unzip urandom usb userlocales utempter utf v4l v4l2 vanim vcd vidix vim-syntax vorbis wavpack webdav webinstall winbind wlan wma wmf xanim xchattext xcomposite xface xml xml2 xmpi xorg xpm xrandr xscreensaver xsettings xulrunner xv xvid xvmc zip zip-external zlib" ALSA_CARDS="ad1889 usb-audio" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_ftp proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl he" USERLAND="GNU" VIDEO_CARDS="stifb fbdev matrox"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Mieszko Ślusarczyk 2008-09-23 13:03:58 UTC
Portage 2.2_rc9 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.27-rc6-zen1 x86_64)
=================================================================
System uname: Linux-2.6.27-rc6-zen1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T5250_@_1.50GHz-with-glibc2.2.5
Timestamp of tree: Tue, 23 Sep 2008 08:19:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     9999
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mssse3 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mssse3 -O2 -pipe"
DISTDIR="/var/portage/distfiles"
FEATURES="ccache distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://ftp.dei.uc.pt/pub/linux/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://mirror.uni-c.dk/pub/gentoo/"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/thousand-parsec /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/xen /usr/portage/local/layman/jyujin /usr/portage/local/layman/kde-testing /usr/portage/local/layman/rox /usr/portage/local/layman/gnash-cvs /usr/portage/local/layman/roslin /usr/portage/local/layman/ruby /usr/portage/local/layman/pd-overlay /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/wrobel /usr/portage/local/layman/enlightenment /usr/portage/local/layman/drizzt-overlay /usr/portage/local/layman/nouveau /usr/portage/local/layman/mpd /usr/portage/local/layman/perl-experimental /usr/portage/local/layman/zugaina /usr/portage/local/layman/dberkholz /usr/portage/local/layman/wschlich-testing /usr/portage/local/layman/darkside /usr/portage/local/layman/voip /usr/portage/local/layman/d /usr/portage/local/layman/finnish /usr/portage/local/layman/secondlife /usr/portage/local/layman/chtekk-syscp /usr/portage/local/layman/xwing /usr/portage/local/layman/soor-overlay /usr/portage/local/layman/x11 /usr/portage/local/layman/jokey /usr/portage/local/layman/falco /usr/portage/local/layman/java-overlay /usr/portage/local/layman/dirtyepic /usr/portage/local/layman/kde /usr/portage/local/layman/hanno-xgl /usr/portage/local/layman/sipx /usr/portage/local/layman/trauma /usr/portage/local/layman/vdr-devel /usr/portage/local/layman/powerpc /usr/portage/local/layman/graaff /usr/portage/local/layman/gentoo-taiwan /usr/portage/local/layman/wolf31o2 /usr/portage/local/layman/java-gcj-overlay /usr/portage/local/layman/toolchain /usr/portage/local/layman/gnome /usr/portage/local/layman/kdesvn-portage /usr/portage/local/layman/lapis /usr/portage/local/layman/gentoo-china /usr/portage/local/layman/chtekk-apps /usr/portage/local/layman/gentopia /usr/portage/local/layman/xfce /usr/portage/local/layman/pda /usr/portage/local/layman/masterdriverz /usr/portage/local/layman/berkano /usr/portage/local/layman/marineam-xen /usr/portage/local/layman/hollow /usr/portage/local/layman/armagetron /usr/portage/local/layman/flameeyes-overlay /usr/portage/local/layman/openrc /usr/portage/local/layman/s3d /usr/portage/local/layman/n4g-experimental /usr/portage/local/layman/ltsp /usr/portage/local/layman/n4g /usr/portage/local/layman/initng /usr/portage/local/layman/dertobi123 /usr/portage/local/layman/emacs /usr/portage/local/layman/arcon /usr/portage/local/layman/voyageur /usr/portage/local/layman/php-experimental /usr/portage/local/layman/dev-zero /usr/portage/local/layman/deathwing00 /usr/portage/local/layman/hawking /usr/portage/local/layman/vdr-1.5 /usr/portage/local/layman/vps /usr/portage/local/layman/mozilla /usr/portage/local/layman/gcc-porting /usr/portage/local/layman/efika /usr/portage/local/layman/devnull /usr/portage/local/layman/trapni /usr/portage/local/layman/interactive-fiction /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/science /usr/portage/local/layman/eclipse /usr/portage/local/layman/pro-audio /usr/portage/local/layman/vdr-experimental /usr/portage/local/layman/pythonhead /usr/portage/local/layman/genstef /usr/portage/local/layman/kerberos /usr/portage/local/layman/wschlich /usr/portage/local/layman/gentoojp /usr/portage/local/layman/plan9 /usr/portage/local/layman/freevo /usr/portage/local/layman/php-testing /usr/portage/local/layman/iwlwifi /usr/portage/local/layman/postgresql-experimental /usr/portage/local/layman/vdr-testing /usr/portage/local/layman/bangert /usr/portage/local/layman/suka /usr/portage/local/layman/luke-jr /usr/portage/local/layman/nx /usr/portage/local/layman/sunrise /usr/portage/local/layman/xemacs /usr/portage/local/layman/philantrop /usr/portage/local/layman/sabayon /usr/portage/local/layman/aross /usr/portage/local/layman/lu_zero /usr/portage/local/layman/kvm /usr/portage/local/layman/mysql-testing /usr/portage/local/layman/liquidx /usr/portage/local/layman/lila-theme /usr/portage/local/layman/gnustep /usr/portage/local/layman/welp /usr/portage/local/layman/swegener /usr/portage/local/layman/rbu /usr/portage/local/layman/php-4 /usr/portage/local/layman/postgresql-testing /usr/portage/local/layman/vmware /usr/portage/local/layman/halcy0n /usr/portage/local/layman/je_fro /usr/portage/local/layman/cell /usr/portage/local/layman/kolab /usr/portage/local/layman/verlihub /usr/portage/local/layman/games /usr/portage/local/layman/ikelos /usr/portage/local/layman/akoya /usr/portage/local/layman/seemant /usr/portage/local/layman/oss-overlay /usr/portage/local/layman/lxde /usr/portage/local/layman/pioto-overlay /usr/portage/local/layman/kdesvn-portage /usr/portage/local/layman/zen-overlay /home/mieszko/overlay/mieszko /home/mieszko/overlay/kaxero/foo-sharp /home/mieszko/overlay/kaxero/gentoo-misc /home/mieszko/overlay/kaxero/gnome /home/mieszko/overlay/overlay-watzke-cz"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi adns afs aim alsa amd64 ao atm audiofile avahi bash-completion bcmath beagle berkdb bluetooth bzip2 cairo calendar cddb cdparanoia cdr cli cracklib crypt css ctype cups curl cvs cxx dbus dga dirac directfb dri dts dv dvb dvd dvdr dvdread encode evo exif expat fam fbcon ffmpeg firefox flac fontconfig foomaticdb fortran ftp gd gdbm geoip gif gimp glitz glut gmp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtkhtml hal hddtemp iconv icq ieee1394 imlib ipod ipv6 isdnlog jabber jack java java6 jpeg jpeg2k krb4 ladspa lame lcms ldap libgda libnotify libsamplerate libwww lighttpd lirc lm_sensors lzo mad matroska mcal midi mime mmx mono mp3 mpeg mplayer msn mudflap multilib musepack musicbrainz mysql nas ncurses networkmanager nls nptl nptlonly nsplugin ogg openal openexr opengl openmp oscar oss pam pcre pdf perl php png policykit ppds pppd profile pulseaudio python qt4 quicktime raw readline recode reflection rss ruby samba scanner schroedinger sdl session slang sndfile sockets speex spell spl sqlite sse sse2 ssl ssse3 startup-notification subversion suid svg sysfs szip taglib tcpd theora threads tiff timidity truetype unicode usb v4l v4l2 vcd vnc vorbis wavpack wifi wxwindows x264 xcb xcomposite xine xml xmlrpc xorg xpm xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template topfield toshiba_pdrm11" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en de" LIRC_DEVICES="accent act200l act220l adaptec all alsa_usb animax asusdh atilibusb atiusb audio audio_alsa avermedia avermedia98 avermedia_vdomate bestbuy bestbuy2 breakoutbox bte bw6130 caraca chronos cmdir cph06x creative creative_infracd devinput digimatrix dsp dvico ea65 exaudio flyvideo gvbctv5pci hauppauge hauppauge_dvb hercules_smarttv_stereo igorplugusb imon imon_knob imon_lcd imon_pad imon_pad2keys imon_rsc inputlirc irdeo irdeo_remote irman irreal it87 knc_one kworld leadtek_0007 leadtek_0010 leadtek_pvr2000 livedrive_midi livedrive_seq logitech macmini mceusb mceusb2 mediafocusI mouseremote mouseremote_ps2 mp3anywhere nslu2 packard_bell parallel pcmak pcmak_usb pctv pixelview_bt878 pixelview_pak pixelview_pro provideo realmagic remote_wonder_plus remotemaster sa1100 sasem sb0540 serial serial_igor_cesko silitek sir slinke streamzap tekram tekram_bt829 tira ttusbir tuxbox tvbox udp uirt2 uirt2_raw usb_uirt_raw usbirboy usbx userspace xboxusb" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd fglrx vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2008-10-02 22:46:38 UTC
this is not related to baselayout I believe. Did you make sure consolekit wasn't autostarted and running when you started the service ? (like in the case you have consolekit USE flag with pambase)
Comment 4 Mieszko Ślusarczyk 2008-10-03 00:00:51 UTC
(In reply to comment #3)
> this is not related to baselayout I believe. Did you make sure consolekit
> wasn't autostarted and running when you started the service ? (like in the case
> you have consolekit USE flag with pambase)
> 

But what do you mean?
What should I try?
Comment 5 Paolo Pedroni 2008-10-10 09:00:02 UTC
I get this with consolekit-0.2.3 ever since I upgraded to openrc-0.3.0-r1.

The real problem is that /usr/sbin/console-kit-daemon actually starts.

I think the problem is in openrc and we should add this bug as a blocker on #217941.

Anyway here is my emerge --info:
Portage 2.1.4.5 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.25-gentoo-r7 x86_64 Dual Core AMD Opteron(tm) Processor 185
Timestamp of tree: Fri, 10 Oct 2008 05:30:10 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.5.2-r7
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
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/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache collision-protect distcc distlocks fixpackages metadata-transfer sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://mirror.ing.unibo.it/gentoo/ http://mirror.ovh.net/gentoo-distfiles/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages"
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://10.20.30.18/gentoo-portage"
USE="X Xaw3d a52 aac aalib acpi alsa amd64 ao arts audiofile avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdparanoia cdr cli cracklib crypt cups curl dbus dga dio djvu dri dvd dvdr dvdread emboss encode exif expat fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran ftp gd gdbm geoip ggi gif gimp glut gmp gnutls gphoto2 gpm gtk guile hal htmlhandbook iconv idn ieee1394 imagemagick imlib isdnlog jack java javascript jbig jikes jpeg jpeg2k kde kdeenablefinal kdeprefix lcms libcaca libnotify libsamplerate lm_sensors lua lzo mad maildir matroska memlimit midi mikmod mime mmap mmx mng mozilla mp3 mpeg mpi mplayer mudflap multilib ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp oss pam pch pcre pdf perl png portaudio posix ppds pppd python qt3 qt3support qt4 quicktime rdesktop readline recode reflection ruby samba scanner sdl session sharedmem shorten sndfile sockets sox speex spell spl sse sse2 ssl startup-notification svg symlink sysfs syslog sysvipc tcl tcpd theora threads tidy tiff tk truetype unicode usb vcd vim-syntax vnc vorbis wmf wxwindows x264 xcb xcomposite xine xinerama xml xorg xosd xpm xscreensaver xulrunner xv xvid yahoo zeroconf zlib" ALSA_CARDS="intel8x0 virmidi" 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" CAMERAS="kodak ptp2" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2008-10-10 13:27:25 UTC
Unfortunately until you guys give us some way to reproduce, it can't be fixed. Speaking as Gentoo's OpenRC maintainer and ConsoleKit maintainer, I don't explicitly see any bugs regarding this in either.
Comment 7 Mieszko Ślusarczyk 2008-10-10 13:53:42 UTC
(In reply to comment #6)
> Unfortunately until you guys give us some way to reproduce, it can't be fixed.
> Speaking as Gentoo's OpenRC maintainer and ConsoleKit maintainer, I don't
> explicitly see any bugs regarding this in either.
> 

But what information can be usefull?
Comment 8 Paolo Pedroni 2008-10-11 12:46:52 UTC
(In reply to comment #6)
> Unfortunately until you guys give us some way to reproduce, it can't be fixed.
> Speaking as Gentoo's OpenRC maintainer and ConsoleKit maintainer, I don't
> explicitly see any bugs regarding this in either.

I still think it's some kind of interaction between consolekit and the latest version of openrc, because it did not happen before.

Everytime I try to start consolekit (both during startup and after), I get the error message:

principale # /etc/init.d/consolekit start
consolekit    | * Starting ConsoleKit daemon ...
consolekit    | * start-stop-daemon: /usr/sbin/console-kit-daemon died                                                        [ !! ]
consolekit    | * ERROR: consolekit failed to start

but console-kit-daemon is running and it created its .pid file in /var/run/:
principale # ps aux | grep console
root      4210  0.0  0.0  93872  2232 ?        Ssl  14:44   0:00 /usr/sbin/console-kit-daemon
paolo    28321  0.0  0.0   8488   940 pts/1    R+   14:44   0:00 grep --colour=auto console

principale # ll /var/run/con*
ll /var/run/con*
-rw-r--r-- 1 root root 6 11 ott 14:44 /var/run/consolekit.pid

However I second the proposal in Comment #7:
What kind of information can we give you to properly address this bug?
Comment 9 Paolo Pedroni 2008-10-11 13:15:27 UTC
Created attachment 168022 [details, diff]
Small patch to fix consolekit startup

On second thought I decided to play around with start-stop-daemon options in the consolekit startup script and this is what I found that fixes the issue: we have to explicitly tell start-stop-daemon where it is going to find the pid file (is this an openrc bug or a feature?)
Comment 10 Mieszko Ślusarczyk 2008-10-11 13:54:21 UTC
(In reply to comment #9)
> Created an attachment (id=168022) [edit]
> Small patch to fix consolekit startup
> 
> On second thought I decided to play around with start-stop-daemon options in
> the consolekit startup script and this is what I found that fixes the issue: we
> have to explicitly tell start-stop-daemon where it is going to find the pid
> file (is this an openrc bug or a feature?)
> 
What should I patch?
Can you give a proposal ebuild including it for testing?
Comment 11 Paolo Pedroni 2008-10-11 14:06:55 UTC
(In reply to comment #10)
> What should I patch?

/etc/init.d/consolekit
Comment 12 Mieszko Ślusarczyk 2008-10-11 14:16:38 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > What should I patch?
> 
> /etc/init.d/consolekit
> 

Patch didn't help at all.
Comment 13 Niklas Laxström 2008-11-22 17:21:12 UTC
Maybe this is related

<snip>
Nov 22 19:12:06 jadekukka console-kit-daemon[26813]: WARNING: Error waiting for native console 60 activation: No such device or address
Nov 22 19:12:06 jadekukka console-kit-daemon[26813]: WARNING: Error waiting for native console 61 activation: No such device or address
Nov 22 19:12:06 jadekukka console-kit-daemon[26813]: WARNING: Error waiting for native console 62 activation: No such device or address
Nov 22 19:12:20 jadekukka console-kit-daemon[26919]: WARNING: Failed to acquire org.freedesktop.ConsoleKit
Nov 22 19:12:20 jadekukka console-kit-daemon[26919]: WARNING: Could not acquire name; bailing out
Nov 22 19:12:20 jadekukka /etc/init.d/consolekit[26917]: start-stop-daemon: /usr/sbin/console-kit-daemon died
Nov 22 19:12:20 jadekukka /etc/init.d/consolekit[26909]: ERROR: consolekit failed to start
Comment 14 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-02-15 22:36:33 UTC
this should be fixed in 0.2.10-r1 since I changed the localstatedir to a proper location. Please reopen if it's not the case.
Comment 15 Kai Krakow 2009-04-26 09:50:31 UTC
(In reply to comment #8)
> I still think it's some kind of interaction between consolekit and the latest
> version of openrc, because it did not happen before.
> 
> Everytime I try to start consolekit (both during startup and after), I get the
> error message:
> 
> principale # /etc/init.d/consolekit start
> consolekit    | * Starting ConsoleKit daemon ...
> consolekit    | * start-stop-daemon: /usr/sbin/console-kit-daemon died         
>                                               [ !! ]
> consolekit    | * ERROR: consolekit failed to start
> 
> but console-kit-daemon is running and it created its .pid file in /var/run/:
> principale # ps aux | grep console
> root      4210  0.0  0.0  93872  2232 ?        Ssl  14:44   0:00
> /usr/sbin/console-kit-daemon
> paolo    28321  0.0  0.0   8488   940 pts/1    R+   14:44   0:00 grep
> --colour=auto console

Same here... start-stop-daemon does not discover the process running and says "console-kit-daemon died" - while if checking with ps the process is running. This also happens to some other daemons which detach and fork themselves bevore creating the pid file - start-stop-daemon just checks for the pid file too early. This can be solved by starting the daemon in foreground mode and let ssd handle the backgrounding.

But since some other daemons are affected also (like preload and some others) this should be generally fixed in start-stop-daemon.