public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Mysterious failure of ConsoleKit
@ 2010-12-22 17:09 Peter Humphrey
  2010-12-22 17:28 ` Mark Knecht
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Humphrey @ 2010-12-22 17:09 UTC (permalink / raw
  To: gentoo-user

Hello list,

Today my workstation has refused to start consolekit, giving this error:

 * Starting ConsoleKit daemon ...
 * start-stop-daemon: did not create a valid pid in `/var/run/ConsoleKit/pid'  [ !! ]
 * ERROR: consolekit failed to start

Then of course I can't log in via kdm; but X still detects my keystokes and allows 
me to switch to a VT. If I boot to a console instead and then startx I've no further 
problems.

The system started up the first time today just fine, but all attempts to restart 
since then have failed. Here are the things I've tried:

1.	Downgraded consolekit from 0.4.3 to 0.4.2-r4, even though the upgrade 
was done on 8 Dec.
2.	Removed the automounting of my Atom chroot from the default run level; I'd 
been playing with it and thought it just possible that it had started interfering 
somehow.
3.	Run fsck -f on all partitions, having booted my rescue system from a 
different kernel: no problems found.
4.	Booted the previous kernel, gentoo-sources-2.6.35-r11, which had been 
running until late October, instead of the usual 2.6.36-r5.
5.	Booted ck-sources 2.6.36-r3.
6.	Checked permissions on /var/run and /var/run/ConsoleKit; nothing suspicious 
there, and I can touch the pid file myself ok.
7.	Checked bugzilla for consolekit faults.

The only thing I've emerged today is nfs-utils.

I can't think of anything else I've changed. On the other hand, the last couple of 
days I have been working on setting up an nfs and chroot method of maintaining 
my Atom server box, as described by Neil B. in another thread, in the course of 
which I may have done something stupid - and my memory is getting 
embarrassingly fallible these days.

Can anyone see anything else I could check?

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.



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

* Re: [gentoo-user] Mysterious failure of ConsoleKit
  2010-12-22 17:09 [gentoo-user] " Peter Humphrey
@ 2010-12-22 17:28 ` Mark Knecht
  2010-12-22 17:39   ` Peter Humphrey
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Knecht @ 2010-12-22 17:28 UTC (permalink / raw
  To: gentoo-user

On Wed, Dec 22, 2010 at 9:09 AM, Peter Humphrey
<peter@humphrey.ukfsn.org> wrote:
<SNIP>
>
> Can anyone see anything else I could check?
>
> --
> Rgds
> Peter.          Linux Counter 5290, 1994-04-23.
>
>

Disk space? I had 4 VMs running versions of Windows all go down this
morning because one partition filled up. My bad...

- Mark



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

* Re: [gentoo-user] Mysterious failure of ConsoleKit
  2010-12-22 17:28 ` Mark Knecht
@ 2010-12-22 17:39   ` Peter Humphrey
  2010-12-23  1:41     ` Mark Knecht
  0 siblings, 1 reply; 10+ messages in thread
From: Peter Humphrey @ 2010-12-22 17:39 UTC (permalink / raw
  To: gentoo-user

On Wednesday 22 December 2010 17:28:09 Mark Knecht wrote:
> On Wed, Dec 22, 2010 at 9:09 AM, Peter Humphrey
> <peter@humphrey.ukfsn.org> wrote:
> <SNIP>
> 
> > Can anyone see anything else I could check?
> > 
> > --
> > Rgds
> > Peter.          Linux Counter 5290, 1994-04-23.
> 
> Disk space?

Seems not. I copied a 150M ISO into /var with no problem. This is a 20GB 
ext4 partition with default mkfs options, 58% full. Good idea though - 
thanks.

-- 
Rgds
Peter.          Linux Counter 5290, 1994-04-23.



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

* Re: [gentoo-user] Mysterious failure of ConsoleKit
  2010-12-22 17:39   ` Peter Humphrey
@ 2010-12-23  1:41     ` Mark Knecht
  2010-12-23 10:32       ` Helmut Jarausch
  0 siblings, 1 reply; 10+ messages in thread
From: Mark Knecht @ 2010-12-23  1:41 UTC (permalink / raw
  To: gentoo-user

On Wed, Dec 22, 2010 at 9:39 AM, Peter Humphrey
<peter@humphrey.ukfsn.org> wrote:
> On Wednesday 22 December 2010 17:28:09 Mark Knecht wrote:
>> On Wed, Dec 22, 2010 at 9:09 AM, Peter Humphrey
>> <peter@humphrey.ukfsn.org> wrote:
>> <SNIP>
>>
>> > Can anyone see anything else I could check?
>> >
>> > --
>> > Rgds
>> > Peter.          Linux Counter 5290, 1994-04-23.
>>
>> Disk space?
>
> Seems not. I copied a 150M ISO into /var with no problem. This is a 20GB
> ext4 partition with default mkfs options, 58% full. Good idea though -
> thanks.

Yeah, that would be too easy.

OK, so I don't know much about what consolekit even does. It's on this
system and was touched (I guess) when the system booted, but it's not
running:

- Mark


k2 ~ # ls -la /var/run/ConsoleKit/pid
-rw-r--r-- 1 root root 5 Dec 22 16:31 /var/run/ConsoleKit/pid

k2 ~ # /etc/init.d/consolekit status
 * status:  stopped

k2 ~ # rc-update show --verbose
           alsasound |      default
             apcupsd |      default
            bootmisc | boot
             checkfs | boot
           checkroot | boot
               clock | boot
         consolefont | boot
          consolekit |
         crypto-loop |
                dbus |      default
       device-mapper |
            dmeventd |
          git-daemon |
                 gpm |
              hdparm |
            hostname | boot
             keymaps | boot
               local |      default nonetwork
          localmount | boot
                 lvm |
      lvm-monitoring |
               mdadm |      default
              mdraid |
             modules | boot
               mysql |
        mysqlmanager |
            net.eth0 |      default
              net.lo | boot
            netmount |      default
                nscd |
          ntp-client |      default
                ntpd |      default
             numlock |
             pciparm |
             pwcheck |
           pydoc-2.6 |
           pydoc-3.1 |
           rmnologin | boot
              rsyncd |
           saslauthd |
                slpd |
              smartd |
                sshd |      default
            svnserve |
           syslog-ng |      default
                udev |
    udev-dev-tarball |
          udev-mount |
      udev-postmount |      default
             urandom | boot
          vixie-cron |      default
                 xdm |      default
           xdm-setup |
k2 ~ #



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

* Re: [gentoo-user] Mysterious failure of ConsoleKit
  2010-12-23  1:41     ` Mark Knecht
@ 2010-12-23 10:32       ` Helmut Jarausch
  2010-12-23 10:51         ` Daniel Pielmeier
  0 siblings, 1 reply; 10+ messages in thread
From: Helmut Jarausch @ 2010-12-23 10:32 UTC (permalink / raw
  To: gentoo-user

On 12/23/10 02:41:44, Mark Knecht wrote:
> On Wed, Dec 22, 2010 at 9:39 AM, Peter Humphrey
> <peter@humphrey.ukfsn.org> wrote:
> > On Wednesday 22 December 2010 17:28:09 Mark Knecht wrote:
> >> On Wed, Dec 22, 2010 at 9:09 AM, Peter Humphrey
> >> <peter@humphrey.ukfsn.org> wrote:
> >> <SNIP>
> >>
> >> > Can anyone see anything else I could check?
> >> >
> >> > --
> >> > Rgds
> >> > Peter.          Linux Counter 5290, 1994-04-23.
> >>
> >> Disk space?
> >
> > Seems not. I copied a 150M ISO into /var with no problem. This is a
> 20GB
> > ext4 partition with default mkfs options, 58% full. Good idea 
> though
> -
> > thanks.
> 
> Yeah, that would be too easy.
> 
> OK, so I don't know much about what consolekit even does. It's on 
> this
> system and was touched (I guess) when the system booted, but it's not
> running:
> 
> - Mark
> 
> 
> k2 ~ # ls -la /var/run/ConsoleKit/pid
> -rw-r--r-- 1 root root 5 Dec 22 16:31 /var/run/ConsoleKit/pid
> 
> k2 ~ # /etc/init.d/consolekit status
>  * status:  stopped
> 
> k2 ~ # rc-update show --verbose
>            alsasound |      default
>              apcupsd |      default
>             bootmisc | boot
>              checkfs | boot
>            checkroot | boot
>                clock | boot
>          consolefont | boot
>           consolekit |
>          crypto-loop |
>                 dbus |      default
>        device-mapper |
>             dmeventd |
>           git-daemon |
>                  gpm |
>               hdparm |
>             hostname | boot
>              keymaps | boot
>                local |      default nonetwork
>           localmount | boot
>                  lvm |
>       lvm-monitoring |
>                mdadm |      default
>               mdraid |
>              modules | boot
>                mysql |
>         mysqlmanager |
>             net.eth0 |      default
>               net.lo | boot
>             netmount |      default
>                 nscd |
>           ntp-client |      default
>                 ntpd |      default
>              numlock |
>              pciparm |
>              pwcheck |
>            pydoc-2.6 |
>            pydoc-3.1 |
>            rmnologin | boot
>               rsyncd |
>            saslauthd |
>                 slpd |
>               smartd |
>                 sshd |      default
>             svnserve |
>            syslog-ng |      default
>                 udev |
>     udev-dev-tarball |
>           udev-mount |
>       udev-postmount |      default
>              urandom | boot
>           vixie-cron |      default
>                  xdm |      default
>            xdm-setup |
> k2 ~ #
> 
> 


I'm having the same problem (as do others).
 ps auxw | grep -i console
shows, that console-kit-daemon is actually running.
And killall console-kit-daemon, /etc/init.d/consolekit start
fixes the problems.

It looks as if something has started consolekit earlier but not by
using /etc/init.d/consolekit .

Unfortunately, I don't know how to debug which is starting consolekit.
Furthermore, I'd like to know where the source of the start-stop-daemon 
is.

Helmut.



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

* Re: [gentoo-user] Mysterious failure of ConsoleKit
  2010-12-23 10:32       ` Helmut Jarausch
@ 2010-12-23 10:51         ` Daniel Pielmeier
  2010-12-23 11:14           ` Helmut Jarausch
  0 siblings, 1 reply; 10+ messages in thread
From: Daniel Pielmeier @ 2010-12-23 10:51 UTC (permalink / raw
  To: gentoo-user

I guess all of you having this problem use baseayout-2/openrc with
parallel service start. Try if rc_parallel="NO" in /etc/rc.conf fixes
the problem. I had a similar problem with sshd [1] which disappeared
after disabling parallel start.

[1] http://bugs.gentoo.org/show_bug.cgi?id=292843

-- 
Daniel Pielmeier



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

* Re: [gentoo-user] Mysterious failure of ConsoleKit
  2010-12-23 10:51         ` Daniel Pielmeier
@ 2010-12-23 11:14           ` Helmut Jarausch
  0 siblings, 0 replies; 10+ messages in thread
From: Helmut Jarausch @ 2010-12-23 11:14 UTC (permalink / raw
  To: gentoo-user

On 12/23/10 11:51:32, Daniel Pielmeier wrote:
> I guess all of you having this problem use baseayout-2/openrc with
> parallel service start. Try if rc_parallel="NO" in /etc/rc.conf fixes
> the problem. I had a similar problem with sshd [1] which disappeared
> after disabling parallel start.
> 
> [1] http://bugs.gentoo.org/show_bug.cgi?id=292843
> 

Unfortunately no!

I do have rc_parallel="NO" in my /etc/rc.conf
and it happens anyway.

Helmut.



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

* Re: [gentoo-user] Mysterious failure of ConsoleKit
       [not found]           ` <g2Rnc-5y3-17@gated-at.bofh.it>
@ 2010-12-23 16:18             ` David W Noon
  2010-12-24 12:41               ` Stroller
  0 siblings, 1 reply; 10+ messages in thread
From: David W Noon @ 2010-12-23 16:18 UTC (permalink / raw
  To: gentoo-user

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

On Thu, 23 Dec 2010 12:20:02 +0100, Helmut Jarausch wrote about Re:
[gentoo-user] Mysterious failure of ConsoleKit:

>On 12/23/10 11:51:32, Daniel Pielmeier wrote:
>> I guess all of you having this problem use baseayout-2/openrc with
>> parallel service start. Try if rc_parallel="NO" in /etc/rc.conf fixes
>> the problem. I had a similar problem with sshd [1] which disappeared
>> after disabling parallel start.
>> 
>> [1] http://bugs.gentoo.org/show_bug.cgi?id=292843
>> 
>
>Unfortunately no!
>
>I do have rc_parallel="NO" in my /etc/rc.conf
>and it happens anyway.

I had this problem about a year ago.  I fixed it by having Consolekit
started explicitly in the boot run-level:
   rc-update add consolekit boot
-- 
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] 10+ messages in thread

* Re: [gentoo-user] Mysterious failure of ConsoleKit
  2010-12-23 16:18             ` [gentoo-user] Mysterious failure of ConsoleKit David W Noon
@ 2010-12-24 12:41               ` Stroller
  2010-12-25 15:08                 ` [gentoo-user] " Harry Putnam
  0 siblings, 1 reply; 10+ messages in thread
From: Stroller @ 2010-12-24 12:41 UTC (permalink / raw
  To: gentoo-user


On 23/12/2010, at 4:18pm, David W Noon wrote:
> ...
> I had this problem about a year ago.  I fixed it by having Consolekit
> started explicitly in the boot run-level:
>   rc-update add consolekit boot

I did a fresh install this week and I believe this the way Gentoo ships the stage3. 

I only had cause to give this attention because I was installing for a system that doesn't have a console, and consolekit had to be removed.

Stroller.





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

* [gentoo-user] Re: Mysterious failure of ConsoleKit
  2010-12-24 12:41               ` Stroller
@ 2010-12-25 15:08                 ` Harry Putnam
  0 siblings, 0 replies; 10+ messages in thread
From: Harry Putnam @ 2010-12-25 15:08 UTC (permalink / raw
  To: gentoo-user

Stroller,
Sorry to butt into a thread.  I sent private mail but suspect it hit
your spam bin.... haven't heard back. 

Is your email here obfuscated?




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

end of thread, other threads:[~2010-12-25 16:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <g2Aw2-2i6-1@gated-at.bofh.it>
     [not found] ` <g2APn-2Jp-11@gated-at.bofh.it>
     [not found]   ` <g2AZ4-2Xd-13@gated-at.bofh.it>
     [not found]     ` <g2ItA-7fD-5@gated-at.bofh.it>
     [not found]       ` <g2QKt-4oJ-5@gated-at.bofh.it>
     [not found]         ` <g2R3Q-4Qy-9@gated-at.bofh.it>
     [not found]           ` <g2Rnc-5y3-17@gated-at.bofh.it>
2010-12-23 16:18             ` [gentoo-user] Mysterious failure of ConsoleKit David W Noon
2010-12-24 12:41               ` Stroller
2010-12-25 15:08                 ` [gentoo-user] " Harry Putnam
2010-12-22 17:09 [gentoo-user] " Peter Humphrey
2010-12-22 17:28 ` Mark Knecht
2010-12-22 17:39   ` Peter Humphrey
2010-12-23  1:41     ` Mark Knecht
2010-12-23 10:32       ` Helmut Jarausch
2010-12-23 10:51         ` Daniel Pielmeier
2010-12-23 11:14           ` Helmut Jarausch

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