public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] consolekit won't start
@ 2011-04-16 11:24 Mick
  2011-04-16 11:48 ` [gentoo-user] " Mick
  0 siblings, 1 reply; 6+ messages in thread
From: Mick @ 2011-04-16 11:24 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: consolekit won't start
  2011-04-16 11:24 [gentoo-user] consolekit won't start Mick
@ 2011-04-16 11:48 ` Mick
  0 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2011-04-16 11:48 UTC (permalink / raw
  To: gentoo-user

On 16 April 2011 12:24, Mick <michaelkintzios@gmail.com> wrote:
> I'm on an x86 machine and noticed that consolekit won't start:
>
> # /etc/init.d/consolekit restart
>  * Starting ConsoleKit daemon ...                                         [ !! ]

How strange ...

I stopped xdm, restarted dbus, then started consolekit and there was no problem!

After that I restarted xdm which launched kdm as normal.  I guess then
that there are perhaps some xdm dependencies in the starting sequence
of consolekit.  I can add it now to rc-update and see what happens
when I boot up.
-- 
Regards,
Mick



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: consolekit won't start
       [not found] ` <gIckq-6OB-9@gated-at.bofh.it>
@ 2011-04-16 16:27   ` David W Noon
  2011-04-16 16:51     ` Mick
  0 siblings, 1 reply; 6+ messages in thread
From: David W Noon @ 2011-04-16 16:27 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 741 bytes --]

On Sat, 16 Apr 2011 14:00:02 +0200, Mick wrote about [gentoo-user] Re:
consolekit won't start:

[snip]
>After that I restarted xdm which launched kdm as normal.  I guess then
>that there are perhaps some xdm dependencies in the starting sequence
>of consolekit.  I can add it now to rc-update and see what happens
>when I boot up.

Consolekit does not like starting when there are already several
daemon processes running.  So, you should add it to the *boot* run
level, thus allowing it an early appearance.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwnoon@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: consolekit won't start
  2011-04-16 16:27   ` David W Noon
@ 2011-04-16 16:51     ` Mick
  0 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2011-04-16 16:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 779 bytes --]

On Saturday 16 April 2011 17:27:14 David W Noon wrote:
> On Sat, 16 Apr 2011 14:00:02 +0200, Mick wrote about [gentoo-user] Re:
> consolekit won't start:
> 
> [snip]
> 
> >After that I restarted xdm which launched kdm as normal.  I guess then
> >that there are perhaps some xdm dependencies in the starting sequence
> >of consolekit.  I can add it now to rc-update and see what happens
> >when I boot up.
> 
> Consolekit does not like starting when there are already several
> daemon processes running.  So, you should add it to the *boot* run
> level, thus allowing it an early appearance.

Thanks David.  It now seems to start fine at the default run level - as 
recommended here:

http://en.gentoo-wiki.com/wiki/KDE4#KDM_.26_ConsoleKit
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: consolekit won't start
       [not found]     ` <gIh0K-6i1-15@gated-at.bofh.it>
@ 2011-04-16 18:36       ` David W Noon
  2011-04-17 10:49         ` Mick
  0 siblings, 1 reply; 6+ messages in thread
From: David W Noon @ 2011-04-16 18:36 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 908 bytes --]

On Sat, 16 Apr 2011 19:00:02 +0200, Mick wrote about Re: [gentoo-user]
Re: consolekit won't start:

>On Saturday 16 April 2011 17:27:14 David W Noon wrote:
[snip]
>> Consolekit does not like starting when there are already several
>> daemon processes running.  So, you should add it to the *boot* run
>> level, thus allowing it an early appearance.
>
>Thanks David.  It now seems to start fine at the default run level -
>as recommended here:
>
>http://en.gentoo-wiki.com/wiki/KDE4#KDM_.26_ConsoleKit

About a year ago, I had all kinds of problems with consolekit refusing
to start from the default run level.  Hence, I moved it to boot and all
has been well since then.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwnoon@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: consolekit won't start
  2011-04-16 18:36       ` David W Noon
@ 2011-04-17 10:49         ` Mick
  0 siblings, 0 replies; 6+ messages in thread
From: Mick @ 2011-04-17 10:49 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 882 bytes --]

On Saturday 16 April 2011 19:36:13 David W Noon wrote:
> On Sat, 16 Apr 2011 19:00:02 +0200, Mick wrote about Re: [gentoo-user]
> 
> Re: consolekit won't start:
> >On Saturday 16 April 2011 17:27:14 David W Noon wrote:
> [snip]
> 
> >> Consolekit does not like starting when there are already several
> >> daemon processes running.  So, you should add it to the *boot* run
> >> level, thus allowing it an early appearance.
> >
> >Thanks David.  It now seems to start fine at the default run level -
> >as recommended here:
> >
> >http://en.gentoo-wiki.com/wiki/KDE4#KDM_.26_ConsoleKit
> 
> About a year ago, I had all kinds of problems with consolekit refusing
> to start from the default run level.  Hence, I moved it to boot and all
> has been well since then.

I see ... good to know if it starts playing difficult.  Thanks for sharing.
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-04-17 11:10 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-16 11:24 [gentoo-user] consolekit won't start Mick
2011-04-16 11:48 ` [gentoo-user] " Mick
     [not found] <gIbRo-6ak-9@gated-at.bofh.it>
     [not found] ` <gIckq-6OB-9@gated-at.bofh.it>
2011-04-16 16:27   ` David W Noon
2011-04-16 16:51     ` Mick
     [not found] <gIgHo-5PU-11@gated-at.bofh.it>
     [not found] ` <gIgHo-5PU-13@gated-at.bofh.it>
     [not found]   ` <gIgHo-5PU-9@gated-at.bofh.it>
     [not found]     ` <gIh0K-6i1-15@gated-at.bofh.it>
2011-04-16 18:36       ` David W Noon
2011-04-17 10:49         ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox