:: Re: [DNG] powerdns upstream has dro…
Etusivu
Poista viesti
Vastaa
Lähettäjä: Steve Litt
Päiväys:  
Vastaanottaja: dng
Aihe: Re: [DNG] powerdns upstream has dropped sysvinit support
altoid via Dng said on Wed, 11 Oct 2023 15:22:41 -0300

>On 11 Oct 2023 at 17:54, al3xu5 via Dng wrote:
>
>[... just the visible tip ... ]
>> ... agree.
>
>[ ... only way to survive what is going on ... ]
>> ... agree.
>
>Right.
>Now convince the "Look Ma !!! I rolled my own [fill in]!!!" crowd.


Excuse me. What's wrong with the "Look Ma !!! I rolled my own [fill
in]!!!" crowd? When it's easier to roll your own than to get things
packaged, why not roll your own, and share it via putting the file on a
website?

I haven't used sysvinit since early 2015, but if I remember correctly,
all you need to do is code 5 subroutines. I think they were up, down,
restart, and two more things. If you roll your own you can get rid of
95% of the bullshit in a typical sysvinit init script, because that
bullshit is only for edge cases and corner cases, and it's much easier
just to custom code it. Oh, and you need to give the script a number,
in that magical meaningful comment at the top, so that it starts at the
right time, but that's usually pretty easy.

Rolling your own makes life simpler for overworked packagers and
developers. And rolling your own involves a lot more things than
systemd. Most of my email system is roll-your-own, so I never had to
ask a maintainer to put in a new feature.

I'm a roll-your-own kinda guy for the same reason as I'm an
anti-systemd kinda guy. Do one thing and do it right. If I can
incorporate my desire using a separate shellscript, C program or
whatever, leaving the actual application in its
as-shipped-from-the-factory condition, there's a separation of concerns
that's healthy for the entire software environment.

Roll your own is a skill. It's a skill everyone should have. If you're
using sysvinit, you should be able to roll your own simple init
scripts. If you use runit, you should be able to roll your own run
scripts. If you use s6 you should be able to roll your own run scripts.
If you're using systemd you should buy a coloring book suitable for 4
year olds and have fun with an IQ appropriate activity.

SteveT

Steve Litt

Autumn 2023 featured book: Rapid Learning for the 21st Century
http://www.troubleshooters.com/rl21