[chiark.chat] Re: RFH: sysvinit etc. in Debian

Andreas Messer andi at bastelmap.de
Fri Nov 9 11:53:36 GMT 2018

On Fri, Nov 09, 2018 at 11:02:45AM +0000, Ian Jackson wrote:
> Andreas Messer writes ("Re: [chiark.chat] Re: RFH: sysvinit etc. in Debian"):
> >  The most problematic
> > one: systemd-logind and elogind use cgroups to assign a process to a
> > session. Unfortunately, both of them use a different cgroup structure.
> > ...  But since they use different structure
> > an application linked with libsystemd will never get the proper session
> > when elogind is used and vice versa. Therefore we had to create two
> > different polkit variants. 
> What you say makes sense on its own terms but I feel confused now.
> elogind works on FreeBSD, right ?  Where there are no cgroups.  So how
> are we still depending on cgroups ?

Well when I made the analysis, elogind v234 was the latest version.
I have relooked at the code, there were several changes regarding
cgroup handling but it is still in there. It seems that they use
identical cgroup structure now, so there is some chance that 
there is compatibility between elogind and libsystemd linked
applications now. 

For Devuan ascci we have libsystemd0 v232 and elogind v234, 
the cgroup interface was changed, say unified in v233 ;-) 
That might be the real reason in the end why we had to 
create separate version for polkit in Devuan

gnuPG keyid: 8C2BAF51
fingerprint: 28EE 8438 E688 D992 3661 C753 90B3 BAAA 8C2B AF51
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20181109/7e472667/attachment.sig>

More information about the Debian-init-diversity mailing list