:: Re: [DNG] Icinga on Devuan
Top Page
Delete this message
Reply to this message
Author: Steve Litt
Date:  
To: dng
Subject: Re: [DNG] Icinga on Devuan
wirelessduck--- via Dng said on Thu, 16 Mar 2023 00:58:29 +1100

>> On 16 Mar 2023, at 00:39, onefang <onefang_devuan@???>
>> wrote:
>>
>> On 2023-03-16 00:17:22, wirelessduck--- via Dng wrote:
>>> Does anyone else here use Icinga on Devuan?
>>> Unfortunately it appears that Icinga now only supports systemd :/
>>> https://github.com/Icinga/icinga-packaging/issues/281#issuecomment-1467812432
>>> Tom
>>
>> I'm using Icinga on Devuan Chimaera fine, it comes with a SysV init
>> script and no systemD.
>>
>> That bug report says Icinga2, which is also in Chimaera, but I've
>> never installed it. I dunno what this icingadb thing is, don't
>> think it's part of Devuan, at least not as a seperate package that I
>> can find.
>>
>> --
>> A big old stinking pile of genius that no one wants
>> coz there are too many silver coated monkeys in the world.
>
>No, I’m using the upstream icinga2 apt repository. Sorry, I should
>have made that clearer initially.
>
>It still works for the moment as they haven’t actively removed any
>existing initscripts. I only stumbled upon this when I attempted to
>migrate from the older deprecated ido-pgsql database module to the
>newer icingadb configuration.
>
>See https://icinga.com/docs/icinga-db/latest/doc/01-About/
>
>Unfortunately they don’t appear to list this systemd restriction
>anywhere in their documentation. Otherwise I would have thought twice
>about using this software when I did the initial setup.
>


>it
>was trivial to copy and create an initscript manually for icingadb.
>The web component is all php so no need for extra initscripts there.
>
>I was half thinking about submitting some runit scripts upstream but
>it looks like they would get rejected.


Almost certainly. But this doesn't mean Devuan can't provide,
officially or unofficially, the runit run scripts you provide.

> Are runit scripts compatible
>across all OS or do they require slight differences like sysvinit
>initscripts?


I think you mean "across all distros". My guess would be that paths
would change depending on distro, but if the executable path makes all
these paths available at fairly early boot time, executables could be
run without their full paths.

And this brings me to the beauty of a hybrid init system. Runit's
process supervisor can be installed for the sole purpose of running
Icinga. As long as all Icinga daemons are capable of running in the
foreground, they'll work fine with the runit process supervisor.

Now, after we relieve this clown Henrik Triem of the need to create a
sysvinit init script, I think every one of us should let this
poetterist know that we're going to be very annoyed if he takes the
next poetterist step of deliberately adding code so that the executable
itself won't run on any PID1 except systemd.

SteveT

Steve Litt
Autumn 2022 featured book: Thriving in Tough Times
http://www.troubleshooters.com/bookstore/thrive.htm