Ask Your Question
0

console-kit-daemon: what is this service for?

asked 2012-03-14 16:15:24 -0500

skytux gravatar image

updated 2012-03-15 08:22:30 -0500

The service console-kit-daemon takes too much time in my Dell Vostro 3500, with Fedora 16 64-bits:

$ systemd-analyze blame
 25056ms console-kit-daemon.service
 13489ms fedora-loadmodules.service
 11236ms udev-settle.service
  9765ms var-lib-nfs-rpc_pipefs.mount
  8240ms media.mount
  8014ms dev-mqueue.mount
  7993ms sys-kernel-debug.mount
  7973ms dev-hugepages.mount
  7927ms remount-rootfs.service
  7896ms systemd-remount-api-vfs.service
  7889ms sys-kernel-security.mount
 .........

$ systemd-analyze
Startup finished in 1463ms (kernel) + 4105ms (initramfs) + 48686ms (userspace) = 54255ms

I'd like to know why the time is so high and if it can be disabled, or if that time could be lowered in some way.

EDIT

# systemctl enable console-kit-daemon.service

Reboot, and then:

$ systemd-analyze blame
 12570ms fedora-loadmodules.service
 10641ms udev-settle.service
  8677ms var-lib-nfs-rpc_pipefs.mount
  6953ms remount-rootfs.service
  6847ms media.mount
  6604ms dev-mqueue.mount
  6581ms sys-kernel-debug.mount
  6558ms dev-hugepages.mount
  6480ms sys-kernel-security.mount
  6479ms systemd-remount-api-vfs.service
 ......
   604ms console-kit-daemon.service
 ......
edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
2

answered 2012-03-14 21:26:30 -0500

updated 2012-03-14 21:33:25 -0500

Consolekit is "is a framework for defining and tracking users, login sessions, and seats. "

See also http://www.freedesktop.org/software/ConsoleKit/doc/ConsoleKit.html

FWIW, consolekit is no longer maintained and is shifting to loginctl

http://fedoraproject.org/wiki/Features/ckremoval

http://0pointer.de/public/systemd-man/systemd-loginctl.html

People have reported disabling it, but I do not know if you can disable it or not.

The only bug reports I could find possibly relating to what you are seeing are here

https://bugzilla.redhat.com/show_bug.cgi?id=708866

https://bugzilla.redhat.com/show_bug.cgi?id=753363

If those do not offer a solution, I suggest you file a bug report.

edit flag offensive delete link more

Comments

Thanks for the complete info you gave me. I'm going to read carefully those bugs reports.

skytux gravatar imageskytux ( 2012-03-15 08:00:53 -0500 )edit

I was able to lower the time console-kit-daemon takes in my system thanks to comment #3 in the first BZ link you posted above. In my system, console-kit-daemon was running, but it was disabled according to systemctl. Then I enabled it, I rebooted and now it takes less than 1 second!! Thanks :-)

skytux gravatar imageskytux ( 2012-03-15 08:17:42 -0500 )edit
2

answered 2013-02-14 10:44:24 -0500

lennart gravatar image

ConsoleKit is obsoleted by systemd's own logind service. Both services manage active logins and suchlike. For a longer explanation what logind does type "systemctl help systemd-logind.service". CK did similar but less stuff than logind.

GNOME has been updated to not require CK anymore, and you can safely remove CK then. If you use some other DE you might have to keep it around however.

edit flag offensive delete link more

Comments

thanks lennart :)

skytux gravatar imageskytux ( 2013-02-14 11:26:53 -0500 )edit
0

answered 2012-03-14 18:07:02 -0500

KevinA gravatar image

Console kit, if I'm not mistaken, is responsible for managing graphical user logins and managing processes started in those sessions. I would recommend against disabling it if you use graphical interfaces.

edit flag offensive delete link more

Comments

Thanks for your advice.

skytux gravatar imageskytux ( 2012-03-15 08:01:57 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2012-03-14 16:15:24 -0500

Seen: 41,746 times

Last updated: Feb 14 '13