sysadmin
Follow from the Fediverse
Follow #sysadmin from Mastodon or any other Fediverse app and its public posts arrive in your timeline. No vutuv account needed.
@sysadmin@tags.vutuv.de
Also known as
Sys Admin
The most endorsed users with this tag
Posts with this tag
45 posts
Filters
One of the positive things that happened yesterday was reconnecting with a group of colleagues I hadn’t spoken to in a long time.
They said something interesting:
“For years, many of us thought OpenBSD was a bit paranoid. That they were going too far. Then came the flood of CVEs, RCEs, and all the rest, and OpenBSD has been holding up remarkably well.
They weren’t overreacting. They had simply understood a few things better than the rest of us.”
That last sentence brought a satisfied smile to my face.
If you run a #Synology #NAS there is a security update out today for two different critical security issues:
- Synology-SA-26:20 NGINX2Root
- Synology-SA-26:21 DSM, BeeStation OS
Highlight of the day: yet another WordPress site left to rot since 2024.
I had pointed out the problem months ago, but the client had simply replied with a “thank you.”
Today, an employee emails me saying he “wanted to install some updates, but PHP isn’t up to date,” followed by a whole explanation of how PHP should be updated. Systemd was involved, obviously.
Spoiler: PHP was already up to date, running the latest 8.3 release, inside a dedicated FreeBSD jail for that client’s website.
I take a look, and the site is compromised. WordPress 6.6.x. I immediately tell them to contact the web agency responsible for maintaining it, otherwise I’ll have to take the site offline.
Shortly afterwards, they reply that the web agency says I’m supposed to handle it.
I’ve never touched that website, apart from providing the hosting. It’s full of completely unnecessary plugins, and it’s basically just a brochure website.
I inform the client. I wait.
The client is desperate. He asks me, “Please, help us. Our reputation is at stake.”
That’s when I have one of my five-minute bursts of fury.
I clone the entire site into a static version using an old plugin that still worked (something I had developed years ago with another developer). I make a few adjustments and show it to the client.
“Thank you.”
From today onwards, static only for those kinds of sites. And whenever they need changes, they’ll ask me.
In today’s world, we simply cannot afford to compromise on security anymore, even if that means coming across as overly strict or categorical.
“Of course it was DNS!”
But this time, it was my fault. Again.
I upgraded the BSD Cafe instances to Ruby 4.0.10 (installed via rbenv). Everything seemed fine, until a friendly message arrived: “Hey, the media aren’t working properly!”
I checked, and @nuintari@mastodon.bsd.cafe was right: HTTP 503.
I started investigating, but couldn’t really figure out WHY it wasn’t working.
And yes, it was DNS.
For media delivery, we have several remote Varnish caches around the world, to improve latency and reduce the load on the origin SeaweedFS server.
On the Mastodon servers, I also have an /etc/hosts entry pointing media.bsd.cafe directly to SeaweedFS, bypassing those caches.
Except… I’d only added the IPv4 address!
Apparently, after the Ruby upgrade, connections started using IPv6 instead, resolving media.bsd.cafe to one of the remote Varnish caches. And that’s where things went wrong.
I fixed the mapping, and… we’re back!
Sometimes the problem isn’t DNS itself. It’s the person who configured it.
That would be me. 😉
Me: “Static websites are great for security! No CMS, no database, no PHP, no plugins. Just a few innocent HTML files. What could possibly go wrong?”
nginx: “Hold my CVE.”
Me: “Well, technically, I said the website was secure. I never said anything about the web server.”
And this, kids, is why we can’t have nice things. Not even an index.html.
Java, NGINX, Linux Kernel (LPE) und natürlich irgendwas mit Wordpress.
Was ist das denn für ‘ne Woche?!
Today, I was the one who screwed up, not a customer.
I logged into a MySQL server to delete a test database I’d created for a customer. I got distracted, ran the wrong destroy command, and wiped out the production database instead.
Fortunately, traffic was low at the time, and I had a ZFS snapshot from just one minute earlier (whenever I perform this kind of maintenance, I take snapshots every five minutes, sometimes even more frequently). No data loss. But still…
I informed the customer, who had a good laugh about it.
“You could’ve just said an AI agent did it, couldn’t you?”
Good point. From now on, whenever something goes wrong, it wasn’t me.
It was StefAIno MarineLLM, my terribly unreliable AI agent.
Manpage Monday: bastille sysrc
Safely edit rc.conf inside a jail from the host.
Enable nginx in a jail
bastille sysrc myjail nginx_enable=YES
Disable caddy
bastille sysrc myjail caddy_enable=NO
Add -a and it’ll start a stopped jail, apply the change, then carry on.
See man bastille-sysrc for more details.
So, the #Microsoft outage is screwing things all over the planet, from reservation management to two factor authentication being turned off at some banks…which…wteverlovingf are you thinking?
The status updates have been wild, with sentences like “We’re continuing to pursue all available pathways to restore service, as our actions taken thus far have not provided the anticipated relief.” Which translates as “ fuck man, we don’t even know, our hair is on fire.”
/r #sysadmin has taken the time to translate the last 15 hours of status for us, and it’s fun. Well, as fun as this outage can get, I mean…🤷🏻♀️
99,9 Prozent Verfügbarkeit, das sind 43 Minuten Ausfall im Monat. Exchange Online hatte dieses Budget gestern um 18:00 Uhr verbraucht. Seitdem läuft die Zugabe.
74 Länder binnen einer Stunde die wie Dominosteine kippen. In Japan haben Ministerien auf Papier gearbeitet, Neuseeland hat die Visa-Bearbeitung gestoppt. Microsoft hat über Nacht fünf Erklärungen geliefert, eine bestätigte Ursache war nicht dabei. Copilot kann dazu nichts sagen, er ist selbst betroffen.
Mein Mitgefühl gilt den Admins. Sie können nichts reparieren, weil ihnen nichts davon gehört. Ihnen bleibt die Statusseite, und nicht einmal das Admin Center lädt zuverlässig. Als Trost winkt laut SLA eine Gutschrift. Aber nur auf Antrag!
Und irgendwo sitzt jemand, der neulich „alternativlos“ in eine Vorlage geschrieben hat.
Befangen bin ich natürlich: Ich verkaufe das Gegenmodell, bei der Heinlein Gruppe mit #mailbox.org, #OpenCloud und #opentalk . OpenCloud und OpenTalk sind Open Source, ihr könnt beides ganz ohne uns betreiben. Wer vorerst bei Microsoft bleiben muss, bekommt bei mailbox mit #EVAC eine zweite Kommunikationsplattform im Standby. Ja, das war die Werbung.
Auch unser Zeug fällt irgendwann aus. Aber nicht in 74 Ländern gleichzeitig.
Souveränität heißt nicht, dass nichts ausfällt. Sie heißt, dass ihr dann Optionen habt.
One outage. One Plan B. One less excuse.
I’ve always appreciated the simplicity of the BSDs. Power, yes, but without unnecessary complexity.
BastilleBSD and vm-bhyve have been my trusted companions for many years. But whenever I used Linux, I missed them.
That’s why, years ago, I started putting together a collection of shell scripts (and some Python, although to a much lesser extent) to create something somewhere in between.
A bit of Bastille, a bit of vm-bhyve, a bit of Proxmox: unprivileged Linux system containers and virtual machines, managed from the command line.
Live backups. And live restore: bringing a workload back online before all its data has finished copying from the backup. Multiple storage backends. Encryption at the storage or individual workload level. Different networks. Isolation of each workload (a bit like illumos zones), with additional layers of protection.
Each container has its own UID/GID mapping. VMs run under separate unprivileged identities, with namespaces, seccomp and resource limits adding further layers of protection.
Pull-based backups from external hosts, with different levels and types of encryption. With raw encrypted ZFS replication, the backup server doesn’t even need the decryption keys. Backups are pulled over SSH by an external server. The workload host holds no credentials to log in to that server.
It also runs on a 1 GB Orange Pi PC 2, where I’ve tested both containers and native ARM64 KVM guests. And on a Orange PI One, armv7 and 512MB, it can run some lxc containers without problems, from the SD, using f2fs.
Simple disaster recovery. Because after those 142 servers went up in flames in Strasbourg, disaster recovery became something I care a lot about.
Currently supported and tested on Alpine Linux, Debian 13 and Armbian. On Debian, LXC containers also run under enforcing AppArmor profiles, adding another layer of protection.
Few commands. Lots of power. And it’s called “Jail It!”
I’m not going to release it, at least not for now. I need to focus on my other projects, and Jail It! still needs some cleaning up.
But it works. And it does its job very well.
For containers, there’s absolutely nothing running in the background. For VMs, just a small Python helper. No continuously running services. You connect via SSH, run your commands, and that’s it.
Still, for anyone curious enough to have a look, I’ve put together a short demo on Asciinema:
Well, “short” might be a bit of an exaggeration. It’s quite long, but I think it’s worth watching all the way to the end.
Published the results of my ‘2026 Self-Host User Survey’ this morning, which received over 6,200 responses - a 52% increase from last year!
The results are super interesting and there were a ton of questions that surprised me. Check it out and let me know what you think.
Was chatting with @hayzam@mastodon.bsd.cafe yesterday about Sylve and integrating daemonless (daemonless.io) directly into it. Seeing it turn painful setups like Grafana and VictoriaMetrics into 10-second deployments is exactly why we’re doing this.
It hit on a familiar feeling: remember when getting a new phone was exciting? Setting up every app, tweaking configs, logging into everything. Nowadays, it’s just a chore you want over with. Babysitting packages and doing low-level sysadmin work on standalone jails feels the exact same way.
Wrote down some thoughts on moving past that friction: ahze.net/posts/…
Toll. Jetzt ist das Supermicro Netzteil meines Ersatzservers defekt. Von Heut auf Morgen, macht einfach keinen Mucks mehr, kein Relais Klicken mehr, keine Standby Spannung, nix.
Eine Diode fällt auf, dass sie in beide Richtung durchlässig ist, aber kann den Typ nicht erkennen, vlt. muss das ja auch so. (Zener Diode?)
Zur Sicherheit gefragt: Hat wer zufällig ein Supermicro PWS-563-1H Netzteil (oder kompatibel), welches nicht mehr benötigt wird, über?
🥺
👉 👈
OH: … mit dem Katalog und dem starken Verdacht, dass “geplant” das
optimistischste Wort im deutschen Verwaltungsdeutsch ist #sysadmin #Grundschutz
Archaeology is the art of working out what people were thinking from what they left behind.
System administration is the same, except that the people were usually us.
A log store with a search box is a library with no catalogue: everything is there, and you have to know the title.
.
.
.
Libraries without a catalogue do exist. They are called attics, and the things in them are found mainly while looking for something else.
Logs are a lot like the universe: vast, mostly empty, and every so often something in them is on
fire.