I'm on an x86 machine and noticed that consolekit won't start:

# /etc/init.d/consolekit restart
 * Starting ConsoleKit daemon ...                                         [ !! ]

Looking deeper into it I find:

# /etc/init.d/consolekit --verbose --debug restart
+ [[ '' != \y\e\s ]]
+ source /etc/init.d/functions.sh
++ RC_GOT_FUNCTIONS=yes
++ [[ -f /etc/conf.d/rc ]]
++ source /etc/conf.d/rc
+++ RC_TTY_NUMBER=12
+++ RC_PARALLEL_STARTUP=no
+++ RC_INTERACTIVE=yes
+++ RC_HOTPLUG=yes
+++ RC_COLDPLUG=yes
+++ RC_PLUG_SERVICES=
+++ RC_NET_STRICT_CHECKING=lo
+++ RC_DOWN_INTERFACE=yes
+++ RC_VOLUME_ORDER='raid evms lvm dm'
+++ RC_VERBOSE=no
+++ RC_BOOTLOG=no
+++ RC_BOOTCHART=no
+++ RC_USE_FSTAB=no
+++ RC_USE_CONFIG_PROFILE=yes
+++ RC_FORCE_AUTO=no
+++ RC_DEVICES=auto
+++ RC_DEVICE_TARBALL=no
+++ RC_SWAP_ERASE=no
+++ RC_DMESG_LEVEL=1
+++ RC_RETRY_KILL=yes
+++ RC_RETRY_TIMEOUT=1
+++ RC_RETRY_COUNT=5
+++ RC_FAIL_ON_ZOMBIE=no
+++ RC_KILL_CHILDREN=no
+++ RC_WAIT_ON_START=0.1
+++ svcdir=/var/lib/init.d
+++ svcmount=no
+++ svcfstype=tmpfs
+++ svcsize=2048
++ declare -r svclib=/lib/rcscripts
++ declare -r svcdir=/var/lib/init.d
++ svcmount=no
++ svcfstype=tmpfs
++ svcsize=2048
++ deptypes='need use'
++ ordtypes='before after'
++ RC_QUIET_STDOUT=no
++ RC_VERBOSE=no
++ RC_NOCOLOR=no
++ RC_ENDCOL=yes
++ RC_TTY_NUMBER=12
++ RC_PARALLEL_STARTUP=no
++ RC_NET_STRICT_CHECKING=lo
++ RC_USE_FSTAB=no
++ RC_USE_CONFIG_PROFILE=yes
++ RC_FORCE_AUTO=no
++ RC_DEVICES=auto
++ RC_DOWN_INTERFACE=yes
++ RC_VOLUME_ORDER='raid evms lvm dm'
++ RC_INDENTATION=
++ RC_DEFAULT_INDENT=2
++ RC_DOT_PATTERN=
++ import_addon splash-functions.sh
++ local addon=/lib/rcscripts/addons/splash-functions.sh
++ has_addon splash-functions.sh
++ [[ -e /lib/rcscripts/addons/splash-functions.sh ]]
++ return 1
++ [[ -f /sbin/splash-functions.sh ]]
++ source /sbin/splash-functions.sh
+++ export spl_cachesize=4096
+++ spl_cachesize=4096
+++ export spl_cachetype=tmpfs
+++ spl_cachetype=tmpfs
[snip ...]

+ [[ 0 != \0 ]]
+ myscript=/etc/init.d/consolekit
+ [[ -L /etc/init.d/consolekit ]]
+ SVCNAME=/etc/init.d/consolekit
+ declare -r SVCNAME=consolekit
+ export SVCNAME
+ myservice=consolekit
+ svc_trap
+ trap 'eerror "ERROR:  ${SVCNAME} caught an interrupt"; exit 1' INT QUIT TSTP
+ [[ -e /dev/.rcsysinit ]]
+ [[ '' == \1 ]]
+ svcpause=no
+ [[ '' != \y\e\s ]]
+ source /lib/rcscripts/sh/rc-services.sh
++ RC_GOT_SERVICES=yes
++ [[ yes != \y\e\s ]]
++ [[ '' != \y\e\s ]]
++ [[ 0 == \0 ]]
++ /sbin/depscan.sh
++ source /var/lib/init.d/deptree
+++ declare -r rc_type_ineed=2
+++ declare -r rc_type_needsme=3
+++ declare -r rc_type_iuse=4
+++ declare -r rc_type_usesme=5
+++ declare -r rc_type_ibefore=6
+++ declare -r rc_type_iafter=7
+++ declare -r rc_type_broken=8
+++ declare -r rc_type_mtime=9
+++ declare -r rc_index_scale=10
+++ declare -a RC_DEPEND_TREE
+++ RC_DEPEND_TREE[0]=75
+++ RC_DEPEND_TREE[10]=consolekit
+++ RC_DEPEND_TREE[10+2]=dbus
+++ RC_DEPEND_TREE[10+3]=
+++ RC_DEPEND_TREE[10+4]=syslog-ng
+++ RC_DEPEND_TREE[10+5]=xdm
+++ RC_DEPEND_TREE[10+6]=local
+++ RC_DEPEND_TREE[10+7]=checkroot
+++ RC_DEPEND_TREE[10+8]=
+++ RC_DEPEND_TREE[10+9]=1302945575
+++ RC_DEPEND_TREE[20]=crypto-loop
+++ RC_DEPEND_TREE[20+2]='checkroot modules'
[snip ...]

++ /sbin/start-stop-daemon --start -q --pidfile
/var/run/ConsoleKit/pid --exec /usr/sbin/console-kit-daemon --
+ local retval=1
+ [[ 1 != \0 ]]
+ return 1
+ result=1
+ [[ 1 == \0 ]]
+ [[ 0 == \0 ]]
+ [[ -f /var/lib/init.d/daemons/consolekit ]]
+ return 1
+ eend 1
+ local retval=1
+ shift
+ _eend 1 eerror ''
+ local retval=1 efunc=eerror msg
+ shift 2
+ [[ 1 == \0 ]]
+ [[ -c /dev/null ]]
+ [[ -n '' ]]
+ msg='[ !! ]'
+ [[ yes == \y\e\s ]]
 [ !! ]'e '
   [ !! ]
+ return 1
+ LAST_E_CMD=eend
+ return 1
+ retval=1
+ [[ 1 == \0 ]]
+ [[ 1 != \0 ]]
+ [[ 1 == \0 ]]
+ mark_service_stopped consolekit
+ [[ -z consolekit ]]
+ rm -Rf /var/lib/init.d/daemons/consolekit
/var/lib/init.d/starting/consolekit /var/lib/init.d/started/consolekit
/var/lib/init.d/inactive/consolekit
/var/lib/init.d/wasinactive/consolekit
/var/lib/init.d/stopping/consolekit
/var/lib/init.d/scheduled/consolekit
/var/lib/init.d/options/consolekit
/var/lib/init.d/coldplugged/consolekit
+ rc_splash stop
+ return 0
+ [[ -z '' ]]
+ is_runlevel_start
+ [[ -d /var/lib/init.d/softscripts.old ]]
+ service_message eerror 'ERROR:  consolekit failed to start'
[snip ...]

+ test_service_state xdm-setup started
+ [[ -z xdm-setup ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/xdm-setup
+ [[ ! -x /etc/init.d/xdm-setup ]]
+ [[ -e /var/lib/init.d/started/xdm-setup ]]
+ return 1
+ rm -rf /var/lib/init.d/snapshot/8146
+ service_started consolekit
+ test_service_state consolekit started
+ [[ -z consolekit ]]
+ [[ -z started ]]
+ local f=/var/lib/init.d/started/consolekit
+ [[ ! -x /etc/init.d/consolekit ]]
+ [[ -e /var/lib/init.d/started/consolekit ]]
+ [[ '' != \t\r\u\e ]]
+ [[ '' != \1 ]]
+ [[ no == \y\e\s ]]
+ return 1
+ retval=1
+ exit 1
#

Any idea why it fails?  I can post the lot if needed.
-- 
Regards,
Mick

Reply via email to