social.dk-libre.fr is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
For 10 years now, people from the Linux side tell me systemd is so much easier and "Unit-Files" are so much cleaner and better than init-scripts ...
Well, I still don't get it. A well implemented init-system like that of FreeBSD is:
- Clean
- Flexible
- Way more lightweight
- Works with just shell code
I have written a rc.d init-script for zigbee2mqtt today and honestly? It's not going to be shorter than that. Would chose that instead of systemd! ANY TIME! K.I.S.S.
10 years in and I still don't see a real advantage of monolithic-binary init-systems with static configuration files.
Spent my morning figuring out why Nginx was dead on a server with many days of uptime. No reboot, no kernel panic. Just... down. Ubuntu 24.04.
The cause? An automatic unattended-upgrade of libc6. This prompted systemd to work its magic, wisely deciding to restart every running service to apply the patch. Fine.
The problem is, in the exact same minute, the systemd timer for certbot decided it was time to renew certificates.
The result:
- systemd stops Nginx.
- Port 80 becomes free.
- certbot, in standalone mode, immediately grabs it for validation.
- systemd tries to restart Nginx, which fails with "Address already in use".
The web server was knocked offline by its own certificate renewal script.
I swear, this is the kind of cascading failure that has never happened to me in years of running *BSD. With a classic cron job, certbot would have failed, logged an error, and tried again the next day. The web server would have remained untouched.
systemd was doing its job, but something failed because of the interactions.
Sometimes, too much automation and too many interconnected parts just create more spectacular ways for things to break.
#OverUnder 033! This week @immarisabel is my guest.
She was kind to reply to those topics:
-#Small web
-#KISS
-#Amsterdam
-#Blaugust
-Rice pudding
#blogging #blog #fediverse #dessert
This is 90/100 post for the #100DaysToOffload challenge.
https://lazybea.rs/ovr-033
et quelque part ca reste dans le principe faire une seule chose et le faire bien !
#borg
Ces performances étonnantes de #Borg me font douter du maintient de ma méthode de #backup actuelle (#Rsync + #Hardlinks)...
Ce qui me retient encore de tout passer à Borg c'est le #KISS (Keep It Simple, Stupid) du backup Rsync qui donne tout simplement des fichiers. Donc, on peut pas faire plus compatible et simple d'accès.
Côté Borg, il faut quand même monter avec borg mount ou restorer. Compliqué... S'il y a une cassure techno c'est plus incertain et moins KISS.
🤔Je doute... Et vous ?