Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user <gentoo-user@l.g.o>
Subject: [gentoo-user] consolekit won't start
Date: Sat, 16 Apr 2011 11:26:11
Message-Id: BANLkTi=B4F8g=iMBS33xHf9EXWUt=EUd8w@mail.gmail.com
1 I'm on an x86 machine and noticed that consolekit won't start:
2
3 # /etc/init.d/consolekit restart
4 * Starting ConsoleKit daemon ... [ !! ]
5
6 Looking deeper into it I find:
7
8 # /etc/init.d/consolekit --verbose --debug restart
9 + [[ '' != \y\e\s ]]
10 + source /etc/init.d/functions.sh
11 ++ RC_GOT_FUNCTIONS=yes
12 ++ [[ -f /etc/conf.d/rc ]]
13 ++ source /etc/conf.d/rc
14 +++ RC_TTY_NUMBER=12
15 +++ RC_PARALLEL_STARTUP=no
16 +++ RC_INTERACTIVE=yes
17 +++ RC_HOTPLUG=yes
18 +++ RC_COLDPLUG=yes
19 +++ RC_PLUG_SERVICES=
20 +++ RC_NET_STRICT_CHECKING=lo
21 +++ RC_DOWN_INTERFACE=yes
22 +++ RC_VOLUME_ORDER='raid evms lvm dm'
23 +++ RC_VERBOSE=no
24 +++ RC_BOOTLOG=no
25 +++ RC_BOOTCHART=no
26 +++ RC_USE_FSTAB=no
27 +++ RC_USE_CONFIG_PROFILE=yes
28 +++ RC_FORCE_AUTO=no
29 +++ RC_DEVICES=auto
30 +++ RC_DEVICE_TARBALL=no
31 +++ RC_SWAP_ERASE=no
32 +++ RC_DMESG_LEVEL=1
33 +++ RC_RETRY_KILL=yes
34 +++ RC_RETRY_TIMEOUT=1
35 +++ RC_RETRY_COUNT=5
36 +++ RC_FAIL_ON_ZOMBIE=no
37 +++ RC_KILL_CHILDREN=no
38 +++ RC_WAIT_ON_START=0.1
39 +++ svcdir=/var/lib/init.d
40 +++ svcmount=no
41 +++ svcfstype=tmpfs
42 +++ svcsize=2048
43 ++ declare -r svclib=/lib/rcscripts
44 ++ declare -r svcdir=/var/lib/init.d
45 ++ svcmount=no
46 ++ svcfstype=tmpfs
47 ++ svcsize=2048
48 ++ deptypes='need use'
49 ++ ordtypes='before after'
50 ++ RC_QUIET_STDOUT=no
51 ++ RC_VERBOSE=no
52 ++ RC_NOCOLOR=no
53 ++ RC_ENDCOL=yes
54 ++ RC_TTY_NUMBER=12
55 ++ RC_PARALLEL_STARTUP=no
56 ++ RC_NET_STRICT_CHECKING=lo
57 ++ RC_USE_FSTAB=no
58 ++ RC_USE_CONFIG_PROFILE=yes
59 ++ RC_FORCE_AUTO=no
60 ++ RC_DEVICES=auto
61 ++ RC_DOWN_INTERFACE=yes
62 ++ RC_VOLUME_ORDER='raid evms lvm dm'
63 ++ RC_INDENTATION=
64 ++ RC_DEFAULT_INDENT=2
65 ++ RC_DOT_PATTERN=
66 ++ import_addon splash-functions.sh
67 ++ local addon=/lib/rcscripts/addons/splash-functions.sh
68 ++ has_addon splash-functions.sh
69 ++ [[ -e /lib/rcscripts/addons/splash-functions.sh ]]
70 ++ return 1
71 ++ [[ -f /sbin/splash-functions.sh ]]
72 ++ source /sbin/splash-functions.sh
73 +++ export spl_cachesize=4096
74 +++ spl_cachesize=4096
75 +++ export spl_cachetype=tmpfs
76 +++ spl_cachetype=tmpfs
77 [snip ...]
78
79 + [[ 0 != \0 ]]
80 + myscript=/etc/init.d/consolekit
81 + [[ -L /etc/init.d/consolekit ]]
82 + SVCNAME=/etc/init.d/consolekit
83 + declare -r SVCNAME=consolekit
84 + export SVCNAME
85 + myservice=consolekit
86 + svc_trap
87 + trap 'eerror "ERROR: ${SVCNAME} caught an interrupt"; exit 1' INT QUIT TSTP
88 + [[ -e /dev/.rcsysinit ]]
89 + [[ '' == \1 ]]
90 + svcpause=no
91 + [[ '' != \y\e\s ]]
92 + source /lib/rcscripts/sh/rc-services.sh
93 ++ RC_GOT_SERVICES=yes
94 ++ [[ yes != \y\e\s ]]
95 ++ [[ '' != \y\e\s ]]
96 ++ [[ 0 == \0 ]]
97 ++ /sbin/depscan.sh
98 ++ source /var/lib/init.d/deptree
99 +++ declare -r rc_type_ineed=2
100 +++ declare -r rc_type_needsme=3
101 +++ declare -r rc_type_iuse=4
102 +++ declare -r rc_type_usesme=5
103 +++ declare -r rc_type_ibefore=6
104 +++ declare -r rc_type_iafter=7
105 +++ declare -r rc_type_broken=8
106 +++ declare -r rc_type_mtime=9
107 +++ declare -r rc_index_scale=10
108 +++ declare -a RC_DEPEND_TREE
109 +++ RC_DEPEND_TREE[0]=75
110 +++ RC_DEPEND_TREE[10]=consolekit
111 +++ RC_DEPEND_TREE[10+2]=dbus
112 +++ RC_DEPEND_TREE[10+3]=
113 +++ RC_DEPEND_TREE[10+4]=syslog-ng
114 +++ RC_DEPEND_TREE[10+5]=xdm
115 +++ RC_DEPEND_TREE[10+6]=local
116 +++ RC_DEPEND_TREE[10+7]=checkroot
117 +++ RC_DEPEND_TREE[10+8]=
118 +++ RC_DEPEND_TREE[10+9]=1302945575
119 +++ RC_DEPEND_TREE[20]=crypto-loop
120 +++ RC_DEPEND_TREE[20+2]='checkroot modules'
121 [snip ...]
122
123 ++ /sbin/start-stop-daemon --start -q --pidfile
124 /var/run/ConsoleKit/pid --exec /usr/sbin/console-kit-daemon --
125 + local retval=1
126 + [[ 1 != \0 ]]
127 + return 1
128 + result=1
129 + [[ 1 == \0 ]]
130 + [[ 0 == \0 ]]
131 + [[ -f /var/lib/init.d/daemons/consolekit ]]
132 + return 1
133 + eend 1
134 + local retval=1
135 + shift
136 + _eend 1 eerror ''
137 + local retval=1 efunc=eerror msg
138 + shift 2
139 + [[ 1 == \0 ]]
140 + [[ -c /dev/null ]]
141 + [[ -n '' ]]
142 + msg='[ !! ]'
143 + [[ yes == \y\e\s ]]
144 [ !! ]'e '
145 [ !! ]
146 + return 1
147 + LAST_E_CMD=eend
148 + return 1
149 + retval=1
150 + [[ 1 == \0 ]]
151 + [[ 1 != \0 ]]
152 + [[ 1 == \0 ]]
153 + mark_service_stopped consolekit
154 + [[ -z consolekit ]]
155 + rm -Rf /var/lib/init.d/daemons/consolekit
156 /var/lib/init.d/starting/consolekit /var/lib/init.d/started/consolekit
157 /var/lib/init.d/inactive/consolekit
158 /var/lib/init.d/wasinactive/consolekit
159 /var/lib/init.d/stopping/consolekit
160 /var/lib/init.d/scheduled/consolekit
161 /var/lib/init.d/options/consolekit
162 /var/lib/init.d/coldplugged/consolekit
163 + rc_splash stop
164 + return 0
165 + [[ -z '' ]]
166 + is_runlevel_start
167 + [[ -d /var/lib/init.d/softscripts.old ]]
168 + service_message eerror 'ERROR: consolekit failed to start'
169 [snip ...]
170
171 + test_service_state xdm-setup started
172 + [[ -z xdm-setup ]]
173 + [[ -z started ]]
174 + local f=/var/lib/init.d/started/xdm-setup
175 + [[ ! -x /etc/init.d/xdm-setup ]]
176 + [[ -e /var/lib/init.d/started/xdm-setup ]]
177 + return 1
178 + rm -rf /var/lib/init.d/snapshot/8146
179 + service_started consolekit
180 + test_service_state consolekit started
181 + [[ -z consolekit ]]
182 + [[ -z started ]]
183 + local f=/var/lib/init.d/started/consolekit
184 + [[ ! -x /etc/init.d/consolekit ]]
185 + [[ -e /var/lib/init.d/started/consolekit ]]
186 + [[ '' != \t\r\u\e ]]
187 + [[ '' != \1 ]]
188 + [[ no == \y\e\s ]]
189 + return 1
190 + retval=1
191 + exit 1
192 #
193
194 Any idea why it fails? I can post the lot if needed.
195 --
196 Regards,
197 Mick

Replies

Subject Author
[gentoo-user] Re: consolekit won't start Mick <michaelkintzios@×××××.com>