:: Re: [Dng] LoginKit on the pre-alpha
Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Dima Krasner
Fecha:  
A: dng@lists.dyne.org
Asunto: Re: [Dng] LoginKit on the pre-alpha
I created a Jessie branch in LoginKit's repository.

This branch does not have libsystemd*, just loginkitd (the daemon). I removed all functionality from it, except Inhibit(). It's a method implemented in logind and ConsoleKit2. Session managers and display managers call it.

After some research, I found out that the only package in the Devuan pre-alpha that calls logind D-Bus methods is xfce4-power-manager and it calls only Inhibit(), to (listen carefully) *disable logind's power management functionality*, because xfce4-power-manager has an internal implementation that conflicts with logind's. As far as I see, that's the only reason why Xfce depends on logind.

Therefore, the daemon in LoginKit's Jessie branch exposes Inhibit(), but it doesn't do any power management (because Xfce disables it anyway). It's good, because its code is tiny now. Easier to maintain, less buggy and more secure.

I updated the control file, to make this branch the default for Jessie. Maybe we should make xfce4-power-manager depend on loginkit or systemd, but prefer loginkit. I'm fine with packaging loginkit for Jessie, because the daemon is just a stub now.

https://git.devuan.org/pkgs-utopia-substitution/loginkit/blob/jessie/debian/control

On Sat, 21 Feb 2015 08:23:04 +0100
Jaromil <jaromil@???> wrote:

>
>
> On 21 February 2015 06:13:29 CET, Jude Nelson <judecn@???> wrote:
> >Congratulations Dima! This is wonderful news for the future of Devuan!
> >
> >On Fri, Feb 20, 2015 at 4:44 PM, Dima Krasner <dima@???>
> >wrote:
> >
> >> Hello folks,
> >>
> >> Good news on the logind front! I got the pre-alpha to play nicely
> >with
> >> LoginKit instead of logind.
> >>
> >> http://i.imgur.com/1PTI6L5.png
>
>
> Indeed. Everything is falling in place nicely.
>
> Nextime is almost done with the CI now, he faced some problems with dak and now decided
> to maintain his own fork of it, to have it play well with jenkins. After that, we'll work on instructions
> for people to set up more build mirrors and start working to cover as much architectures as possible
>
> We have no doubts we will soon succeed to have a 1.0 that is completely systemd clean
> and will probably feel very good if not indispensable in the hands of all those used to sysvinit
>
> ciao
>
>



--
Dima Krasner, dimakrasner.com