[Pkg-utopia-maintainers] Bug#527846: Bug#527846: Bug#527846: consolekit: does not provide a init.d script (how do I restart the daemon?)

Michael Biebl biebl at debian.org
Sat May 9 00:05:20 UTC 2009


Francesco Poli wrote:
> On Sat, 09 May 2009 00:49:31 +0200 Michael Biebl wrote:
> 
>> Francesco Poli (t1000) wrote:
> [...]
>>> As a consequence, I cannot understand what's the correct strategy
>>> to restart the daemon, when I need to (e.g.: because checkrestart
>>> suggests to do so, after a package upgrade).
> [...]
>> console-kit-daemon is a D-Bus activated system service.
>> If you want to restart it, simply kill the process and D-Bus will launch it on
>> demand. There is no need for a legacy sysv init script.
>>
>> It's not recommended to restart console-kit-daemon anyway, as you will lose all
>> registered sessions.
> 
> Well, but what if a security update on one of the dependencies creates
> the *need* to restart the daemon?
> This is the first time I encounter a daemon which I should try to never
> restart...  :-o

iirc udev is also not restarted on upgrades, so is /sbin/init, or wpasupplicant.

The easiest way is to simply restart the system.

> It sounds kinda strange that I am recommended against restarting a
> daemon!
> 
>> Hope that answers your questions.
> 
> It does answer my questions, but it also generates even more
> head-scratching!  :-/

Well, you can restart consolekit, but then you will have unexpected behaviour
(users in the desktop session will no longer be able to
suspend/hibernate/shutdown etc).

Cheers,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090509/8375dce7/attachment.pgp>


More information about the Pkg-utopia-maintainers mailing list