Mailinglist Archive: opensuse-virtual (15 mails)

< Previous Next >
[opensuse-virtual] console-kit-daemon in a Xen guest. why, and how to disable it?
  • From: PGNet Dev <pgnet.dev+osvm@xxxxxxxxx>
  • Date: Sat, 19 Sep 2009 09:26:29 -0700
  • Message-id: <94f2e81e0909190926j72236b4m3d49fc7aeee22544@xxxxxxxxxxxxxx>
i'm 'trimming' a headless-server Xen guest's memory/process usage.

checking top, i note,

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
...
1369 root 20 0 9324 2188 1436 S 0 0.4 0:00.00 console-kit-daemon
...

reading @,

http://www.novell.com/products/linuxpackages/opensuse11/consolekit.html

"ConsoleKit is a system daemon for tracking what users are
logged into
the system and how they interact with the computer (e.g. which
keyboard
and mouse they use)."

as i'm on a headless guest (@ a hosted VPS ...), it's not clear why at
all console-kit-daemon's needed, or launched in the 1st place.

as the package list referenced above includes

lrwxrwxrwx 1 root root 22 Jun 7 02:21
/usr/sbin/rcconsolekit -> /etc/init.d/consolekit

i thought i could simply turn the service off. but,

chkconfig --list | grep -i console
(empty)

checking,

ls -al /etc/init.d/consolekit
/bin/ls: cannot access /etc/init.d/consolekit: No such file or
directory

given that i've

lsb_release -d
Description: openSUSE 11.1 (i586)
rpm -qa | grep ConsoleKit
ConsoleKit-0.2.10-60.27.1

checking,

rpm -qa --changelog ConsoleKit | grep -A1 -B1 script
* Fri Sep 26 2008 hmacht@xxxxxxx
- remove rc-script. ConsoleKit is activated on demand with D-Bus
system activation (bnc#428228)

@,

Bug 428228 - consolekit should not have an rc script
https://bugzilla.novell.com/show_bug.cgi?id=428228

simply suggests,

consolekit should not have an rc script I think, i think it will just be
activated when needed these days and there looks like a potential race
between
consolekit and haldaemon currently because of the startproc usage.
Fedora
seems to not have an rc script for it currently.

leaving "when needed" a bit ... unclear.

if i killproc console-kit-daemon on the running Xen guest, there
*seems* to be no deliterious effect -- some resource is simply freed
up ...

any insights as to if/why it's required/launched for a Xen guest, &/or
how to disable it would be appreciated. at the very list, a pointer
to some clear documentation on it would help ...

thanks.
--
To unsubscribe, e-mail: opensuse-virtual+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-virtual+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages