:: Re: [DNG] systemd and ssh-server
Page principale
Supprimer ce message
Répondre à ce message
Auteur: KatolaZ
Date:  
À: dng
Sujet: Re: [DNG] systemd and ssh-server
On Thu, Jul 26, 2018 at 12:01:54PM +0200, info at smallinnovations dot nl wrote:
> On 26-07-18 10:00, KatolaZ wrote:
> >
> > The main problem is that those packages need to be maintained, and not
> > just stripped of the libsystemd0 dependency once, and then forgotten,
> > which is what happened with most of the Jessie packages that were
> > forked for that reason.
> >
> > The medium-term plan is to replace libsystemd0 with a libnosystemd
> > which Provides: libsystemd0 and noops everything, with the possibility
> > of shelling-out some actions, if the admin wants so. We will get
> > there.
> >
> > My2Cents
> >
> > KatolaZ
> >
>
> Main question is which direction do we go with libsystemd0. Creating a
> libnosystemd sounds like a good idea to me. Too bad i do not have
> developer skills in that area. But i cloned the git repo to take a look
> at it and i wonder if there is a way to supply certain information from
> daemons if installed to make better use of it. Better in the way that it
> not only tells no systemd installed but make some information available
> like which init system is installed. Or other useful information.


The libsystemd API does not provide any way to check *which* init
system is running (ehm...for "obvious" reasons, right?). But we could
put in place a mechanism that allows to shell out the calls to
libsystemd functions to a set of scripts with pre-defined names. Then,
the system administrator or the packagers can put whatever they want
in those scripts, or even remove them altogether.

This would in principle allow people to "catch" systemd-related events
and "translate" them to events for any other init system, using a
simple mechanism. Or just plainly ignore them, if they like...

My2Cents

KatolaZ

-- 
[ ~.,_  Enzo Nicosia aka KatolaZ - Devuan -- Freaknet Medialab  ]  
[     "+.  katolaz [at] freaknet.org --- katolaz [at] yahoo.it  ]
[       @)   http://kalos.mine.nu ---  Devuan GNU + Linux User  ]
[     @@)  http://maths.qmul.ac.uk/~vnicosia --  GPG: 0B5F062F  ] 
[ (@@@)  Twitter: @KatolaZ - skype: katolaz -- github: KatolaZ  ]