On Thu, Jul 26, 2018 at 12:45:53PM +0200, info at smallinnovations dot nl wrote:
> On 26-07-18 12:15, KatolaZ wrote:
> >
> > 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
> >
> Of course does the libsystemd API not provide it, but we can. First call
> to libsystemd API == systemd installed? If no, call to libnosystemd API
> which init system == installed? Or something like that. But put in place
> a mechanism that allows to shell out the calls to libsystemd functions
> to a set of scripts with pre-defined names would make libnosystemd far
> more useful imo. Especially for developers.
> 

But that would entail forking and patching all the packages which use
libsystemd to force them to check if systemd is available... which is
exactly what we are trying to avoid by nooping libsystemd0... :P

HND

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  ]

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Dng mailing list
[email protected]
https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Reply via email to