[Bug 874697] [NEW] ConsoleKit is started too late

kelvie kelvie at ieee.org
Sat Oct 15 00:09:28 UTC 2011


Public bug reported:

It's described in this bug here, and has been bugging me for the last
little while:

https://bugs.kde.org/show_bug.cgi?id=281851

The gist of it is that ConsoleKit is not ready when you log in using KDM
on a fresh reboot. KDM tries to connect to org.freedesktop.ConsoleKit
via D-Bus and it times out after login.

After logging-in in this state, you cannot mount USB drives or suspend
the system, as CK didn't give that session the permissions.

I've seen this in Natty as well as Oneiric, but only on my laptop (which
is a Sony F-series laptop).

lsb_release -rd                                                                                          | Exit:1 |
Description:    Ubuntu 11.10
Release:        11.10
$ lsmod
Module                  Size  Used by
rfcomm                 47946  12 
bnep                   18436  2 
kvm_intel              61643  0 
kvm                   383822  1 kvm_intel
parport_pc             36962  0 
ppdev                  17113  0 
binfmt_misc            17540  1 
autofs4                37024  1 
dm_crypt               23199  0 
snd_hda_codec_hdmi     32040  4 
snd_hda_codec_realtek   330769  1 
snd_hda_intel          33390  3 
snd_hda_codec         104802  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
snd_hwdep              13668  1 snd_hda_codec
snd_pcm                96755  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
snd_seq_midi           13324  0 
snd_rawmidi            30547  1 snd_seq_midi
snd_seq_midi_event     14899  1 snd_seq_midi
snd_seq                61896  2 snd_seq_midi,snd_seq_midi_event
uvcvideo               72711  0 
nvidia              11713772  46 
videodev               93004  1 uvcvideo
snd_timer              29991  2 snd_pcm,snd_seq
snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
v4l2_compat_ioctl32    17083  1 videodev
btusb                  18600  2 
bluetooth             166112  23 rfcomm,bnep,btusb
snd                    68266  16 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
joydev                 17693  0 
arc4                   12529  2 
soundcore              12680  1 snd
ath9k                 127538  0 
mac80211              310872  1 ath9k
ath9k_common           13839  1 ath9k
ath9k_hw              312866  2 ath9k,ath9k_common
snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
ath                    24067  2 ath9k,ath9k_hw
cfg80211              199587  3 ath9k,mac80211,ath
psmouse                73882  0 
serio_raw              13166  0 
mxm_wmi                12979  0 
i7core_edac            27942  0 
edac_core              53746  3 i7core_edac
sony_laptop            45393  0 
wmi                    19256  1 mxm_wmi
acpiphp                24080  0 
lp                     17799  0 
parport                46562  3 parport_pc,ppdev,lp
usbhid                 47198  0 
hid                    95463  1 usbhid
vesafb                 13809  1 
firewire_ohci          40722  0 
firewire_core          63626  1 firewire_ohci
crc_itu_t              12707  1 firewire_core
sky2                   58674  0 
xhci_hcd               78641  0 
ahci                   26002  4 
libahci                26861  1 ahci
sdhci_pci              14032  0 
sdhci                  32166  1 sdhci_pci
video                  19412  0 

$ lspci
00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 330M] (rev a2)
01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
02:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
03:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
03:00.1 System peripheral: Ricoh Co Ltd Memory Stick Host Controller
03:00.3 FireWire (IEEE 1394): Ricoh Co Ltd FireWire Host Controller
03:00.4 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8057 PCI-E Gigabit Ethernet Controller (rev 10)
05:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
3f:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
3f:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
3f:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
3f:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
3f:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
3f:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
3f:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
3f:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
3f:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
3f:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
3f:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)

** Affects: consolekit (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to consolekit in Ubuntu.
https://bugs.launchpad.net/bugs/874697

Title:
  ConsoleKit is started too late

Status in “consolekit” package in Ubuntu:
  New

Bug description:
  It's described in this bug here, and has been bugging me for the last
  little while:

  https://bugs.kde.org/show_bug.cgi?id=281851

  The gist of it is that ConsoleKit is not ready when you log in using
  KDM on a fresh reboot. KDM tries to connect to
  org.freedesktop.ConsoleKit via D-Bus and it times out after login.

  After logging-in in this state, you cannot mount USB drives or suspend
  the system, as CK didn't give that session the permissions.

  I've seen this in Natty as well as Oneiric, but only on my laptop
  (which is a Sony F-series laptop).

  lsb_release -rd                                                                                          | Exit:1 |
  Description:    Ubuntu 11.10
  Release:        11.10
  $ lsmod
  Module                  Size  Used by
  rfcomm                 47946  12 
  bnep                   18436  2 
  kvm_intel              61643  0 
  kvm                   383822  1 kvm_intel
  parport_pc             36962  0 
  ppdev                  17113  0 
  binfmt_misc            17540  1 
  autofs4                37024  1 
  dm_crypt               23199  0 
  snd_hda_codec_hdmi     32040  4 
  snd_hda_codec_realtek   330769  1 
  snd_hda_intel          33390  3 
  snd_hda_codec         104802  3 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel
  snd_hwdep              13668  1 snd_hda_codec
  snd_pcm                96755  3 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
  snd_seq_midi           13324  0 
  snd_rawmidi            30547  1 snd_seq_midi
  snd_seq_midi_event     14899  1 snd_seq_midi
  snd_seq                61896  2 snd_seq_midi,snd_seq_midi_event
  uvcvideo               72711  0 
  nvidia              11713772  46 
  videodev               93004  1 uvcvideo
  snd_timer              29991  2 snd_pcm,snd_seq
  snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
  v4l2_compat_ioctl32    17083  1 videodev
  btusb                  18600  2 
  bluetooth             166112  23 rfcomm,bnep,btusb
  snd                    68266  16 snd_hda_codec_hdmi,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
  joydev                 17693  0 
  arc4                   12529  2 
  soundcore              12680  1 snd
  ath9k                 127538  0 
  mac80211              310872  1 ath9k
  ath9k_common           13839  1 ath9k
  ath9k_hw              312866  2 ath9k,ath9k_common
  snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
  ath                    24067  2 ath9k,ath9k_hw
  cfg80211              199587  3 ath9k,mac80211,ath
  psmouse                73882  0 
  serio_raw              13166  0 
  mxm_wmi                12979  0 
  i7core_edac            27942  0 
  edac_core              53746  3 i7core_edac
  sony_laptop            45393  0 
  wmi                    19256  1 mxm_wmi
  acpiphp                24080  0 
  lp                     17799  0 
  parport                46562  3 parport_pc,ppdev,lp
  usbhid                 47198  0 
  hid                    95463  1 usbhid
  vesafb                 13809  1 
  firewire_ohci          40722  0 
  firewire_core          63626  1 firewire_ohci
  crc_itu_t              12707  1 firewire_core
  sky2                   58674  0 
  xhci_hcd               78641  0 
  ahci                   26002  4 
  libahci                26861  1 ahci
  sdhci_pci              14032  0 
  sdhci                  32166  1 sdhci_pci
  video                  19412  0 

  $ lspci
  00:00.0 Host bridge: Intel Corporation Core Processor DMI (rev 11)
  00:03.0 PCI bridge: Intel Corporation Core Processor PCI Express Root Port 1 (rev 11)
  00:08.0 System peripheral: Intel Corporation Core Processor System Management Registers (rev 11)
  00:08.1 System peripheral: Intel Corporation Core Processor Semaphore and Scratchpad Registers (rev 11)
  00:08.2 System peripheral: Intel Corporation Core Processor System Control and Status Registers (rev 11)
  00:08.3 System peripheral: Intel Corporation Core Processor Miscellaneous Registers (rev 11)
  00:10.0 System peripheral: Intel Corporation Core Processor QPI Link (rev 11)
  00:10.1 System peripheral: Intel Corporation Core Processor QPI Routing and Protocol Registers (rev 11)
  00:1a.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
  00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
  00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 05)
  00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 05)
  00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 05)
  00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 05)
  00:1d.0 USB Controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 05)
  00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a5)
  00:1f.0 ISA bridge: Intel Corporation Mobile 5 Series Chipset LPC Interface Controller (rev 05)
  00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 6 port SATA AHCI Controller (rev 05)
  00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 05)
  01:00.0 VGA compatible controller: nVidia Corporation GT216 [GeForce GT 330M] (rev a2)
  01:00.1 Audio device: nVidia Corporation High Definition Audio Controller (rev a1)
  02:00.0 Network controller: Atheros Communications Inc. AR9287 Wireless Network Adapter (PCI-Express) (rev 01)
  03:00.0 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
  03:00.1 System peripheral: Ricoh Co Ltd Memory Stick Host Controller
  03:00.3 FireWire (IEEE 1394): Ricoh Co Ltd FireWire Host Controller
  03:00.4 SD Host controller: Ricoh Co Ltd MMC/SD Host Controller
  04:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8057 PCI-E Gigabit Ethernet Controller (rev 10)
  05:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03)
  3f:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-Core Registers (rev 04)
  3f:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 04)
  3f:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 04)
  3f:02.1 Host bridge: Intel Corporation Core Processor QPI Physical 0 (rev 04)
  3f:03.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller (rev 04)
  3f:03.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Target Address Decoder (rev 04)
  3f:03.4 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Test Registers (rev 04)
  3f:04.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Control Registers (rev 04)
  3f:04.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Address Registers (rev 04)
  3f:04.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Rank Registers (rev 04)
  3f:04.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 0 Thermal Control Registers (rev 04)
  3f:05.0 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Control Registers (rev 04)
  3f:05.1 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Address Registers (rev 04)
  3f:05.2 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Rank Registers (rev 04)
  3f:05.3 Host bridge: Intel Corporation Core Processor Integrated Memory Controller Channel 1 Thermal Control Registers (rev 04)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/874697/+subscriptions




More information about the foundations-bugs mailing list