ConsoleKit 0.2.4

Joe Marcus Clarke marcus at FreeBSD.org
Wed Jan 23 13:02:42 PST 2008


On Wed, 2008-01-23 at 22:58 +0200, S.Çağlar Onur wrote:
> 23 Oca 2008 Çar tarihinde, Michael Biebl şunları yazmıştı: 
> > 2008/1/23, William Jon McCann <mccann at jhu.edu>:
> > > A new ConsoleKit release is available.
> >
> > [..]
> >
> > > system restart/stop support.
> >
> > tbh, I find it very strange, that this kind of functionality is in
> > ConsoleKit. I'd rather that CK remains as simple as possible and only
> > provides user/session tracking.
> >
> > This also creates a very "nice" dependency loop:
> > CK depending on PolicyKit and PolicyKit depending on CK. Not good.
> >
> > Could you elaborate why this functionality was put into CK?
> > I'd prefer if CK wouldn't add a dep on PolicyKit.
> 
> I think this is a misunderstanding, and what William try to say is now CK can 
> be restarted without using session info.
> 
> And by the way it works here with out a problem...
> 
> caglar at zangetsu ~ $ sudo ck-history --frequent
> ** (ck-history:2896): DEBUG: Processing /var/lib/run/ConsoleKit/history...
> root     2
> caglar   1
> caglar at zangetsu ~ $ ck-list-sessions
> Session1:
>         uid = '1000'
>         realname = 'S.Çağlar Onur'
>         seat = 'Seat1'
>         session-type = ''
>         active = TRUE
>         x11-display = ':0'
>         x11-display-device = '/dev/tty7'
>         display-device = ''
>         remote-host-name = ''
>         is-local = TRUE
>         on-since = '2008-01-23T20:51:59Z'
> 
> :)

There are now restart and shutdown scripts in CK (i.e. to restart and
shutdown the system).  They are authorized via polkit, and CK now has a
hard dependency on polkit.  This isn't an immediate problem on FreeBSD
since polkit doesn't have a hard dependency on CK, but if that changes,
we will have a nice dependency loop.

The scripts themselves look like they came from HAL (at least the
FreeBSD versions).  I wonder if HAL should be left to control this.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freedesktop.org/archives/hal/attachments/20080123/fa58d6f4/attachment.pgp 


More information about the hal mailing list