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.
Ein Befehl für deinen Server: sudo crontab -l
Er zeigt die geplanten Aufgaben von root. Jede Zeile läuft nach Zeitplan, */5 vorn heißt alle fünf Minuten. Kennst du jede Zeile? Angreifer nutzen Cron, um auf einem Server zu bleiben.
Was läuft bei dir, das du längst vergessen hattest?
Wachhund prüft geplante Aufgaben jede Nacht und meldet Abweichungen: https://wachhund.io
#Linux #Serversicherheit #Sysadmin #Selfhosting #Cron #Homelab
Update PHP and tell your server-ing friends to do the same: https://thehackernews.com/2026/11/php-fixes-7-critical-flaws-including.html?m=1
(don't forget to restart the PHP service when you have)
2.5 Admins 326: *sshole
A vulnerability in ssh on musl Linux systems is finally fixed after 10 years, cops using Flock cameras cause nightmares for innocent people, libvirt vs Proxmox, and issues with old ZFS snapshots.
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 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. 😉
Ein Befehl für deinen Server: sudo ufw status
Steht dort „Status: inactive“, ist die Firewall aus. Bei Ubuntu ist das der Zustand ab Werk. Vor dem Einschalten erst SSH freigeben, dann sudo ufw enable, sonst kann sie dich aussperren.
Was stand bei dir?
Bei Wachhund ist die Firewall einer von vier Schaltern zum Härten: https://wachhund.io
#Linux #Serversicherheit #Sysadmin #Selfhosting #Ubuntu #Firewall
Luego de 3 semanas desde la última vulnerabilidad PHP que puso a correr al mundo en octubre 2026, el proyecto vuelve a anunciar otra vulnerabilidad de nivel crítico (el nivel más alto). Las actualizaciones están planeadas para ser publicadas este 19 de noviembre 14:00 UTC (10 am Costa Rica).
https://www.php.net/archive/2026.php#2026-11-18-1
Actualizaremos este artículo con información conforme esté disponible.
Luego de algunas horas las versiones actualizadas de PHP estarán disponibles en los repositorios de sistemas operativos como Debian y sistemas como cPanel.
En Impulsa IT Solutions estaremos trabajando para actualizar y proteger todos los sistemas en la nube gestionados para nuestros clientes y asegurarnos de que servidores web y plataformas en línea gestionadas por nosotros reciban las protecciones ante ambas vulnerabilidades de seguridad. Clientes de Hospedaje Compartido con cPanel, Aplicaciones y Sistemas en la Nube no deben tomar ninguna acción.
Clientes con contrato de soporte activo que incluya soporte y mantenimiento de infraestructura IT recibirán las actualizaciones de manera urgente en servidores y otros sistemas aplicables por parte de nuestro equipo de soporte lo antes posible y nos comunicaremos para que los equipos de TI de nuestros clientes puedan tomar acción en los sistemas que administran internamente o son gestionados por terceros. En caso de dudas o consultas por favor comunicarse con nuestro equipo por los medios habituales o usando nuestro formulario web de soporte.
Si usted no tiene una suscripción de soporte y le gustaría contratar nuestro servicios conversemos usando nuestro formulario web de ventas, usando el correo ventas@impulsait.com o cualquier de nuestros canales de contacto de ventas y con gusto le podemos cotizar nuestro trabajo.
Question for #Garage #zfs #sysadmin #FreeBSD #MastoAdmin peeps:
Our S3 MinIO replacement for #Mastodon is Garage. We can set a block size (default is 1M) that is much closer to average file size, let’s say we set it to 32k.
We can either add compression in Garage (the default) or at ZFS.
Questions:
- Which is better for compression? Garage managing the compression before writing the 32k blocks, or ZFS compressing the 32k block down to something else?
- Is there anything to tune on ZFS like setting g recordsize=32k to match block size?
Searching is not revealing anything useful. 🙏
I'm such a DNS idiot. I've had some mail delivery issues and couldn't figure out what was going on. In the chaos that started with PHP2Shell, I've had to juggle an increasing long list of software and configurations.
The overload from all the urgent changes and frantic client emails had me so fried that I wasn't thinking clearly when I started getting rDNS errors from other mail servers after some server changes I had to make.
You see, I've checked and re-checked to make sure that my PTR records were absolutely correct. They were. I was increasingly frustrated at every mail server telling me otherwise.
And then it hit me. My A record was wrong. I never screw up the A record. This is like the first time in 25 years of handling DNS that I completely messed up the A record.
That never happens so it never occurred to me that maybe I messed up that thing I can do in my sleep.
Ugh.
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?!
Ein Befehl für deinen Server: cat /var/run/reboot-required
Steht dort „*** System restart required ***“, wartet ein Update auf den Neustart. Ein neuer Kernel etwa läuft erst danach. Fehlt die Datei, hat kein Paket einen Neustart angemeldet.
Wie lange läuft deiner schon durch?
Wachhund prüft, ob ein Neustart aussteht: https://wachhund.io
#Linux #Serversicherheit #Sysadmin #Selfhosting #Ubuntu #Homelab
TIL Ferron exists:
https://ferron.sh/
Anybody any opinions on it? Anybody running it in production?
Edit: looks like Ferron development leans on slop generators; I am now looking at anville :3 instead
https://lukasrotermund.de/posts/caddy-is-slop-and-anville-is-here-to-help/
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.
We're hiring an Ops Team Manager
Lead the 5 engineers who run the Software Heritage archive infrastructure (30B+ source files, 6B commits). Part manager, part hands-on engineer.
On the roadmap: new infrastructure at CINES, more DevOps, a growing team.
📍 Inria Paris · 2-year renewable contract, prospect of permanent · 90 remote days/yr · €30–70k
Kubernetes, Ceph, PostgreSQL: curiosity counts more than mastery.
https://www.softwareheritage.org/2026/10/19/ops-team-manager/
someone gave me a box (larger than shoebox) filled with electronic components, raspberry-pies, arduinos and cables.
next step: adding machines to my tinydatacenter :)
Ein Befehl für deinen Server: apt list --upgradable
Jede Zeile ist ein Paket, für das es eine neuere Fassung gibt. Steht dort „security“, schließt das Update eine Sicherheitslücke. Einspielen: sudo apt update, dann sudo apt upgrade.
Wie viele Zeilen standen bei dir?
Wachhund meldet offene Updates und schaltet automatische Sicherheitsupdates auf Wunsch ein: https://wachhund.io
#Linux #Serversicherheit #Sysadmin #Selfhosting #Debian #Ubuntu
Ein Passwort lässt sich durchprobieren, ein SSH-Schlüssel praktisch nicht. Das Paar hat zwei Hälften: Die öffentliche liegt auf dem Server, die private bleibt bei dir. Erzeugen kannst du es mit ssh-keygen -t ed25519. https://wachhund.io
A supply-chain attack on Optimizely (A/B testing platform) injected malware into JS snippets loaded by ~178 major sites including Zoom, BBC, CNN, Salesforce, GitLab, Ledger, HSBC and IKEA.
The payload swapped crypto addresses, skimmed cards, stole cookies/screenshots and pushed iOS exploits. Most scripts were cleaned within hours on Nov 16.
Full report: https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/
So let me get this straight: about 2h ago a lot of US banks and financial institutions were experiencing problems.
These seem to be resolving. But now, four major airlines?
https://downdetector.com/
Hallo Mastodon! Das hier ist Wachhund, der Wächter für deine Linux-Server: Jede Nacht ein Rundgang mit über 40 Prüfungen, gemeldet wird, was nicht stimmt. Kostenlos für bis zu 10 Server.
Hier erklären wir jeden Montag eine Sache rund um Serversicherheit, in drei Schritten und in klarem Deutsch. Los geht es am 16. November mit der Frage: Warum Schlüssel statt Passwort?
#neuhier #Serversicherheit #Linux #Sysadmin #Selfhosting #Homelab
Ein Befehl für deinen Server: sudo ss -tlnp
Er zeigt, welche Programme auf Verbindungen warten. 127.0.0.1 heißt nur von innen, 0.0.0.0 heißt alle Adressen, auch die öffentliche. Den Rest regelt die Firewall.
Was stand bei dir, womit du nicht gerechnet hast?
Wachhund lernt, welche Ports bei dir lauschen, und trägt neue in die Bestandsaufnahme ein: https://wachhund.io
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.
Salut à tous, je recherche du monde ayant un cursus dans la #cybersécurité. Je me renseigne pour une formation et j'ai besoin d'infos. N’hésitez pas à partager ce message ;-) #formation #job #sysadmin #emploi
Eine Konfiguration ändern, ein Skript korrigieren oder eine Datei über eine entfernte Terminalsitzung bearbeiten: Als Sysadmin oder Poweruser brauchst du einen sicheren Umgang mit einem Kommandozeilen-Texteditor.
Dabei geht es nicht darum, möglichst viele Tastenkombinationen auswendig zu kennen. Entscheidend ist, Änderungen gezielt vorzunehmen, Fehler zu erkennen und die Kontrolle über das Ergebnis zu behalten. Funktionen wie Suchen und Ersetzen, Rückgängig machen, Zeilennummern und Einrückung gehören deshalb zu den wichtigsten Grundlagen. Schon ein zugänglicher Editor wie Nano stellt diese Möglichkeiten bereit.
Ob du Nano, Vim oder Emacs verwendest, ist dabei zweitrangig. Wichtig ist, die folgenden Aufgaben mit deinem bevorzugten Editor zuverlässig erledigen zu können.
Zusätzlich kann diese Übersicht von Nutzen sein, wenn du einen Editor tiefer begreifen willst, aber nicht in den 1001 Funktionen und der langen Dokumentation untergehen willst.
Die erste Grundlage klingt selbstverständlich, ist aber entscheidend: Du solltest eine Datei öffnen, ihren Pfad erkennen, Änderungen speichern und den Editor wieder verlassen können.
Dazu gehört auch, zwischen diesen Aktionen zu unterscheiden:
Editoren unterscheiden diese Vorgänge ausdrücklich. Beispielsweise bietet nano getrennte Funktionen für das Speichern des aktuellen Inhalts, „Speichern unter“ und das Beenden.
Du arbeitest im Editor zunächst an einer im Speicher gehaltenen Fassung, dem sogenannten Puffer oder Buffer. Diese Bearbeitung ist nicht automatisch mit einem erfolgreichen Schreiben in die Datei gleichzusetzen.
Gewöhne dir deshalb an, auf Statusmeldungen zu achten: Ein ausgelöster Speichervorgang und ein erfolgreich abgeschlossener Speichervorgang sind nicht dasselbe.
Wer sich nur mit den Pfeiltasten durch eine lange Datei bewegt, verliert schnell Zeit und Orientierung.
Du solltest deshalb wissen, wie du:
Solche Navigationsfunktionen gehören zur grundlegenden Ausstattung von Terminaleditoren. Nano unterstützt beispielsweise direkte Positionssprünge und die Anzeige von Zeilennummern.
Wenn eine Fehlermeldung auf eine konkrete Zeile verweist, möchtest du diese direkt erreichen, statt sie abzuzählen. Zeilennummern helfen außerdem, Stellen bei einer gemeinsamen Fehlersuche eindeutig zu benennen.
Für den Alltag ist deshalb weniger wichtig, wie schnell du scrollen kannst, sondern wie zuverlässig du die relevante Stelle findest.
Die Suchfunktion ist eines der wichtigsten Werkzeuge im Editor. Du solltest einen Begriff suchen und anschließend zum nächsten oder vorherigen Treffer wechseln können.
Zusätzlich solltest du erkennen, ob die Suche:
Diese Unterschiede beeinflussen, welche Stellen gefunden werden. Nano bietet beispielsweise umschaltbare Suchrichtung, Groß-/Kleinschreibung und reguläre Ausdrücke.
Ein Einstellungsname kann mehrfach vorkommen: in einem Kommentar, einem Beispiel oder einem tatsächlich verwendeten Abschnitt.
Die Suche bringt dich zur passenden Zeichenfolge. Ob diese Stelle auch fachlich relevant ist, musst du anhand des Zusammenhangs entscheiden.
Wenn derselbe Wert mehrfach geändert werden soll, ist Suchen und Ersetzen deutlich praktischer als das manuelle Bearbeiten jeder Stelle.
Du solltest dabei unterscheiden können zwischen:
Nano erlaubt beispielsweise, einzelne Treffer zu bestätigen, zu überspringen oder alle verbleibenden Treffer zu ersetzen. Bereits ausgeführte Ersetzungen werden durch das bloße Abbrechen des Dialogs nicht automatisch zurückgenommen.
Ein kurzer Suchbegriff kann auch Teil längerer Namen, Kommentare oder anderer Werte sein. Prüfe deshalb zuerst einige Treffer und grenze die Suche möglichst passend ein.
Reguläre Ausdrücke sind hierfür eine nützliche Erweiterung. Für den Einstieg ist jedoch eine zuverlässig beherrschte Suche nach festen Zeichenfolgen wichtiger als komplizierte Muster.
Fehler passieren: Eine Zeile wird zu viel gelöscht, ein Textblock an der falschen Stelle eingefügt oder eine Ersetzung betrifft mehr Stellen als erwartet.
Du solltest deshalb beide Richtungen beherrschen:
Diese Funktionen gehören beispielsweise zum grundlegenden Bearbeitungsumfang von Nano.
Undo ist ein Werkzeug für die laufende Bearbeitung. Es sollte nicht dein einziges Konzept sein, um einen wichtigen Ausgangszustand wiederherstellen zu können.
Für effizientes Arbeiten reicht es nicht, einzelne Zeichen zu löschen und neu einzugeben. Du solltest ganze Zeilen und zusammenhängende Bereiche bearbeiten können.
Wichtige Funktionen sind:
Diese Möglichkeiten sind beispielsweise in Nano über Markierung, Kopierfunktion, Ausschneiden und Einfügen verfügbar.
Konfigurationen bestehen häufig aus zusammengehörigen Abschnitten. Wenn du einen solchen Abschnitt als Block bearbeiten kannst, musst du ihn nicht fehleranfällig Zeile für Zeile nachbauen.
Kontrolliere nach dem Einfügen trotzdem die Position und die umgebende Struktur. Ein korrekt kopierter Inhalt kann am falschen Ort weiterhin falsch sein.
Einrückung ist nicht nur eine Frage der Optik. Je nach Dateiformat oder Programmiersprache kann sie zur Bedeutung des Inhalts gehören.
Im Editor solltest du deshalb:
Nano bietet Funktionen zur automatischen Einrückung, zum Ein- und Ausrücken markierter Bereiche sowie zur Darstellung unsichtbarer Zeichen.
Ein Tabulator kann auf dem Bildschirm ähnlich aussehen wie mehrere Leerzeichen. Die zugrunde liegenden Zeichen unterscheiden sich trotzdem.
Wenn Einrückungen merkwürdig wirken oder eine Datei nach dem Bearbeiten nicht mehr wie erwartet funktioniert, ist die Anzeige solcher Zeichen ein wichtiges Hilfsmittel.
Eine lange Zeile kann am Bildschirm über mehrere sichtbare Zeilen verteilt werden, ohne dass zusätzliche Zeilenumbrüche in der Datei stehen. Das ist ein weicher Anzeigeumbruch.
Ein harter Umbruch fügt dagegen tatsächlich einen Zeilenumbruch in den Text ein. Nano unterscheidet diese beiden Funktionen ausdrücklich.
Du solltest wissen, welche Darstellung dein Editor verwendet und ob eine Formatierungsfunktion den Dateiinhalt verändert.
Das ist besonders wichtig, wenn lange Werte, Befehlszeilen oder strukturierte Inhalte nicht versehentlich auf mehrere tatsächliche Zeilen verteilt werden sollen.
Syntaxhervorhebung macht Bestandteile einer Datei farblich unterscheidbar. Sie kann beispielsweise Kommentare, Zeichenfolgen oder Schlüsselwörter hervorheben. nano gehört zu den Editoren, die solche sprachabhängigen Darstellungen unterstützen.
Das erleichtert die Orientierung und kann auffällige Stellen sichtbar machen.
Farben sind jedoch keine vollständige Prüfung: Ein Text kann unauffällig dargestellt werden und trotzdem fachlich oder syntaktisch falsch sein. Der Editor unterstützt dich beim Lesen; er ersetzt nicht die Prüfung durch das zuständige Programm.
In der Praxis hängt eine Änderung oft mit mehreren Dateien zusammen. Du liest beispielsweise einen Wert in einer Datei nach und passt eine andere daran an.
Dafür ist es hilfreich, mehrere Dateien geöffnet halten und zwischen ihren Puffern wechseln zu können. Nano unterstützt mehrere Puffer und entsprechende Wechsel zwischen ihnen.
Dabei solltest du immer erkennen:
Geteilte Ansichten sind eine zusätzliche Komfortfunktion mancher Editoren. Für den Einstieg reicht es, mehrere geöffnete Dateien sicher auseinanderhalten zu können.
Manchmal möchtest du eine Datei nur untersuchen, nicht bearbeiten. Ein Nur-Lese- beziehungsweise Ansichtsmodus reduziert dann das Risiko unbeabsichtigter Änderungen.
Nano besitzt beispielsweise einen solchen Modus. Seine Dokumentation weist aber ausdrücklich darauf hin, dass dieser keine korrekt gesetzten Dateiberechtigungen ersetzt.
Auch Sicherungsfunktionen des Editors sind hilfreich: Sie können eine vorherige Dateifassung aufbewahren. Welche Sicherungen entstehen und wann sie geschrieben werden, hängt von der Konfiguration ab. Nano bietet entsprechende Backupfunktionen.
Wichtig ist, diese Funktionen bewusst zu kennen, statt sich darauf zu verlassen, dass der Editor schon automatisch alles absichert.
Du musst nicht jede Funktion auswendig kennen. Du solltest aber wissen, wie du die integrierte Hilfe öffnest und die angezeigten Tastenkombinationen liest.
Ebenso wichtig sind Statusmeldungen:
Nano zeigt beispielsweise wichtige Tastenkombinationen in Hilfszeilen an und besitzt eine integrierte Bedienhilfe. Die konkrete Tastenbelegung kann von Version und Konfiguration abhängen.
Ein sicherer Anwender erkennt nicht nur, welche Taste er drücken möchte, sondern auch, in welchem Zustand sich der Editor gerade befindet.
Nicht alle Funktionen haben dieselbe Priorität. Ein sinnvoller Lernweg ist:
Priorität
Fähigkeiten
Unverzichtbare Grundlage
Öffnen, speichern, ohne Speichern verlassen, Dialoge abbrechen
Sicher im Alltag
Navigation, Suche, Undo/Redo, Zeilen und Bereiche bearbeiten
Effizient arbeiten
Kontrolliertes Ersetzen, Einrückung, mehrere Dateien, Anzeigeoptionen
Weiterführend
Reguläre Ausdrücke, Makros und automatisierte Bearbeitungsabläufe
Übe zunächst mit unwichtigen Beispieldateien. Das Ziel ist, grundlegende Handgriffe auch dann zuverlässig ausführen zu können, wenn du unter Zeitdruck arbeitest.
Als Sysadmin oder Poweruser musst du keinen Editor bis in jedes Detail beherrschen. Du brauchst aber Bearbeitungssicherheit: die richtige Stelle finden, gezielt ändern, Fehler zurücknehmen und das Ergebnis bewusst speichern.
Geschwindigkeit entsteht anschließend durch Routine. Ein überschaubarer Satz sicher beherrschter Funktionen ist im Alltag wertvoller als viele fortgeschrittene Möglichkeiten, deren Wirkung du noch nicht zuverlässig einschätzen kannst.
Lage 10.11.
Heute keine neue Critical für DACH-Stacks.
Offen: Linux-Kernel CVE-2026-98432, Ubuntu 26.04, 24.04, 22.04 weiter ohne gefixtes Paket (Stand 07.11.). Node.js Security-Release morgen, 11.11. (Stufe HIGH, CVE-IDs folgen), Node 20 und 18 laut Node.js ohne Fix.
Heute im Reel: apt-mark showhold und Patchday.
Prüfen: apt-mark showhold
Mehr: stackwatch.de/lage?utm_source=mastodon&utm_medium=social
#Linux #SysAdmin
Pourquoi taper 50 commandes quand on peut juste écrire maj et aller se faire un café ? ☕🐧
Je viens de publier mes deux scripts Bash pour automatiser la mise à jour et le grand ménage sur Debian 13 (GNOME) et Ubuntu Server 24.04 (sans le fameux écran bleu qui bloque tout 😉).
À copier-coller ici 👉 https://wiki.blablalinux.be/fr/scripts-mise-a-jour-debian-13-ubuntu-server-24-04
Ist apt-mark showhold bei dir leer?
Ein Hold bei apt stoppt jedes automatische Update für dieses Paket. Auch Sicherheitsupdates. Seit damals.
Prüfen: apt-mark showhold
Fix: Grund klären (manchmal Absicht), sudo apt-mark unhold <paket>, sudo apt update && sudo apt upgrade
Quelle: https://manpages.debian.org/bookworm/apt/apt-mark.8.en.html
Video und Stimme: KI-generiert.
https://stackwatch.de/?utm_source=mastodon&utm_medium=social&utm_campaign=evergreen-apt-hold-vergessen
Hello again, fediverse! 👋
I’m Alex, a Linux sysadmin in Scotland 🏴. I first joined in 2019, then wandered between servers and took a few breaks along the way, so consider this a fresh start.
I’m now running my own instance on GoToSocial, because I enjoy self-hosting things I probably don’t need to self-host. Outside of work I dabble in music production and plan to start on game development, both strictly as hobbies. Expect a mix of homelab tinkering, Linux war stories, open-source and privacy chat, the odd travel photo, and whatever I’m playing or listening to at the moment. I’ll use content warnings for heavier topics and alt text on images.
Question for you: what’s the best thing you’ve self-hosted that you couldn’t live without now?
#introduction #Scotland #SelfHosting #GoToSocial #Linux #SysAdmin #OpenSource #Privacy #MusicProduction #GameDev
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.
#Microsoft365 #Outlook #ExchangeOnline #Störung #DigitaleSouveränität #OpenSource #BigTech #Sysadmin #NIS2 #mailboxorg #OpenCloud #OpenTalk #FediverseFirst
> « Sysadmins are the unsung heroes of the century »
When Sysadmins Ruled the Earth
— Cory Doctorow, in « Overclocked: Stories of the Future Present », 2007
Traduite en français par un « fan » (https://boingboing.net/2007/10/07/french-fantranslatio.html), mais elle n'est techniquement plus disponible, sauf dans l'anté-memoire d'internet (voir https://web.archive.org/web/20090731115337/https://arretezdementir.info/sysadmins/When_Sysadmins_Ruled_The_Earth.html)
Enjoy
#sysadmin #doctorow #sf (& thx @pluralistic ❤️ )
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:
https://asciinema.org/a/BbwGs99U9UJDLAzZ
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.
#Linux #LXC #KVM #FreeBSD #Virtualization #OwnYourData #BSD #SelfHosting #Homelab #SysAdmin #DisasterRecovery
Was chatting with Hayzam yesterday about Sylve and integrating daemonless (https://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: https://ahze.net/posts/the-new-phone-feeling/
#FreeBSD #daemonless #Sylve #containers #SelfHosted #SysAdmin
AI - Levels of Usage
🔗 https://cloud.haacksnetworking.org/index.php/s/pF5BndydS2YcxbG
✍️ This framework is an attempt to responsibly delimit #AI levels of usage for writers, researchers, bloggers, programmers, sysadmins, etc. It is open for feedback and commentary from those genuinely interested in frameworks for disclosing ethical usage of AI. If you are not interested in that and/or trolling, you will be blocked. Thanks, oemb1905
#sysadmin #ai #writing #blog #disclosure #citation #thinking
Haack's Networking
🔗 https://content.haacksnetworking.org/w/ddXeefRJ8rw9zeUZRiiRg3
✍️ We go live at around 10am UTC-07. Today's topics and tasks are:
1) Updating Roundcube on all instances
2) Look at Round 1 scores
3) update all other servers
4) Add AI clauses to TOS/Privacy
🎶 Today's music will be a 40 track KISS playlist I made. It is comprised entirely of music from 1973 - 1995, nothing after.
🔗 https://gnulinux.studio/share/dSCLHqpka1
#sysadmin #gnulinux #debian #linuxstreaming #linux #gnulinux #freesoftware #opensource #selfhosted #music #stream #streaming #floss #music
Question for those looking to be #FediHire'd.
How do you deal with the distinction between "my employer wanted things $this_way, so I wasn't able to do things in $correct_way"? I've found this to be especially challenging as my last employer stopped caring about keeping up with the industry trends in about 2010, so I missed the boat on Platform Engineering, SRE, Agile, etc. They were still rocking separated QA, Ops, and Dev teams, still running Waterfall but calling it Agile, and refused to touch anything related to containerization or K8s. Even more importantly, though, we weren't tracking metrics or meta-metrics, nor did they want us to. It was very micro-managed by the co-founders, so there was never any ability to advocate for change – those that did were either forced out or left voluntarily after burning out. They were so singularly focused on "get the feature out the door now" that there was never any room or appetite for "hey, we have an idea for how to move faster, but it'll take time to implement". Any growth we did on the ops side almost had to be done surreptitiously, and I'm sure many of the other engineering teams would say the same.
So, how you handle that situation in your resume and cover letter? I'm finding that, because I don't already have experience with modern SDLC practices, I'm missing out on jobs. Any advice welcome!
Die Versionsnummer lügt. Manchmal zu deinen Gunsten.
Ubuntu und Red Hat bauen Sicherheitsfixes oft in die alte Paketversion ein (Backport). Die Nummer bleibt, der Code ist gepatcht.
Check im Changelog nach der CVE-ID:
apt changelog openssl | grep CVE-
rpm -q --changelog openssl | grep CVE-
Quelle: https://access.redhat.com/security/updates/backporting/
Video und Stimme: KI-generiert.
#Linux #SysAdmin
OpenSSL gepatcht? Dein nginx hängt vielleicht noch am alten.
Laufende Dienste behalten die Bibliothek, mit der sie gestartet sind. Das Update liegt auf der Platte, der Prozess nutzt weiter die alte Version.
10-Sekunden-Check (Debian/Ubuntu): sudo needrestart -r l (nur auflisten), danach gemeldete Dienste mit systemctl restart neu starten.
Quelle: https://manpages.debian.org/jessie/needrestart/needrestart.1.en.html
Video und Stimme: KI-generiert.
#Linux #SysAdmin
👨💻 Prière pour #sysAdmin :
Que votre #firewall soit sanctifié,
Que votre correctif vienne,
Que votre patch soit appliqué,
Sur #Debian comme sur #Ubuntu.
Donnez-nous aujourd'hui nos #CVE quotidiennes,
Pardonnez-nous nos ports ouverts,
Comme nous pardonnons à ceux qui scannent nos serveurs.
Ne nous laissez pas entrer en production sans #backup,
Mais délivrez-nous du #zeroday.
Car c'est à vous qu'appartiennent
Le root, le #kernel et le #sudo,
Pour les siècles des siècles.
Amen… et apt upgrade.
I've spent a long time pondering the difference between a "script" and a "command" in Unix.
Am increasingly convinced that commands come with man pages. Scripts do not. #sysadmin
♻️ Mise à jour d'un article
Étant donné qu'en 2026 c'est toujours la galère pour accéder à distance à un HP Proliant MicroServer Gen 7 (vieilles applets Java, tout ça), j'ai mis jour mon article de 2022 avec de nouvelles informations :
En espérant que ça puisse être utile à quelqu'un 🙂
New series on the blog: Linux Foundationals
Part 1 follows a Fedora machine from silicon to userspace: UEFI and the ESP, shim and Secure Boot, MOK enrollment with mokutil, GRUB and BLS entries, the dracut initramfs, switch_root and finally systemd as PID 1.
Plus: why systemd-analyze blame lies to you, and how critical-chain showed me that rsyslog was costing my laptop six seconds of boot time.
https://blog.hofstede.it/linux-foundationals-from-silicon-to-userspace-the-boot-and-init-chain/
'No Space Left on Device' With 50GB Free Means You're Out of Inodes, and df -i Shows It
https://lockergnome.com/no-space-left-on-device-with-free-disk-out-of-inodes-df-i/
Haack's Networking
✍️ The public cloud GNU/Linux VIP is going live with its paid storage tiers. Public and free storage tiers remain a priority - everyone gets 50GB of storage until if/when all seats are taken. That's not at risk. What we are offering now is paid "extra" storage:
1️⃣ Storage is priced at $10 / 250GB
2️⃣ You must purchase 500GB or more
3️⃣ There is no discount for more
4️⃣ You may only purchase up to 2TB
‼️ Seats are limited (estimate in the 20s). First come, first serve. The full TOS/COC must be agreed to during sign up but/and some highlights are no violations of NM or US federal law, nor any ethical misconduct as defined by the PubGLUG mod team.
💡 Ultimately, we want to coach people and or customers to host on their own. But if u can't? Don't want to? We are here for you with grassroots floss-based production services. Although we provide rock solid service, we are single node and co-located at a local green Data Center - downtime and issues are expected and planned around, not shunned.
✉️ Email me at webmaster @ gnulinux.vip if you want to set up additional storage. Free signup and 50GB tier is open for everyone until seats are filled.
🔥 Kindly, oemb1905
Wir haben noch eine Stelle zu besetzen: Als System-Administrator:in (Linux, Ansible) für unsere SaaS-Plattform @pretix sowie zahlreiche interne Tools in unserem Ops-Team mit großartigen Kollegen. 30-40h/W, fully remote (in .de), bunte Mischung aus Tagesgeschäft und Projekten, strukturiertes Gehaltsmodell mit Minimum bei 4.895 € brutto plus Benefits.
Alle Infos:
https://pretix.eu/about/de/job/ops
#fedihired #fedijobs #remotejobs #linux #ansible #fedihire #getfedihired #sysadmin
Meeting Renzo Davoli at Linux Day brought me back to 20 years ago. "My" FreeOSZoo: https://web.archive.org/web/20051220093645/http://free.oszoo.org/
Du hast gepatcht, aber php -v zeigt noch die alte Version? Kann trotzdem passen.
Ubuntu, RHEL & Co. backporten Sicherheitsfixes oft, die Versionsnummer bleibt dann alt. Prüf stattdessen den Changelog:
apt changelog php8.3-fpm | grep CVE-2026-109618
Und umgekehrt: Paket aktualisiert, aber php-fpm nicht neu gestartet? Dann läuft noch der alte Code.
Upstream gefixt ab 8.2.35, 8.3.36, 8.4.27, 8.5.12 (PHP2Shell, CVE-2026-109618).
Details: https://stackwatch.de/blog/php2shell-cve-2026-109618?utm_source=mastodon&utm_medium=social&utm_campaign=php-v-luegt
Video und Stimme: KI-generiert.
#PHP #PHP2Shell #infosec #sysadmin #devops #linux
php -v zeigt die alte Version, obwohl gepatcht? Bei Ubuntu, RHEL & Co. normal: Fixes werden backportet, die Versionsnummer bleibt.
Prüfen:
apt changelog php8.3-fpm | grep CVE-2026-109618
rpm -q --changelog php-fpm | grep CVE-2026-109618
Und nach dem Update php-fpm/Apache neu starten.
Upstream: 8.2.35 / 8.3.36 / 8.4.27 / 8.5.12
Video mit AI-Stimme.
#PHP #PHP2Shell #sysadmin #linux
Some things that were well worth learning despite the initial learning curve:
* git
* regex
* jenkins
* fluentd/fluent-bit
* ansible
* galera
* kubernetes
* openssl cli
* vim
* keepassxc
* restic
* oauth/oidc
"Another CA cosmically screwed up! Great, this is our chance to announce our merely major screw-up!" https://www.heise.de/en/news/GoDaddy-revokes-hundreds-of-thousands-of-certificates-over-documentation-errors-11497136.html #sysadmin
In this blog post, I describe how I continued learning about self-hosting, which is essentially a practice to host websites or services (like e-mail, file sharing, game servers, etc) on my own servers so I can have better control over data, privacy and computing infrastructure to potentially save costs and improve my computing skills while also benefitting people around me:
https://cyantusk.neocities.org/news/2026-10-21.html
#FreeSoftware #Linux #SysAdmin #Proxmox #SelfHosting #Homelab
Deux failles critiques PHP, CVSS 9,2. Correctifs attendus aujourd’hui à 16 h (Paris).
CVE-2026-109618 et CVE-2026-109619 : ce qu’on sait et comment préparer la mise à jour.
https://cryptolab.re/posts/2026/php-cve-2026-109618-109619-correctifs/
Next a sorti article qui résume bien la situation pour la faille PHP. C'est le bon article à envoyer à votre direction ou à vos clients s'ils posent des questions 🙂️
➡️ https://next.ink/262987/php-va-corriger-deux-vulnerabilites-critiques-aujourdhui/
reading about nvme and #linux for #openzfsmastery and seeing lots of references to people booting nvme-only hosts off usb drives.
does linux really have trouble booting off an nvme? Is this actually a thing??? #sysadmin
(ETA: looks like this might be a debian thing? https://unix.stackexchange.com/questions/793960/how-can-i-boot-into-linux-on-an-nvme-drive-when-my-systems-uefi-firmware-doesn )
(ETA again: old Boot ROM issue, not Linux issue, makes sense)
Many of you are starting to explore NetBSD, and it's a great idea.
Why don't you also consider to use it for your online presence?
Make Your Own Internet Presence with NetBSD and a 1 euro VPS - Part 1: Your Blog
Sigh, #salt is slop, and dropping features.
I've looked at https://www.rexify.org/ and I failed to find how it deals with secrets.
I guess I either switch to #puppet by way of #OpenVox, or unify my systems on #NixOS (and swallow linux sloppification). Sigh.
Then on Saturday night at 20, your favourite provider hits you up with an email: 'Ok, syspatch-ed the physical server and rebooted, all good. I'm here if you need anything.
They're truly inimitable.
Thanks, @OpenBSDAms !
Haack's Networking
🔗 https://content.haacksnetworking.org/w/ddXeefRJ8rw9zeUZRiiRg3
✍️ We are live folks ... tonight's agenda:
- LibreChat setup w/ DeepSeek via Deepinfra
- Polishing up my DNS presentation
- Listening to The Smiths (1984)
- Catching up on Oxide podcasts
#sysadmin #gnulinux #debian #linuxstreaming #linux #gnulinux #freesoftware #opensource #selfhosted #music #stream #streaming #floss
Anyway, this week has also brought many really positive things.
Yesterday morning I had a meeting with a public institution. The people in charge are really good, both technically and as human beings. We've known each other for almost 20 years, and we've been working together ever since.
"The institutions above us are pushing to move everything to closed solutions. We see things differently.
We'll keep running our email with open source solutions, just as we've done until now, without problems. We'll keep using LibreOffice, providing Open Source operating systems on the PCs in our libraries, managing our files and collaboration with systems like Nextcloud.
We don't want to depend on closed clouds run by third-party companies.
We want our consultants working on our machines, looking after our data. Not their consultants working on their machines, with our data inside, which effectively becomes theirs.
Can you keep supporting us?"
I had a late lunch.
But the photos of my lunch should make it pretty clear what my answer was, and how happy I was to give it.
They're not refusing to move forward. They're refusing to follow the trend of locking themselves into someone else's cage.
Luckily, the world is also full of really good people.
Ok, looks like this is the week of funny experiences.
Customer: "I had an AI check our server and it says the SSH port is open and that's not very secure."
Me: "Yes, you asked us to open it so you could access the server via SFTP (actually, you wanted FTP, but we discussed it a bit and found this compromise). Don't worry, it's only accessible from your IP and you land in a dedicated FreeBSD jail. From there, you can only access the 'exchange' directory on your server, where you can upload and download files without affecting the application."
(NB: I had suggested a VPN, but they declined because it was too complicated.)
Customer: "Yes, but maybe it's still insecure. Can't we close it?"
Me: "No, unless you want to lose access to that directory."
Customer: "Ok, thanks."
One hour later:
Customer: "Hi, I think we've found a solution. We've just created an app (!!!) with AI that lets us access the files anyway, but more securely than SSH (!!!). Can we install that and close SSH? Oh, and not in the dedicated jail, but directly in the application's jail, because it needs access to the application's files."
Me: "Frankly, I trust SSH in a dedicated jail, restricted by the firewall, a lot more. I don't think this is a good idea."
Customer: "Ok, thanks."
Half an hour later:
Customer: "Ok, now it's secure. I had another AI check it and it found some security issues, but it fixed them all. Can you install it and disable SSH?"
Me: "I strongly advise against it. I can see problems coming."
Customer: "Ok, thanks."
One hour later, my phone rings.
Their internal IT guy (who has access to the machine, which, after all, belongs to them) had given the AI the login credentials to go ahead with the operation.
Except the AI had managed to lock itself out via the firewall, without even starting the app. And now they couldn't get back in.
Fortunately, I had my own access, via VPN, to a separate jail that the AI hadn't touched (or even considered).
Customer: "SORRYSORRYSORRYSORRYSORRY! From now on, we do things your way."
Well, at least it ended well.
PS: The customer knows I'm sharing this story and agreed to it.
Heads up for fellow Linux admins: CVE-2026-99999 (dubbed "PwnEscape") is out, and it is a nasty one (CVSS 9.3).
Despite being called a KVM escape, the actual bug lives in the host IPv4 networking stack. Untrusted CHECKSUM_PARTIAL offload metadata from a guest can overwrite already-validated packet headers during ip_do_fragment(), leaking host memory or allowing a guest-to-host escape.
Mainline patches landed Oct 14, and stable backports are out. Check your hypervisors and reboot!
#TechIsShitDispatch
I send an abuse complaint to abuse@1und1.net.
1und1.net reroutes the complaint to abuse@versatel.de, _and rewrites the To: header of my email to contain that address_, which it REALLY SHOULD NOT DO.
versatel.de rejects the email because DMARC verification failed. Of course it did: they rewrote the email header and broke the DKIM signature.
For some reason, it took 11 days for them to reject the email.
Why are idiots allowed to run networks?
#SMTP #DMARC #DKIM #SysAdmin
Pour d'avantage de shitposting sur le long terme, ce serveur #mastodon est équipé d'un onduleur et de sauvegardes à chaud et à froid.
Je viens justement de les sauver d'un crash de ssd qui avait presque 9 ans de bons et loyaux services. Remplacé par un autre qui n'avait pas trop fait de service.
Votre humble sysadmin.
On the other hand, the week also started with a recovery from a snapshot after someone accidentally deleted all their data and was back up and running within minutes.
Plus, deep gratitude from that person for having set up, without them asking, a local snapshot every 15 minutes.
Ah, ZFS!
Suite à la mise à jour de notre outil de sauvegarde nous nous sommes rendus compte de quelques aléas techniques.Dis moi que tu n'as pas de sauvegarde sans me dire que tu n'as pas de sauvegarde...
🟠 Nouvel article sur le blog !
Aujourd'hui petit article rapide AppArmor qui cause quelques petits soucis à wg-quick sous Ubuntu 26.04.
Bonne lecture ! 😃
I got a call from someone I don't know.
"Hi. We have a FreeBSD server. It's been working perfectly for years, but it hasn't been updated since then. We asked AI to update it, but now it won't boot anymore. It didn't even make a backup before starting. The AI keeps trying things, everything is down, and we've already spent over €500 in tokens. Can you help us?"
"Sure. €500, plus the time it'll take me to try to fix it. Assuming it can still be fixed and nothing important has been deleted."
"That much?"
Some silence.
"Well, I hope AI takes your job away!" And he hung up.
Believing that autopilot automatically makes you an invulnerable professional pilot will ruin far more people than job losses will.
I don't know if AI will take my job away, but it's already cost them €500 and, probably, their server.
Mal angenommen ihr würdet am Tag des offenen Rechenzentrums in einem solchen zu Gast sein. Welche Fragen würdet ihr vorbereiten? Was würdet ihr euch genauer anschauen vor Ort? Und was würdet ihr vor Ort machen (wollen)?
Bitte kreative Antworten :)
#tdorz #heisseluft #noAI #rechenzentrum #sysAdmin #datacenter
Et le samedi, c'est le gros morceau :
• 10h : mise à jour des VMs
• 11h : mise à jour des conteneurs LXC
• Cet après-midi : WatchTower prend le relais pour les images Docker
Un serveur aux petits oignons sans lever le petit doigt. Et vous, quelle est votre routine sysadmin du week-end ? 👇
#Proxmox #Linux #SelfHosted #Docker #SysAdmin #OpenSource #DevOps #Mastodon #PeerTube
Haack's Networking
🔗 https://content.haacksnetworking.org/w/ddXeefRJ8rw9zeUZRiiRg3
✍️ We are live folks ... working on documentation and tutorials and chilling. Cockpit, Incus, and 4 OCI container tutorials all need some love.
🎶 Tonight's album is Kiss's Animalize concert. Come on by and have some fun.
#sysadmin #gnulinux #debian #linuxstreaming #linux #gnulinux #freesoftware #opensource #selfhosted #music #stream #streaming #floss
Long tech story with a happy ending and a funny punchline. I'll relegate some details to the replies.
I have an old (2015) MacBook. Something got corrupted. I can get to the drive in the recovery OS, but it won't boot. No problem. I was thinking of putting debian on it anyway. I figure I'll boot to recovery, get the data off it, reformat, Bob's your uncle.
...skipping how I wrecked the recovery OS and got it to where it wouldn't boot at all...
Target disk mode to the rescue! You can boot a mac of this vintage, press the letter T during boot, and it comes up like it's an external drive. But it's thunderbolt. And all modern macs are USB-C.
...$120 in adapters and cables later...
My 2021-vintage mac can see the 2015-vintage mac as an external drive! It prompts me for the FileVault password. It doesn't work. I KNOW my password. I've typed it daily for the entire 11 years I've used this laptop. Oh shit. The data is right there but it's encrypted.
My wife has an account on my laptop and I know her password. I try it. No dice. Oh double shit. Am I really not going to get my data? I'm suspecting corruption in the FileVault keys/data.
10 years ago, when my son was 7 I put an account on here for him so that he could play some game on it. The password, when he was that age, was simply spiderman.
I type spiderman and it decrypts! The drive mounts! fsck runs with no errors! I'm recovering data off the laptop! The progress bar on the rsync command could easily be showing my blood pressure going down.
Question for those of you that use ansible for deploying/maintaining infrastructure in your labs/prods:
How did you take a manually-configured environment and migrate to ansible?
Did you reversed engineer your existing stack, or build out new using your own generated code (or other people's) and just migrate data?
The Q3 2026 issue of the FreeBSD Journal is now available.
This edition explores Production Deployments, with articles covering home lab consolidation, cloud operations using FreeBSD Compute, USB in user space, auditable credential-exposure checks, and more.
Inside, you'll also find the Foundation Letter, a EuroBSDCon trip report, and the latest 2026 events calendar.
🔗 Read it here:
https://freebsdfoundation.org/our-work/journal/browser-based-edition/production-deployments/
boostedManpage Monday: bastille cp
Copy files from the host straight into a jail.
Drop in a resolv.conf:
> bastille cp myjail /etc/resolv.conf /etc/resolv.conf
Copy a whole directory, quietly
> bastille cp -q myjail /etc /etc
Need the reverse?
> bastille rcp pulls jail → host
Or, maybe jail to jail?
> bastille jcp goes jail → jail
The week starts with a phone call, apparently urgent, judging by the hour:
"Hey, the cybersecurity team says we have some insecure certificates that need to be updated immediately. The ones in Italy, Germany, France, and Poland are fine, but all the ones in the United States need to be updated right away!"
Me: "But... you don’t have any servers in the United States."
Him: "I'll email you the domains and IP addresses, hold on..."
I read the email.
I laugh.
"Those are the sites behind Cloudflare. They need to send the report to Cloudflare. Those are their certificates..."
New in FreeBSD Foundationals, part 4: rc.d, the service framework that fits in your head.
How /etc/rc orders your services, why rc.conf is just shell, what rc.subr gives you for free, and the daemon(8) pidfile trap that makes "service stop" quietly restart your process.
Then I audited my own production rc.d scripts. One of them reports "not running" while serving live Mastodon traffic.
https://blog.hofstede.it/freebsd-foundationals-rcd-the-service-framework-that-fits-in-your-head/
coucou les vimistes !
j'adore faire un gf sur un nom de fichier pour l'ouvrir.
sauf que ça marche pas si le fichier n'existe pas.
Une idée pour implémenter "ben s'il existe pas, créé le avant de l'ouvrir !" ?
poke @fabi1cazenave
Happy 26th birthday, Knoppix! 🐧🎂🎉
Based on @debian, #Knoppix is one of the first #CD and #USB bootable #Linux distros, a historic part of #opensource, and a #community favourite.
Thank you Klaus Knopper and the Knoppix community for your contributions to #FOSS.
#Knoppix #Debian #Sysadmin #LPI #programming #GNULinux #FLOSS
OpenBSD 8.0 is due out soon, and -current snapshots identify as 8.0 already. So it's time to reprise "You Have Installed OpenBSD. Now For The Daily Tasks." https://nxdomain.no/~peter/openbsd_installed_now_for_the_daily_tasks.html which should help answer some common questions. #openbsd #newrelease #maintenance #sysadmin #security #dailytasks #freesoftware #libresoftware
On passe notre temps à corriger des trucs, et bien souvent, en réparer un fait naître un petit nouveau ailleurs. C'est le cycle normal du code.
Au lieu de crier au scandale pour un widget qui fait des siennes (que ce soit sur iOS, chez #Samsung ou ailleurs), un peu de recul ferait du bien. La perfection absolue n'existe pas dans le numérique.
Et vous, vous en pensez quoi de cette tendance à dramatiser le moindre bug ?
#Informatique #SysAdmin #Tech #Bug #LogicielLibre
Worried that an upgrade could leave you with an unusable system?
FreeBSD boot environments, powered by ZFS, provide a straightforward way to recover.
In this video, learn how FreeBSD boot environments can make upgrades and system maintenance easier to manage.
Watch the video to learn more.
https://www.youtube.com/watch?v=MfHCXEzRfao&t=4s
Quelqu'un a vu des erreurs "451 4.7.500 Server busy" depuis les serveurs mail microsoft ce matin ?
Your playbook failed. Management wants a root cause. You have 30 seconds.
Introducing larvitz.bofh, an Ansible collection that returns Bastard Operator From Hell excuses:
"Root cause: The mainframe tripped over an unhandled SIGSEGV in the automated espresso machine."
Seedable, so each host keeps its story straight. Bonus category: Deutsche Bahn.
SmartOS: The illumos Way of Thinking About Servers
A practical look at SmartOS, illumos, zones, LX compatibility and the way this operating system approaches servers. Not a complete guide, just enough to understand why I like it.
https://it-notes.dragas.net/2026/09/28/smartos-the-illumos-way-of-thinking-about-servers/
#SmartOS #illumos #Hosting #Server #IT #SysAdmin #OwnYourData #ITNotes #Tutorial
SmartOS: The illumos Way of Thinking About Servers
A practical look at SmartOS, illumos, zones, LX compatibility and the way this operating system approaches servers. Not a complete guide, just enough to understand why I like it.
https://it-notes.dragas.net/2026/09/28/smartos-the-illumos-way-of-thinking-about-servers/
#SmartOS #illumos #Hosting #Server #IT #SysAdmin #OwnYourData #ITNotes #Tutorial
For almost a year, my Ansible connection plugin for FreeBSD jails had a jail escape.
A symlink inside a jail, a root-owned mv on the host, and every file transfer could land wherever the jail wanted. Rejecting ".." didn't help at all.
Now it's CVE-2026-55074. Here's the bug, the fix, and what disclosing it looks like when the project has one maintainer.
https://blog.hofstede.it/my-ansible-plugin-had-a-jail-escape-cve-2026-55074/
#FreeBSD #Ansible #InfoSec #CVE #Jails #OpenSource #Security #SysAdmin
FreeBSD has freebsd-version to tell you which release and exact patchlevel you're running.
Is there a similar command for #Debian that tells you when you last did update & upgrade? #sysadmin
(Edit to add: As I thought, there is no way. Tag your ZFS boot environments with a date and get on with your life.)
#bhyve with #ZFS rollback makes testing boot environments for #openzfsmastery sooo much easier. Snapshots on the hypervisor. Snapshots in the VM. Snapshots EVERYWHERE. #sysadmin
TFW you install a new boot loader on a VM and reboot but the entire virtualization host disappears seconds later so you think you installed a Linux boot loader on the FreeBSD host, but it turns out that the power cable on your test server slipped to the ground unnoticed so your robovac unplugs it. #sysadmin
Anyway, #openzfsmastery is going swimmingly.
On a une nouvelle menace cyber au boulot... des "spammeurs" qui créer des comptes sur des adresses mails existantes, ce qui envoi un mail a une personne tiers qui n'a rien demandé...
Le compte en lui même n'est pas créer, le mail est ignoré ou classé en spam par le réceptionnaire.
Mais je ne vois pas l'intérêt de faire cela, où est le gain ? quel est leur objectif ?
Le seul problème que je vois c'est de nous faire passer pour des spammeurs sur les gros hébergeur de mails (Microsoft et Google principalement) mais ils envoient les mails ailleurs aussi (sur plein de domaines différents...)
quelqu'un aurait une idée ou une explication plus plausible ?
English version
===
We have a new cyber threat at work... “spammers” who create accounts using existing email addresses, which then send emails to third parties who didn't ask for it...
The account itself isn't actually created, and the email is either ignored or marked as spam by the recipient.
But I don’t see the point of doing this, what’s in it for them? What’s their goal?
The only problem I see is that it makes us look like spammers to the major email providers (mainly Microsoft and Google), but they’re sending emails elsewhere too (to lots of different domains...)
Does anyone have a more plausible idea or explanation?
Traditional hosting company:
“We had a Linux crash. Or maybe systemd. Or KVM. Possibly a kernel issue. There is also a non-zero chance aliens interfered with our servers.
We’re not entirely sure what happened.
Sorry for the inconvenience.”
OpenBSD Amsterdam:
“We had a crash.
One of the OpenBSD developers looked at it and is now patching OpenBSD so it won’t happen again.”
Who’s the boss now? 😎
Thank you, @OpenBSDAms !
to all docker nerds, how do i go around running some services on a system with apache do i:
1. leave apache uncontainerized and use the linked ports from each docker container
2. containerize apache(idfk how to do this)
3. fuck docker i'm all with kubernetes
#Sysadmin question. Homelabbers welcome.
What is your preferred method of keeping the record of what you've done on a server?
I would like a #sysadmin dashboard as a #deltachat app.
I figured very quickly how to send notifications through delta chat... I'm sold.
But, do you think a dashboard with current alerts / recoveries sent by a bot would be feasible? It doesn't have to be interactive (actually I'd prefer no interactivity)
I'm not very fluent in web tools...

Manpage Monday: bastille list
See everything at a glance.
Default overview
> bastille list [all]
List all releases:
> bastille list releases
Running jails, by type, in pretty JSON columns:
> bastille list -jup type
You can also list: ips, ports, paths, states, snapshots, limits and templates.
Customer: "We need to hurry, they breached the old server and we need to set up the new one ASAP!"
Me: "Yeah, it was old and way beyond any kind of updates. You really should have replaced it earlier. If you want, we can build the new one now."
Customer: "Yes, and make sure it is accessible only through the VPN. We want security!"
I go and take a look at the VPN and find out that it is provided by a commercial appliance, I will not mention the brand, running a version and release affected by several serious security issues, and also exposing some completely unnecessary services.
I point this out, and the answer is:
"Well, but the VPN is secure. That’s exactly why we want to use it!"
Haack's Networking
✍️ We would like to introduce everyone to our latest addition to the #pubglug PubGLUG community offerings. Ente #E2EE encrypted photos, files, and secrets is now live for testing. All users get 10GB upon sign up, but/and more is available upon request (DMs). The technical setup notes are here:
🔗 https://tech.haacksnetworking.org/2026/09/21/ente/
💡 The instance link is here:
📜 We are in testing right now and there will definitely be bugs and/or other issues that need addressing. Please let us know in replies, DMs, and/or hit us on Matrix or DC. For now, registration is open - if it proves to be a problem we will close it. Until then, happy hacking!
#ente #sysadmin #selfhosted #caddy #debian #freesoftware #floss #opensource
Haack's Networking
✍️ We recently migrated from legacy email to chatmail for our Delta Chat implementation. In so doing, we retained the legacy Dreamhost account for sending alerts because it was not connected to chatmail, nor either server we manage. Unfortunately, Dreamhost is not playing nice with happy eyeballs and keeps timing out client connections.
💡 So, although it is inconvenient, we are going to migrate the broadcast channel to a new source account. We've added three backup relays to that source account to ensure deliverability of alerts. For those of you who use some or all PubGLUG services, please migrate to the new channel. Thanks for patience 🙏
Haack's Networking
🔗 https://content.haacksnetworking.org/w/ddXeefRJ8rw9zeUZRiiRg3
💡 Tonight's agenda is to relax, organize notes, organize projects, if time permits I need to make a metasploit image for a student. I also need to see if a primary backup script is failing and doubling the loop OR not. Other miscellaneous stuff as it comes up or as I catch it in the week's notes.
✅️ Good vibes and good times. Come on by and join the Haacknet ... let's have some fun.
🎶 Music as always, doing a re-listen to Michael Jackson's Dangerous album - one of the most monumental late career releases. Coming out in a time where marketing ruled over authenticity, this album cemented his greatness with hit after hit and rich sleeper songs permeating the album.
#debian #sysadmin #selfhosted on #peertube #linuxstreaming #livestream #metasploit #music #freesoftware
Haack's Networking
🔗 https://content.haacksnetworking.org/w/ddXeefRJ8rw9zeUZRiiRg3
💡 Tonight's agenda is to relax, organize notes, organize projects, if time permits I need to make a metasploit image for a student. I also need to see if a primary backup script is failing and doubling the loop OR not. Other miscellaneous stuff as it comes up or as I catch it in the week's notes.
✅️ Good vibes and good times. Come on by and join the Haacknet ... let's have some fun.
🎶 Music as always, doing a re-listen to Michael Jackson's Dangerous album - one of the most monumental late career releases. Coming out in a time where marketing ruled over authenticity, this album cemented his greatness with hit after hit and rich sleeper songs permeating the album.
#debian #sysadmin #selfhosted on #peertube #linuxstreaming #livestream #metasploit #music #freesoftware
Quick heads-up for other Mastodon admins: this registration spam wave isn't over yet.
On lsbt.me, we first saw a flood of API registrations using Python/aiohttp. The telltale signs were usernames following the pattern bp plus 16 hex characters, and the sign-up reason was always "Automated protocol deliverability probe". A narrow block on that user agent stopped the first wave.
Today, however, five new registrations came in with the same usernames and the same sign-up reason. This time the bot simply identified itself as Chrome 126. That's exactly why a user agent is only useful as a short-term filter. It's a header the client can set to anything.
The requests go to POST /api/v1/accounts. This endpoint lets client apps create a new local account directly in the app. No app needs it for OAuth connections to existing accounts. #FediSuite doesn't use it either. It registers itself via /api/v1/apps, obtains consent via /oauth/authorize, and then works with a user token. Regular sign-up through the Mastodon website is also handled separately via POST /auth.
So I've completely disabled API account creation on lsbt.me. Web sign-up, OAuth, and existing clients keep working as before. Anyone who wants a new account just signs up once on the web as usual and can then use any client.
If you'd also rather not offer this optional native sign-up path, you can add the following to your Nginx server block, before the general location / block. The example assumes the @proxy location that many Mastodon Nginx configs already include:
location = /api/v1/accounts {
limit_except GET {
deny all;
} try_files $uri @proxy;
}
This returns a 403 only for POST /api/v1/accounts. The read-only GET endpoint remains reachable. As always, run nginx -t afterwards and only reload once the test passes.
#Mastodon #Fediverse #MastoAdmin #FediAdmin #FediMod #FediBlock #Moderation #Registration #Spam #Nginx #SelfHosting #SysAdmin #ActivityPub
Prosody (prosody.im) is such a sweet deploy. Your own e2ee text/voice/video service, up and running on your own infra, in minutes (so long as you have a TURN server). Ejabberd has been a mainstay over the years, and makes sense for big communities, but for lesser needs, & when you have more servers than sense to look after, low maintenance burden goes a long way.
With apps like Conversations, the UX is at least as good as Signal.
Vendor: We need to share this directory : /path/blah on server fnord (that we, ORG, maintain) to certain people in your organisation. It contains PII.
Us: Howabout a Samba share with restricted access?
Vendor: OK! What is it?
Us: //fnord/Sensitive_PII
Vendor: We can't see it!
Us: Of course not, you're not part of ORG.
Vendor: How do we write to it then?
Us: ...
Us: ...
Us: Uh, you write to /path/blah on server fnord?
Vendor: Oh! That's really convenient and clever! Wow!!
Us: ... Sure. No problem.
Yes folks, someone gave us their box, and when we showed it to them they were amazed it existed. Memory span of a concussed goldfish.
I'm looking for options, perhaps other #sysadmin can chime in.
I've got a small company that wants to use a tablet in their warehouse, they picked up a couple of cheap $120 andoid devices.
These devices need to be managed by me but the company is on the google basic plan, to fully manage this device the entire company must upgrade to google business Plus, that's an additional $7k per year.
I cannot justify a cost increase of $7000 to manage a single $100 device.
Options? alternatives? this device only needs a web browser and printer access.
device is Tablet 10 Inch Android 16 Tablet
Are you the Systems Administrator we need? Apply for the post of Software Infrastructure and Continuous Delivery Engineer at KDE:
https://ev.kde.org/2026/09/14/2026-09-14-jobad-sysadmin/
Check out the requirements here:
https://ev.kde.org/resources/jobad-sysadmin2026/
--
Keep KDE funded💲! Become a Supporter! Adopt an App! All at once!:
La puissance des logs ne ment pas ! 📊 Suite à ma petite publication pour mettre en avant mon métamoteur SearXNG, vous avez débarqué en masse. Regardez-moi cette activité en direct sur le serveur, ça fait plaisir à voir ! 🚀
Envie de surfer sans pister ni être pisté ? C'est par ici que ça se passe : https://searxng.blablalinux.be 🕵️♂️✨
#SearXNG #SelfHosted #Sysadmin #OpenSource #BlablaLinux
I have some questions for the #FreeBSD folks in the room:
1.) What are the best practices for Poudriere and Packages. I understand one shouldn't mix Ports and packages, but I want to have some custom builds for my machines, like vim, zsh, wget, mutt, nano, while not relying on compiling everything. Is there a safe way to do this? Presumably one tracks the same quarterly ports tree as packages. But is there more to it?
2.) When managing software using Poudriere and Ports, how does one manage emergency OOB patches? I would imagine switching Poudriere to use LATEST is an operational death wish.
Right away this sounds like a task for a "declaratively defined" distros, based on nixpks, guix or any other similar toolkit. There are tools, but no ready-made distro that does that, as far as I know.
The second set that comes into my mind is the "immutable" distros that utilises CoW FS, snapshots of the initial state and some machinery to change it. I'm most familiar with the SUSE famliy, thus I'm thinking of MicroOS, Leap Micro and Aeon Desktop - with snapper and transaction-update one have an access to the post-install state and may replay it anyware.
This kinda similar to what FreeBSD and illumos distros achieve with the ZFS and a "boot environment" concept (administrated via bectl/beadm).
And in the devops world it'd be a packer image applied to a new device.
We had a big wave of automated Mastodon signups with very predictable usernames.
I first tried the sledgehammer approach and blocked known VPN ranges at the firewall.
It worked.
It also blocked legitimate ProtonVPN users. 😬
So I replaced that with a tiny custom Mastodon validator that rejects the actual abusive username pattern instead.
Much cleaner: block the abuse, not the transport.
How-to + code:
https://gist.github.com/chofstede/a422427570004719196cde948521dd04
#Mastodon #Mastoadmin #Fediverse #SysAdmin #Ruby #Rails #Security @tux @AlienJay @aping
sudo sed -i -E 's/^#?port = [0-9]+/port = 3306/' /etc/postgresql/*/main/postgresql.conf
sudo sed -i -E 's/^#?port\s*=\s*[0-9]+/port = 5432/' /etc/mysql/mariadb.conf.d/50-server.cnf
sudo systemctl restart postgresql mariadb
My colleagues will hate me, but I couldn't resist 😈
#Linux #SysAdmin #DevOps #Database #ChaoticEvil #PostgreSQL #MariaDB
Haack's Networking
🚨 Please join the PubGLUG Alerts channel on Delta Chat to receive important announcements about uptime, downed lines, route outages, upgrades, backups, and more ‼️
✍️ This account is managed by a Dreamhost-based email, so it is not connected to either the primary and co-located server at Brown Rice, nor the backup and auxiliary dedicated host at Pebble Host ⚡️
💡 For those of you using PubGLUG-based chatmail servers, it is recommended that you join this channel with a personal email not connected to either service, as you count use something that's down to monitor status about it being down 🙃
👀 And, if you are looking to reach me - Jonathan Haack - personally, then use this link to DM me if/when you have questions, concerns, inquiries, or what have you. My DMs are open but/and mind your manners or you might get 🔨
#deltachat #chatmail #pubglug #alerts #outages #selfhosted #sysadmin #community #dreamhost #hosting
Ryan Castellucci (they/them)
🔜 40C3 [they/them] » 🌐
@ryanc@infosec.exchange
STOP DOING SWAP PARTITIONS
HARD DRIVES WERE NOT SUPPOSED TO ACT LIKE RAM
YEARS OF LINUX SYSADMINNING yet NO REAL-WORLD USE FOUND for going beyond CLOSING A FEW TABS
Wanted to avoid the OOM killer anyway for a laugh? We had a tool for that: It was called ZRAM
"Yes please give me a dedicated 64GB logical volume of SWAP. Please give me unresizable block devices trapped at the end of my disk." - STATEMENTS DREAMED UP BY THE UTTERLY DERANGED
LOOK at what Neckbeards have been demanding your Respect for all this time, with all the fdisk and GParted Live USBs we built for them. (This is REAL PARTITIONING, done by REAL LINUX USERS):
# mkswap /dev/nvme0n1p3
# echo /dev/nvme0n1p3 none swap sw 0 0 >> /etc/fstab
# swapon -a
"Hello I would like to torture my SSD's FTL because I left three Electron apps open."
They have played us for absolute fools.
Rituel du samedi matin !
Les VM et les conteneurs LXC du cluster Proxmox VE sont tout propres et à jour.
Étape 1 terminée avec succès... la suite cet après-midi avec la partie Docker !
Bon week-end à tous !
#Proxmox #Linux #SelfHosted #Docker #SysAdmin #Automation
Haack's Networking
🔗 https://content.haacksnetworking.org/w/ddXeefRJ8rw9zeUZRiiRg3
✍️ We are live now folks! Tonight, just chilling and trying to spread positive vibes while researching:
1️⃣ post quantum encryption
2️⃣ kex, mtu, and ssh issues with tunnels
3️⃣ chatmail and pgp, legacy email, DC
🎶 As always, should have some music going as well. Come on by and spam me in chat!
#deltachat #pgp #sysadmin #selfhosted #stream #linuxstreaming #debian #kex #mtu #ssh #chatmail #dovecot #postfix
"In Linux, running ZFS-on-root is an advanced skill.¹
¹ You can tell it's an advanced skill by the way senior sysadmins say, 'oh, it's not that hard.'"
Watching a coworker doing some work I'm teaching them, they have to input a password at some point. Even when they were copying from a password manager, and all I could see were big dots, and pasting into `ssh`'s prompt, which does not echo the characters back, 30y of #SysAdmin'ing kicked in and I looked away :)
Email this morning: someone sent a wordpress password reset request for my admin account from IP 127.0.0.1.
I didn't need this today. #sysadmin
Haack's Networking
🥚 The newest member of the Public GNU/Linux Users Group has hatched! Everyone, please welcome our Delta Chat chatmail server:
🔗 https://mail.gnulinux.online
✍️ Again, the full list of community servers that Haack's Networking and community volunteers steward can be found here:
🔗 https://haacksnetworking.dev
💡 Need help in open source and floss space? Hit us up on the Matrix! Want a privacy centered and free Masto? We are open for reg! Want to create floss content, swing by our PeerTube ... and there's much more!
#gnulinux #freesoftware #opensource #debian #selfhosted #sysadmin #linux #gnulinux #community
If you want to raise your shell scripts to a new level, give this a try! It'll give useful feedback on the style of your shell code and on possible issues with it.
PS: Know when to switch to a proper programming language.
Receiving requests from clients or colleagues is normal, and I'm happy to solve problems.
It's a bit less fun when they email me instructions on what to do - clearly written by an AI - that often don't know the underlying setup. "You need to enable the Apache module X and reload using the command..."
I know how to reload Apache. And I know that I'm going to have to disobey your orders because... that server runs Nginx 😆
If your terminal ever gets confused by random control sequences, for example after you accidentally output binary data, there's a good chance you can restore order with the `reset` command.
inxi (full featured CLI system information tool) imported in official OpenBSD ports tree - Very useful tool to report system informations (CPU, memory, GPU, disks, network...) #OpenBSD #SysAdmin https://github.com/openbsd/ports/commit/9c357fba7fcfb8ca067957f1f47d16dad2e499fd
Pleased to announce there will be a 6th edition of the Tunnel training taking place Oct 12-15.
This course is a strong introduction to the craft of system administration atop a stack entirely free from big tech. Students are guided in the deployment of powerful and sovereign privacy infrastructure on a server all of their own, running on renewable energy in Iceland.
Details here:
https://courses.nikau.io/tunnel
6 seats left.
Next Saturday at #EuroBSDCon 2026, I'll tell the story of one of the longest nights of my career.
On 10 March 2021, I had just fallen asleep when the alerts started arriving. One server down. Then another. And another.
Different servers, different workloads, one thing in common: the OVHcloud Strasbourg data centre.
Then came the news: SBG2 was on fire.
I had 142 servers there.
The mission for the night was simple to state: bring the critical services back before 8, then recover everything else as quickly as possible.
This talk is about what happened next. The things that worked, the architectural choices that saved us, and especially the ones that failed when we needed them most.
And it's also the story of why that night changed the way I design infrastructure, and why BSD systems became such an important part of it.
The night 142 of my servers went up in the clouds. Physically.
📅 Saturday 12 September, 11:15
📍 EuroBSDCon 2026, D.0.02
#BSD #FreeBSD #EuroBSDCon #Sysadmin #Infrastructure #RunBSD #NetBSD #OwnYourData #Linux #DisasterRecovery
Running OpenStreetMap.org in the Age of AI - peertube.openstreetmap.fr
Philosophical question:
If a service is down due to lack of DNS, but if it's actually orchestration that's down rather than DNS, do we still blame DNS?
It's a long weekend ... guess I will hack my legacy #emailserver to include stun/turn for #deltachat and when that's done ... time to spin up a separate #chatmail server.
🔗 https://support.delta.chat/t/how-to-provide-custom-turn-server-settings-when-using-a-classic-email-account/5045
🔗 https://github.com/chatmail/core/blob/main/standards.md
#email #sysadmin #debian #linux #freesoftware #floss #selfhosted #selfhostedlife
This morning's mission is to repel an attack currently hitting a client's server.
I'd like to avoid external solutions, so I'm trying to handle it at the firewall level. Anubis works, but the client doesn't want a "banner" in front of it.
It's a complex mission... let's see how it goes!
authentication issue at work, InfoSec guy gives me an update on "sing-in" logs
I'm worried about how much singing logs would depend on autotune
One of today’s tasks: migrating an old Ubuntu server hosting around 15 WordPress sites to a FreeBSD server, with Caddy acting as a reverse proxy in its own jail, one jail per WordPress instance, and a shared database in yet another jail.
Yesterday I configured Caddy to reverse proxy all the domains while still pointing to the old server. That allowed the customer to update the DNS records in advance, while I could migrate each site one by one and simply switch the upstream in Caddy as soon as it was ready.
Zero downtime. Just a reload.
I asked only for one thing: freeze everything this morning, so a colleague asked the customer not to make any changes to the websites after 7 today.
Ack.
So I go to clone one of the sites… and notice the customer published a totally deferrable post at 9.
Which, of course, means I now get to resync everything.
Ah, the joys of working "behind the scenes". 😆
Je commence à utiliser un peu Crowdsec sur un serveur perso. Pour le moment j'ai un bon sentiment. L'architecture a l'air bien pensée. L'interface CLI est plutôt bien faite et assez aboutie. J'ai encore un peu peur de me tirer des balles dans les pieds et les yeux mais sur des choses persos je ne risque pas grand chose.
Chez @evolix on commence aussi à l'utiliser un peu, de manière encore plus prudente, mais c'est prometteur.
#crowdsec #security #sysadmin
The /proc filesystem was a genius idea giving the #sysadmin direct control of the Linux kernel. In this article, David Both explains how to change kernel parameters at runtime.
And the top 10 Mastodon users devouring your cache:
SELECT
CONCAT(accounts.username, '@', accounts.domain) AS account,
SUM(media_attachments.file_file_size) AS sum
FROM
media_attachments INNER JOIN accounts
ON media_attachments.account_id = accounts.id
WHERE media_attachments.file_file_size IS NOT NULL
GROUP BY account
ORDER BY sum DESC
LIMIT 10;
In case this might be useful to someone, here are the SQL request to get the top 10 Mastodon instances devouring your cache:
SELECT
accounts.domain,
SUM(media_attachments.file_file_size) AS sum
FROM
media_attachments INNER JOIN accounts
ON media_attachments.account_id = accounts.id
WHERE media_attachments.file_file_size IS NOT NULL
GROUP BY accounts.domain
ORDER BY sum DESC
LIMIT 10;
As of today, I believe NetBSD is one of the most important operating systems to consider for your deployments.
With hardware costs rising dramatically, portability and efficiency have become more important than ever. If prices do not come down, we will probably have to adapt and create new kinds of hardware, at lower cost. And NetBSD, by its very nature, will be very easy to port to that hardware.
Does it run on your modern PC? Maybe. Maybe not.
But it runs on your server. On your VPS. On your SBC. On your old computer, which may still have a lot to give, especially if you want to keep ownership of your own data.
And I know something about old hardware still having a lot to give:
https://it-notes.dragas.net/2023/08/27/that-old-netbsd-server-running-since-2010/
No jails or containerisation? smolBSD has already shown that a reduced NetBSD kernel can be so small that it can be started in milliseconds, while also adding the security benefits of virtualisation. A different concept, certainly. But one that already exists and can already be used.
Linux itself has opened up to AI. That is a choice I will not comment on.
But from now on, for those who do not want LLM-generated code in their operating system, there are essentially two options: fork Linux (!!!), or choose something different.
And NetBSD is that something different.
Already in 2024:
“...code generated by a large language model or similar technology (e.g. ChatGPT, GitHub Copilot) is presumed to be tainted (i.e. of unclear copyright, not fitting NetBSD's licensing goals) and cannot be committed to NetBSD.”
#NetBSD #RunBSD #smolBSD #IT #SysAdmin #OwnYourData #ModernTech
Hi! I'm looking for a simple to use HTTP benchmark tool which can simulate the page load by a browser: load the page but also all the linked assets (CSS, favicon, images…) without the need to write a scenario (listing all resources).
I thought Apache ab will do it but no.
Any help appreciated :)
RE: https://framapiaf.org/@framasky/117172516040615744
Any #SysAdmin running #Nginx could be interested in #NginxBotcheck IMHO
Fred de CLX boostedSome updates on #NginxBotcheck:
- repository has moved to https://framagit.org/framasoft/adminsys/nginx/botcheck
- new map, to allow some paths only for some virtualhosts
- fix cookie expiration
Autistici designated a terrorist group by the US administration, supposedly due to them providing infrastructure for movements the US gov wants to crush (is threatened by).
This is an excessive, absurd and yet notable escalation, speaking to something seen in the wild. Sysadmins that provide infrastructure for activism are themselves often targeted, an overlooked at-risk group.
(Warning, US gov site link)
Keeping your dotfiles in sync between machines can be a challenge. In today's livestream, I'll give a talk about how I manage my (many) Linux configuration files using Chezmoi. I'll explain its features for templates, scripts, password manager integration, and file encryption.
Join me at 19:00 UTC on Twitch: https://twitch.tv/monospacementor
@bortzmeyer ha le bon vieux telnet.
J’avoue utiliser swaks pour les tests SMTP
Vous voulez faire partie d'une société coopérative spécialisée en logiciels libres ? Nous recrutons un·e administrateur·ice système et réseau !
Venez rejoindre notre équipe d'administration système et réseau sur Grenoble pour accompagner nos clients dans la transition et le maintien de leurs infrastructures composées de solutions libres.
Plus d'infos par ici : https://probesys.coop/recrutementadminsys2026
#Grenoble #Emploi #Sysadmin #Linux #SCOP #Cooperative #GetFediHired
🤔 Did you know that you can easily disconnect a particular network connection from Linux?
The 'ss' command is typically used to display information about sockets, but it can do more. Yes, killing connections! 💀
This option can be useful to drop an unwanted connection, one that is stuck, or to test out how software deals with unexpected disconnects 💪
👀 See the image to only disconnect a SSH connection for one particular IP address.
I want to document reaction configs for those services: Synapse, Postfix, OpenSMTPd, Sympa, Jitsi, Mastodon, Mobilizon.
If you have useful logs or existing reaction configs for those services, can you send them to me? (public or private).
Many thanks to you, sysadmins!
#sysadmin #observability #logging
I love it when technology lifts get so big and technical that they eclipse enterprise solutions and return to fundamentals. That's my game. I'm here for you when that happens. It will happen. 🤣
Also, it's always DNS.
Also too, it's never a better time to switch to Debian.
#sysadmin #greybeard #linux #unix #opensource #freesoftware #floss #selfhosted #smallbusiness #residential #consumer #consumergrade #gomindswithmeidareu #debian #fundamentals
Computers are like onions. Everything is layers built on layers, and every layer makes you cry. #sysadmin
Fellow system administrators, what is the wonkiest system you've had to manage in your career?
#tech #sysadmin #technology #it #informationtechnology #systems #infrastructure #server
I'd like my next job to have something more than Linux, yes, I'm looking at your FreeBSD.
#runbsd #freebsd #getfedihired
↩ Ludovic Hirlimann :
"I can work in both French and English. I'm interested in infrastructure roles.
#infrastructure #sysadmin #sre"
[via Ponos] https://ponos.fr/thread/clf364ichbjbh9c9vb4nu8d4d
I can work in both French and English. I'm interested in infrastructure roles.
#infrastructure #sysadmin #sre
↩ Ludovic Hirlimann :
"I've been remote, fully since 2009 and would like to keep it that way.
[via Ponos] https://ponos.fr/thread/c615qh73u2fb87zc86iq7hk5z
Eine alte 8-GB-microSD-Karte lag noch in der Schublade, entbehrlich genug für einen Härtetest. Die Ausgangsfrage war simpel: ist die Karte noch gut, oder produziert sie im Hintergrund längst stille Fehler? Bei einer SSD würde ich smartctl -a tippen und hätte binnen Sekunden Health-Prozent, Reallocated Sectors und Power-On-Hours auf dem Schirm. Bei einer SD-Karte geht genau das nicht, und der Grund dafür ist interessanter als die fehlende Zahl selbst.
ATA- und NVMe-Laufwerke haben eine standardisierte SMART-Schnittstelle: fest definierte Attribute, die die Firmware selbst pflegt und die jedes Betriebssystem auf die gleiche Weise abfragen kann. SD-Karten haben nichts Vergleichbares. Der Flash-Controller auf der Karte übernimmt zwar Wear-Leveling und Bad-Block-Mapping, aber wie er das im Detail tut und was er darüber nach außen preisgibt, ist herstellerspezifisch und komplett verschlossen. Es gibt zwar eine SD Health Status Extension, CMD56-basiert, die unterstützt aber so gut wie kein Consumer-Werkzeug, und sie setzt einen nativen MMC-Host voraus, keinen USB-Kartenleser.
Ein Wort noch zu TRIM, bevor der Eindruck entsteht, SD-Karten hätten damit überhaupt nichts zu tun: der Linux-MMC-Stack unterstützt discard-artige Operationen für native mmcblk-Geräte durchaus. Nur bringt das über einen USB-Kartenleser nichts, weil die USB-Massenspeicher-Übersetzung diesen Pfad gar nicht durchreicht, das habe ich in diesem Test empirisch bestätigt. Und selbst auf einem nativen Host wäre das nur ein Erase-Hinweis an den Controller, keine standardisierte Health-Rückmeldung wie bei SSD-TRIM zusammen mit SMART.
Für den Test kam eine Transcend Premium 8GB microSDHC zum Einsatz, Class 10, UHS-Speed-Class U1, in einem Samsung-Adapter auf volle SD-Größe gesteckt und über einen UGREEN-USB-Kartenleser ausgelesen. Der Leser meldet sich per USB als Genesys-Logic-Chip (05e3:0748), ein generischer Combo-Reader, wie er auch in vielen Laptops und günstigen USB-Dongles verbaut ist. Host war ein Linux Mint 22.3 mit Kernel 7.0.0-28-generic, Ubuntu-24.04-Unterbau, alle Befehle liefen als root.
So kam die Karte beim Testsystem an: microSD im Samsung-Adapter, gesteckt in den UGREEN-USB-Kartenleser.
Bis auf badblocks, smartctl, hdparm und dd, die auf den meisten Systemen ohnehin vorhanden sind, kommt der Rest aus den Standard-Paketquellen, keine Drittanbieter-PPA nötig:
apt-get install -y f3 mmc-utils sdparm flashbench apt-get install -y fio # nachinstalliert, sobald der Schritt feststand
Installiert wurden f3 8.0, mmc-utils als Git-Snapshot von 2022, sdparm 1.12, flashbench 62 und fio 3.36, alles aus dem Ubuntu-Noble-Universe-Repository. Getestet auf Linux Mint 22.3, aber auf einem reinen Ubuntu 24.04 sollten Paketnamen und Versionen identisch sein.
$ smartctl -a /dev/sdc
/dev/sdc: Unknown USB bridge [0x05e3:0x0748 (0x1209)]
Please specify device type with the -d option.
$ smartctl -a -d sat /dev/sdc
Read Device Identity failed: scsi error unsupported scsi opcode
A mandatory SMART command failed: exiting.
$ smartctl --scan
/dev/nvme0 -d nvme
/dev/nvme1 -d nvme
# sdc taucht gar nicht erst auf, smartd hält es für keinen unterstützten Gerätetyp
$ sdparm -a /dev/sdc
MODE SENSE(10): Malformed SCSI command
/dev/sdc: Generic MassStorageClass 1209
$ sdparm -i /dev/sdc
/dev/sdc: Generic MassStorageClass 1209
Device identification VPD page:
Addressed logical unit:
designator type: T10 vendor identification, code set: ASCII
vendor id: Generic
vendor specific: STORAGE DEVICEsmartctl erkennt die Genesys-Logic-USB-Bridge gar nicht erst als unterstützten Gerätetyp. Erzwingt man SAT, also ATA-Kommandos über SCSI getunnelt, scheitert das vollständig, weil die Bridge-Firmware das Kommando schlicht nicht implementiert. Selbst der Geräte-Scan von smartd listet /dev/sdc gar nicht auf. sdparm kommt einen Schritt weiter, eine simple SCSI-INQUIRY funktioniert, aber die gemeldete Identität bleibt vollständig generisch: „Generic MassStorageClass“, „STORAGE DEVICE“. Weder Hersteller-ID noch Seriennummer noch irgendeine Form von Wear- oder Health-Daten sind über diesen Pfad erreichbar. Das ist der konkrete, reproduzierbare Beleg dafür, dass es für SD-Karten hinter einem USB-Leser kein SMART-Äquivalent gibt.
$ lsusb -v -d 05e3:0748
Bus 002 Device 007: ID 05e3:0748 Genesys Logic, Inc. All-in-One Cardreader
bcdUSB 3.10
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0748 All-in-One Cardreader
iSerial 5 000000001209
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
SuperSpeed USB Device Capability:
wSpeedsSupported 0x000e (Full/High/SuperSpeed, bis zu 5Gbps Link)Der Leser meldet sich als „All-in-One Cardreader“ von Genesys Logic, ein verbreiteter generischer Combo-Chip, USB-3.1-fähig, spricht auf der SCSI-Ebene aber Bulk-Only Transport (BOT), nicht UAS. Wichtig für die Kausalität: BOT statt UAS ist für sich genommen nicht der Grund, warum SAT-Passthrough scheitert. Es gibt genug BOT-Bridges, die SAT unterstützen, und genug, die es nicht tun, unabhängig vom Transportprotokoll. Belegt ist hier nur, dass ausgerechnet diese Genesys-Bridge keine ATA- beziehungsweise SAT-Kommandos durchreicht, nicht dass USB-Bulk-Only-Bridges das grundsätzlich nicht könnten.
Der Aufdruck verrät mehr als jedes Software-Tool: Transcend Premium, 8GB, Class 10, UHS-Speed-Class U1.
hdparm -t allein ergab rund 90 MB/s gepuffertes Lesen, plausibel, aber es lohnt sich, mit echtem O_DIRECT-I/O gegenzuprüfen, damit keine Bridge- oder Seiten-Cache-Effekte den Wert verfälschen.
$ hdparm -Tt /dev/sdc Timing cached reads: 24182 MB in 2.00 seconds = 12113.48 MB/sec Timing buffered disk reads: 272 MB in 3.00 seconds = 90.66 MB/sec # 512MB Zufallsnutzlast zuerst im tmpfs erzeugt, damit die CPU-Last von # /dev/urandom die eigentliche Messung nicht verfälscht $ dd if=/dev/urandom of=/root/sdtest/payload.bin bs=1M count=512 536870912 Bytes (537 MB, 512 MiB) kopiert, 1,74754 s, 307 MB/s # SCHREIBEN: Direct I/O direkt auf das Rohgerät, kein Seiten-Cache beteiligt $ dd if=/root/sdtest/payload.bin of=/dev/sdc bs=1M count=512 oflag=direct,sync 536870912 Bytes (537 MB, 512 MiB) kopiert, 22,8654 s, 23,5 MB/s # LESEN: erst flushen, dann Direct I/O der gleichen 512MB zurück $ blockdev --flushbufs /dev/sdc $ dd if=/dev/sdc of=/root/sdtest/readback.bin bs=1M count=512 iflag=direct 536870912 Bytes (537 MB, 512 MiB) kopiert, 6,28156 s, 85,5 MB/s # Integritätscheck $ cmp /root/sdtest/payload.bin /root/sdtest/readback.bin MATCH: identical
Ergebnis: rund 23,5 MB/s sequenzielles Schreiben, rund 85,5 MB/s sequenzielles Lesen, mit byteidentischem Rücklese-Ergebnis. Die Asymmetrie zwischen Schreiben und Lesen ist normal und erwartbar, Schreiben braucht auf Flash-Ebene ein Erase-before-Program, Lesen nicht. 23,5 MB/s reißt die Class-10- und U1-Mindestangabe von 10 MB/s locker, für U3/V30 mit 30 MB/s Minimum würde es nicht reichen, was exakt zum aufgedruckten Rating der Karte passt: Class 10, U1, keine U3- oder V30-Kennzeichnung.
Bevor der große, langsame Test kommt, lohnt sich der schnelle: f3 (Fight Flash Fraud) bringt mit f3probe einen Kapazitätsbetrugs-Check, der binnen weniger Minuten läuft, statt die ganze Karte zu beschreiben.
$ f3probe --time-ops /dev/sdc
Probe finished, recovering blocks... Done
Good news: The device `/dev/sdc' is the real thing
Device geometry:
*Usable* size: 7.31 GB (15333376 blocks)
Announced size: 7.31 GB (15333376 blocks)
Module: 8.00 GB (2^33 Bytes)
Approximate cache size: 0.00 Byte (0 blocks), need-reset=no
Physical block size: 512.00 Byte (2^9 Bytes)
Probe time: 1'46"
Operation: total time / count = avg time
Read: 29.32s / 4197116 = 6us
Write: 1'15" / 4192321 = 18us
Reset: 0us / 1 = 0usVerdikt: eine echte Karte, keine Fälschung. Die angekündigte Größe, 8-GB-Modul mit 7,31 GB nutzbar, deckt sich mit der tatsächlich nutzbaren Größe, die f3probe per binärer Suche gefunden hat, also dort, wo Schreibvorgänge aufhören, korrekt anzukommen. Approximate cache size: 0.00 Byte ist ebenfalls ein gutes Zeichen: manche gefälschten Karten täuschen ihre Kapazität vor, indem sie eine kleine Menge echten Flashs als Write-Back-Cache benutzen, der Schreibvorgänge über die tatsächliche Kapazität hinaus vorübergehend „schluckt“ und damit naive Benchmarks täuscht. Diese Karte zeigt diesen Trick nicht. f3probe hat die für die Prüfung benutzten Blöcke danach wiederhergestellt, ohne -n gestartet, die Karte blieb also in ihrem vorherigen, leeren Zustand. Reine Probe-Zeit rund 1:46 Minuten, mit Block-Wiederherstellung insgesamt rund 3 Minuten, deutlich schneller als ein vollständiger Schreib-Lese-Durchlauf, weil f3probe gezielt sucht statt jeden Block anzufassen.
$ wipefs -a /dev/sdc
$ parted -s /dev/sdc mklabel gpt mkpart primary ext4 0% 100%
$ mkfs.ext4 -F -L SDTEST /dev/sdc1
$ mount /dev/sdc1 /mnt/sdtest
$ df -h /mnt/sdtest
/dev/sdc1 7,2G 24K 6,8G 1% /mnt/sdtest
$ cd /mnt/sdtest && f3write .
Free space: 7.10 GB
Creating file 1.h2w ... OK!
...
Creating file 8.h2w ... OK!
Free space: 16.46 MB
Average writing speed: 22.78 MB/s
$ f3read .
SECTORS ok/corrupted/changed/overwritten
Validating file 1.h2w ... 2097152/ 0/ 0/ 0
...
Validating file 8.h2w ... 176128/ 0/ 0/ 0
Data OK: 7.08 GB (14856192 sectors)
Data LOST: 0.00 Byte (0 sectors)
Corrupted: 0.00 Byte (0 sectors)
Slightly changed: 0.00 Byte (0 sectors)
Overwritten: 0.00 Byte (0 sectors)
Average reading speed: 90.32 MB/sVerdikt: sauber. Jedes Byte jeder der 8 Testdateien, 7,08 GB insgesamt, bis auf rund 16 MB Restplatz gefüllt, kam exakt so zurück, wie es geschrieben wurde: 0 korrupte, 0 veränderte, 0 überschriebene Sektoren. Die gemessenen Geschwindigkeiten, 22,78 MB/s Schreiben und 90,32 MB/s Lesen, decken sich eng mit dem rohen dd-Direct-I/O-Benchmark aus Schritt 2, eine gute Gegenprobe, dass die Zahlen echt sind und kein Artefakt einer einzelnen Methode.
$ umount /mnt/sdtest $ badblocks -wsv /dev/sdc Es wird nach defekten Blöcken gesucht (Lesen+Schreiben-Modus) Von Block 0 bis 7666687 Es wird getestet Mit Muster 0xaa: ... 100% erledigt Es wird getestet Mit Muster 0x55: ... 100% erledigt Es wird getestet Mit Muster 0xff: ... 100% erledigt Es wird getestet Mit Muster 0x00: ... 100% erledigt Durchgang beendet, 0 defekte Blöcke gefunden. (0/0/0 Fehler)
Verdikt: 0 defekte Blöcke, über alle 4 Standard-Testmuster hinweg (0xAA/01010101, 0x55/10101010, 0xFF/lauter Einsen, 0x00/lauter Nullen, gewählt, um Stuck-at-0- und Stuck-at-1-Zellfehler ebenso wie Kopplungsfehler zwischen Nachbarbits zu erwischen). Gesamtlaufzeit für den kompletten Schreib-Lese-Vergleichs-Zyklus über alle 4 Muster: rund 26 Minuten 47 Sekunden auf dieser 7,31-GiB-Karte, was zur Schätzung von rund 27 Minuten aus den früheren Durchsatzwerten passt, 4-mal Schreibdurchlauf plus Lesedurchlauf bei rund 23,5/85 MB/s.
badblocks -w ist ein linearer, positionsbasierter Test, Teil von e2fsprogs. In einem Durchgang schreibt er dasselbe Muster auf jeden logischen Block und liest es zurück. Genau das ist der strukturelle Unterschied zu f3write/f3read, und der Grund, warum badblocks kein Ersatz für f3 bei der Kapazitätsbetrugsfrage ist: eine Karte, die Schreibvorgänge still auf einen kleineren physischen Bereich zurückführt, könnte in einem badblocks-Durchgang trotzdem das „richtige“ Muster zurückliefern, weil ohnehin jeder logische Block identischen Inhalt bekommt, das Aliasing bliebe unsichtbar. f3write vermeidet das, indem es positionsabhängige Pseudozufallsdaten schreibt, sodass Wraparound oder Aliasing als Mismatch auffällt. badblocks beantwortet dafür eine engere, ergänzende Frage: versagen bestimmte Blöcke oder Zellen dabei, irgendein Muster zuverlässig zu speichern, was der einmalige, pseudozufällige Schreibdurchgang von f3 pro Karte nicht so systematisch prüft, kein 0xAA/0x55/0xFF/0x00-Stuck-Bit-Sweep.
$ flashbench -f -o /root/sdtest/flashbench.out /dev/sdc $ cat /root/sdtest/flashbench.out 4MiB 28.5M/s 28.3M/s 26.7M/s 27.6M/s 23.4M/s 28M/s 2MiB 26.6M/s 28.2M/s 26.7M/s 28.1M/s 26.8M/s 28.1M/s 1MiB 26.6M/s 28.8M/s 26.4M/s 28.4M/s 26.6M/s 27.3M/s 512KiB 26.7M/s 28.2M/s 26.9M/s 28.9M/s 26.8M/s 28.3M/s 256KiB 26.7M/s 28.2M/s 26.6M/s 27.8M/s 27M/s 28.8M/s 128KiB 26M/s 28.5M/s 26.7M/s 28.3M/s 26.8M/s 28.3M/s 64KiB 26.9M/s 28.8M/s 26.8M/s 28.3M/s 26.7M/s 27.9M/s 32KiB 12.6M/s 12.7M/s 13.1M/s 12.6M/s 12.9M/s 12.8M/s 16KiB 5.78M/s 5.91M/s 5.87M/s 5.82M/s 5.82M/s 5.86M/s
flashbench -f (find-fat) liest am Ende der ersten paar Erase-Blöcke zunehmend kleinere Häppchen und misst die Zeit dafür, auf der Suche nach dem Punkt, an dem die Lesegeschwindigkeit plötzlich einbricht. Die Grundidee: das deutet auf die interne Lese- beziehungsweise Page-Granularität des Flashs hin, weil das Lesen eines Teils einer internen Page oder eines Blocks genauso viel kosten kann wie das Lesen der ganzen Einheit, sub-granulare Reads verschwenden dann Bandbreite. Hier hält sich das Plateau, rund 26 bis 29 MB/s, passend zum rohen sequenziellen Lese-Benchmark, stabil bis hinunter zu 64 KiB, bricht dann bei 32 KiB auf weniger als die Hälfte ein (rund 12,6 bis 13,1 MB/s) und nochmal auf etwa ein Fünftel bei 16 KiB (rund 5,8 bis 5,9 MB/s). Ein sauberes, reproduzierbares Signal, 6 Wiederholungen pro Zeile, alle konsistent.
Die Schlussfolgerung bleibt bewusst vorsichtig formuliert: das ist ein Performance-Knick bei 64 KiB auf diesem konkreten Reader-Controller-Pfad, konsistent mit einer größeren internen Leseeinheit oder FTL-Gruppierung, aber keine direkte, verifizierte Messung der tatsächlichen physischen NAND-Page-Größe der Karte (typischerweise 8 bis 16 KiB, dafür bräuchte es Herstellerdokumentation oder eine andere Messmethode). Die Daten sind mit einer bestimmten Erklärung konsistent, sie beweisen sie nicht.
dd und f3write liefern Durchschnittswerte. fio mit einem Bandbreiten-Log pro Sekunde zeigt dagegen die Form des Schreibvorgangs über die vollen 6 GB, genau das will man sehen, wenn man einen Pseudo-SLC-Cache-Absturz sucht: viele Karten schreiben schnell in einen kleinen SLC-Modus-Puffer, bis der voll ist, und fallen danach auf eine deutlich niedrigere TLC- oder QLC-Dauerschreibrate ab.
$ fio --name=sdcard-write --filename=/dev/sdc --rw=write --bs=1M --size=6G --direct=1 --ioengine=psync --iodepth=1 --write_bw_log=/root/sdtest/fio_write --log_avg_msec=1000 --group_reporting write: IOPS=26, BW=26.0MiB/s (27.3MB/s)(6144MiB/236179msec) bw (KiB/s): min=24576, max=27675, per=100.00%, avg=26645.27, stdev=457.38, samples=236
Der Blick ins rohe Sekunden-Log lohnt sich, nicht nur die Zusammenfassung: 236 Einsekunden-Stichproben über den kompletten 6-GB-Schreibvorgang, alle im Bereich von 24576 bis 27675 KiB/s, also rund 24,0 bis 27,0 MB/s. Erste und letzte Stichprobe liegen im selben schmalen Band, kein erhöhter Burst am Anfang, kein Absturz später.
Verdikt: flach, kein erkennbarer SLC-Cache-Absturz auf dieser Karte. Auch hier lohnt sich die vorsichtige Formulierung: das beweist nicht, dass die Karte null Schreibpufferung hat, nur dass ein eventueller Puffer beziehungsweise Absturz innerhalb dieses 6-GB-Testfensters auf einer Karte mit nur rund 7,3 GB nutzbarer Gesamtkapazität nicht sichtbar wurde. Es könnte schlicht nicht genug Karte nach dem Puffer übrig sein, um einen Absturz zu zeigen, oder, wahrscheinlicher bei einer reinen Class-10/U1-Budgetkarte ohne A1/A2- oder „Extreme/Pro“-Einstufung, sie implementiert gar kein dynamisches SLC-Caching. So oder so steht das praktische Ergebnis: die Schreibleistung war über die gesamte Kapazität konsistent und vorhersagbar, nicht nach vorne verlagert.
Ein paar Dinge, die in diesem Testlauf nicht zum Einsatz kamen, aber der Vollständigkeit halber dazugehören. mmc extcsd read und seine Lebensdauer-Schätzfelder, das Nächste an einer echten Health-Prozentangabe in diesem Umfeld, sind eine eMMC-Eigenschaft. Eine wechselbare SD- oder microSD-Karte ist kein eMMC, dieser Pfad stand hier ohnehin nicht zur Verfügung, USB-Leser statt nativer MMC-Host. Ein nativer MMC-Host-Slot, etwa der eingebaute SD-Slot eines Laptops, würde dagegen mehr Identitätsdaten offenlegen als ein USB-Leser: /sys/block/mmcblkX/device/ mit cid, csd, scr, serial, manfid, name, oemid, preferred_erase_size und date, der Kernel parst die Identitätsregister der Karte direkt in sysfs, ganz ohne Zusatzwerkzeug. Wer also einen echten SD/MMC-Controller statt einer USB-SCSI-Bridge als Leser hat, bekommt das gratis dazu, in diesem Test war davon nichts erreichbar.
Und noch ein Missverständnis vorweg: der „SD Card Formatter“ der SD Association ist ein Formatierungs- und Reset-Werkzeug, das die werkseitige Partitionierung wiederherstellt, nachdem andere Betriebssysteme sie durcheinandergebracht haben, kein Health-Check-Werkzeug.
Vom schnellsten und harmlosesten zum langsamsten und gründlichsten, ungefähr so, wie dieser Test auch abgelaufen ist:
lsusb -v, udevadm info, dmesg. Leser und Karte identifizieren, Schreibschutz-Status vorab prüfen.smartctl -a -d sat und sdparm -a. Schneller, harmloser Versuch an Health- und Identitätsdaten, meist scheitert das über einen USB-Leser, und genau dieses Scheitern ist der Punkt, den man erklären sollte.f3probe. Schneller Kapazitätsbetrugs-Check, für 8 GB etwa 2 bis 3 Minuten, minimal destruktiv, stellt die benutzten Blöcke standardmäßig wieder her.f3write plus f3read. Der Haupttest, vollständige Schreib-Lese-Integritätsprüfung über die gesamte Kapazität, braucht ein Dateisystem.badblocks -w. Destruktive Vier-Muster-Prüfung auf defekte Blöcke, Rohgerät, kein Dateisystem nötig. Fängt Dinge, die f3 strukturell nicht kann, siehe Schritt 5.dd mit oflag/iflag=direct und/oder fio mit Bandbreiten-Log. Durchsatzzahlen und, mit fio, die Form der Schreibrate über die Zeit.flashbench -f -o DATEI. Optional, für die Neugier, Hinweise auf die interne Lese-Granularität.Für diese konkrete Karte: gesund, echt, keine Defekte gefunden, bei jedem Test, der überhaupt in der Lage gewesen wäre, welche zu finden. Keine SMART-Werte erreichbar über den USB-Leser, echte Kapazität ohne Cache-Trickserei, null Datenkorruption über 7,08 GB, null defekte Blöcke über alle 4 Muster, rund 23 bis 27 MB/s Schreiben und rund 85 bis 90 MB/s Lesen, konsistent über vier unabhängige Messmethoden, kein SLC-Cache-Absturz über die volle Kapazität. Die Karte reißt ihre aufgedruckte Class-10/U1-Angabe locker, für U3/V30 würde es nicht reichen, was sie auch gar nicht behauptet.
Der eigentliche Punkt reicht über diese eine Karte hinaus: ohne SMART bleibt nur Verhaltenstestung statt Register-Abfrage. Schreiben, lesen, vergleichen, und der Karte dabei zusehen, statt sie nach einer Zahl zu fragen, die sie gar nicht hat.
Falls jemand einen zuverlässigeren Weg zur Health-Einschätzung einer SD-Karte unter Linux kennt, immer her damit. Und falls ihr selbst öfter mit fragwürdigen Billigkarten zu tun habt, dürft ihr mich zu dem Thema sehr gerne fragen.
Apparemment en créant une clé bootable je me suis trompé de disque (pourtant il me semblait avoir vérifié plusieurs fois ?) et j'ai donc fait un dd d'une ISO de 7 Go sur le SSD chiffré qui contient mon système et mon /home.
Est-ce qu'il y a un moyen de récupérer le système ou au moins mes données ?
(je crains que non, hélas)
(je crois que j'avais sauvegardé mes headers LUKS mais aucune idée d'où)
Envoi d'un signal de mise sous tension pour tout faire repartir au propre.
À 4h07, Uptime-Kuma confirme : tout est repassé au vert ! 🟢
#Proxmox #Nextcloud #SysAdmin #Automation #SelfHosted #Gotify
À 3h31, juste après Mastodon et avant le grand reboot de 4h, c'est au tour de PeerTube d'avoir son nettoyage automatique : « ✅ PeerTube Cleanup TERMINÉ » sur docker-peertube.
Purge des caches, ménage des fichiers temp et des médias fédérés. Au réveil, tout est propre sans avoir levé le petit doigt !
#PeerTube #SelfHosted #SysAdmin #Automation #Gotify
Décidément, la nuit réserve plein de surprises ! 🌙😜
À 3h18 du matin, Gotify repasse par là : « ✅ Mastodon Cleanup TERMINÉ » sur le conteneur docker-mastodon.
Un petit coup de balai automatique sur le cache et les médias distants pendant que tout le monde dort. Quand ton infra est plus disciplinée que toi ! 🧹🐘✨
#Mastodon #SysAdmin #Linux #Automation #SelfHosted #Gotify #Proxmox
Quand tu automatises tellement tout que tu en oublies tes propres scripts ! 😅
À 23h pile, notification Gotify : purge massive et nettoyage de /var/log sur tous les nœuds du cluster Proxmox (purge_logs.sh).
Le moment exact où tu te dis : « Ah oui c'est vrai, j'avais écrit un script pour ça ! » 😂
C'est ça, la vraie magie d'un système qui tourne en totale autonomie !
#SysAdmin #Proxmox #Linux #Automation #Bash #Gotify #SelfHosted
Pour voir la capture en bonne résolution, rendez-vous sur Picsur : https://picsur.blablalinux.be/i/d41a86aa-eefa-41f5-8858-b5c6d695f04c.jpg
Fin du marathon d'automatisation. Bon week-end à tous !
Some services will be momentarily down today while we migrate from Dynadot to Dreamhost for our domain Registrar. Moving forward, all DNS will be managed at Hurricane Electric and/or Dreamhost. Thanks for patience 🙏🏼
This sudden change was due to Dynadot changing their subdomain record policy from 250 to 50 without notice. This caused a week-long disruption in building out new services due to any record over the cap being irrecoverable once deleted and new ones being impossible to create. Despite having 150+ records in the past, Dynadot responded that they've never supported more than 150 and would only restore that.
Both the change in terms and contract without notice and the dishonesty once a ticket was filed serve as sufficient reasons to ditch Dynadot. This was surprising to say the least. They've been a solid Registrar. As for DNS, we only used it the last three years having originally used afraid.org for over a decade. Ultimately, this is for the best however, because it is always unwise to keep one's DNS and Registrar at the same host. Hurricane Electric's DNS is additionally a breath of fresh air from 1998-2002 era and so easy to use - the alphabetical rendering of records amazing 🤩
It's always DNS !!
📊 La liste complète des conteneurs est visible ici : https://picsur.blablalinux.be/i/f8bcd804-76b7-4359-a8d7-feb276dd5a21.jpg
Un rapide passage à 512 Mo de RAM, et le problème est réglé. C'est aussi ça la magie du monitoring et des scripts auto : repérer les petits goulots d'étranglement en un clin d'œil ! ☕️💪
C'est samedi, jour de l'automatisation sur le cluster Proxmox ! ⚙️
La première tâche s'est lancée à 10h pile et s'est terminée 11 minutes plus tard : 3 VM mises à jour en douceur (PBS, Elasticsearch et Jitsi Meet, bien identifiables en bleu sur la capture) et aucun redémarrage nécessaire. Tout roule tout seul pendant que je peux profiter de mon café ! ☕️
Et chez vous, ça automatise aussi le week-end ou c'est tout à la main ? 🛠️
#Proxmox #SysAdmin #Linux #SelfHosted #Automation #DevOps
In less than 12hrs I'll be taking graduates of the Tunnel training into another edition of Fortress. 4x6hrs, followed by 2 weeks of supported service deployments and experimentation.
I'm excited about every part of it (esp to see what participants build up), except the 1am starts, in my, umm, challenging timezone.
It'll be coffee black as midnight for a bit.
Anybody any news on DNS-PERSIST-01? It would allow me to simplify some things massively, once it's available…
https://letsencrypt.org/2026/02/18/dns-persist-01
There is a person I've been helping for a while who runs two instances, one #GoToSocial and one #snac.
Yesterday, they suffered severe file system corruption on their device, and I lent them a hand with the recovery. For GoToSocial, they restored the DB from the previous backup and got it running again. For snac, although a few files were lost, no action was necessary... it just started back up and did what it had to do, bringing the instance back to full operation.
This goes to show that when software is well-designed and intentionally kept simple, it's also easier to get back up and running when something goes wrong. In this case, snac's "files-only" approach demonstrated excellent resilience.
Thanks, @grunfink !
#snac2 #snac #ThankYouTuesday #Efficiency #IT #SysAdmin #OwnYourData
We've just had someone in another team create a host called "something".
We are yet to identify the responsible user, so for now it is someone's something.
And something is reporting an error in our monitoring dashboard. So something is wrong with something for someone.
Im letzten Beitrag ging es darum, die BIOS-Einstellungen meines Supermicro X12SPi-TF überhaupt erst als Datei in die Hand zu bekommen. Das Ergebnis war eine XML mit 372 Einstellungen, und der Weg dorthin führte über eine Lizenz für 28,17 Euro.

Damit war die halbe Arbeit getan. Eine Konfiguration auslesen zu können ist schön, aber der eigentliche Gewinn liegt darin, sie auch zurückschreiben zu können. Genau das habe ich jetzt gemacht, und zwar zum ersten Mal überhaupt an dieser Maschine: sieben Einstellungen geändert, ohne den Rechner ins Setup zu booten, ohne Tastatur, ohne die Fernkonsole des Management-Controllers.
Vorweg die gute Nachricht für alle, die schon rechnen: die kleine Lizenz deckt das Schreiben mit ab. Ich hatte damit gerechnet, dass Supermicro genau an dieser Stelle noch einmal die Hand aufhält, und das tut es auch, aber nur an einer sehr kleinen Ecke. Von den 372 Einstellungen tragen 21 den Vermerk, dass sie die große Lizenz verlangen. Es sind ausschliesslich Zertifikatseinträge für KMIP-Server und HTTPS-Boot. Nichts davon betrifft normale Setup-Optionen.
Der langweiligste Teil eines solchen Artikels ist die Liste der geänderten Werte. Der interessante Teil ist die Begründung, deshalb fange ich damit an.
Mein Rechner bootet von einer NVMe-SSD. Er hat das noch nie anders gemacht und wird es auch nicht. Trotzdem lädt das BIOS bei jedem Start die Pre-Boot-Netzwerktreiber für vier Netzwerkanschlüsse, jeweils für IPv4 und IPv6, und baut daraus Boot-Einträge, die niemand benutzt. Dazu kommen die Option-ROMs von drei leeren Steckplätzen.
Ein Option-ROM ist ein kleines Stück Firmware auf einer Steckkarte, das beim Start ins BIOS geladen wird, damit die Karte schon vor dem Betriebssystem funktioniert. Für eine Netzwerkkarte heisst das Netzwerk-Boot, für einen Speichercontroller das Booten von daran angeschlossenen Platten. Wer von keinem dieser Geräte bootet, braucht den Code nicht.
Also:
– Network Stack von *Enabled* auf *Disabled*. Damit fällt die komplette UEFI-Netzwerkinitialisierung weg. – Onboard LAN1 Option ROM aus. Der Pre-Boot-Treiber der onboard X550 wird nicht gebraucht. – CPU SLOT6 OPROM aus. Dort steckt meine X710. Dazu gleich mehr, das ist der eigentliche Grund für die Aktion. – CPU SLOT1, SLOT2 und SLOT7 OPROM aus. Alle drei Steckplätze sind leer.
Bei den drei leeren Steckplätzen bin ich ehrlich: der Zeitgewinn ist exakt null. Wo keine Karte steckt, gibt es auch kein Option-ROM zu laden. Ich habe sie trotzdem mitgenommen, weil ich einen dokumentierten Sollzustand haben will und nicht eine Mischung aus bewusst gesetzt und zufällig übrig.
Die siebte Änderung ist die, um die es mir wirklich ging.
Beim Schreiben meiner BIOS-Serie ist mir etwas aufgefallen, das ich mir lange nicht erklären konnte. Mein Prozessor ist ein Xeon Gold 5315Y, Ice Lake-SP. Diese Generation beherrscht Hardware P-States, kurz HWP. Die CPU regelt ihren Takt dabei selbst, in feineren Stufen und deutlich schneller, als das Betriebssystem es könnte.
Nur meldete mein Kernel davon nichts. In /proc/cpuinfo fehlte das hwp-Flag, der Treiber intel_pstate lief im passiven Modus, und die Taktregelung machte der Governor schedutil. Also genau der Zustand, den man auf einer CPU erwartet, die HWP gar nicht kann.
Ich habe eine Weile in Richtung Kernel gesucht. Das war die falsche Richtung. Der Schalter sass im BIOS, ziemlich tief vergraben:
Advanced > CPU Configuration > Advanced Power Management Configuration
> Hardware PM State Control > Hardware P-States [Disable]Der Auslieferungszustand dieser Option ist tatsächlich *Disable*. Es gibt vier Werte, und der Hilfetext im BIOS beschreibt sie so:
Disable hardware will choose a P-state setting for
the system based on an OS request
Native Mode hardware will choose a P-state setting
based on OS guidance
Native Mode with No Legacy Support hardware will choose a P-state setting
independently without OS guidance
Out of Band Mode hardware autonomously choose a P-state
without OS guidanceIch habe Native Mode genommen, also die zahmste der drei aktiven Varianten. Der Unterschied zu den beiden anderen ist wichtig: bei *Native Mode* behält das Betriebssystem seinen Einfluss, es wandert nur die Feinsteuerung in die CPU. Bei den beiden anderen wird der Kernel bei der Taktwahl übergangen, und dann kann er dir auch nicht mehr sinnvoll sagen, was die CPU gerade tut.
Diese Liste finde ich wichtiger als die Liste der Änderungen, denn hier hätte ich mir den Rechner unbedienbar machen können.
Das Option-ROM von SLOT4 bleibt an. Dort sitzt die Grafikkarte. Ihr GOP-Modul ist das, was beim Start überhaupt ein Bild auf den Monitor bringt. Wer es abschaltet, sitzt bis zum Laden des Grafiktreibers im Dunkeln, und wenn dabei etwas schiefgeht, sitzt er dauerhaft im Dunkeln.
Onboard Video Option ROM bleibt an. Das ist die Grafik des Management-Controllers, und daran hängt die Fernkonsole. Schaltet man sie ab, bleibt beim Start das Fenster schwarz, über das man aus der Ferne ins Setup kommt. Das ist genau der Rettungsweg, den man sich nicht abschneiden will, wenn man gerade anfängt, das BIOS aus dem laufenden Betrieb heraus umzukonfigurieren.
Beide NVMe-Option-ROMs bleiben an. Das erste trägt das Betriebssystem. Auf das zweite soll irgendwann Windows, und auch wenn der Bootloader auf der ersten Platte das Kommando behält, muss die zweite dem Firmware-Bootmanager sichtbar bleiben.
Legacy USB Support bleibt an. Hier hätte ich vermutlich etwas Startzeit gewinnen können. Ich habe es gelassen, weil ich den Gewinn nicht gemessen habe und das Risiko eine tote Tastatur im Setup wäre. Eine Einstellung, deren Nutzen man nicht beziffern kann, deren Schaden aber konkret ist, ändert man nicht.
Naheliegend wäre, die ausgelesene XML zu bearbeiten und komplett zurückzuschreiben. Bei 372 Einstellungen und 260 Kilobyte ist das unnötig riskant, und es ist auch nicht der vorgesehene Weg.
Das Werkzeug kennt einen Filter, der genau die Einstellungen ausgibt, die vom Auslieferungszustand abweichen:
./saa -c GetCurrentBiosCfg --file nondefault.xml --overwrite --filter nondefault
Heraus kommt eine kleine Datei mit derselben Struktur wie die grosse, nur eben mit den Menüzweigen, die auch wirklich etwas enthalten. Und genau diese Struktur nimmt das Schreibkommando entgegen. Teildateien sind also kein Trick, sondern der normale Betriebsfall.
Hier der erste Fallstrick, und der hat mich ehrlich geärgert: die eingebaute Hilfe des Werkzeugs beschreibt den Filter als Ziffer.
--filter Sets filter type to: 1 = nondefault
Die Ziffer 1 wird abgewiesen. Das Kommando bricht ab und wirft den Hilfetext aus, der einem gerade die Ziffer empfohlen hat. Akzeptiert wird ausschliesslich das ausgeschriebene Wort nondefault. Wenn du also an dieser Stelle hängst, liegt es nicht an dir.
Meine Änderungsdatei habe ich nicht getippt, sondern mit einem kleinen Python-Skript aus dem Auslesestand erzeugt. Das klingt nach Übertreibung für sieben Werte, hat aber einen handfesten Grund: die Einstellungen müssen im richtigen Menüzweig stehen, und die Menünamen sind lang und fehleranfällig. CPU SLOT2 PCI-E 4.0 X8(IN X16) OPROM vertippt sich schneller, als man denkt, und ein Tippfehler im Namen führt nicht zu einer Fehlermeldung, sondern dazu, dass die Einstellung stillschweigend nicht gesetzt wird.
Das Schreiben selbst ist unspektakulär:
./saa -c ChangeBiosCfg --file change-boot-oprom-hwp.xml Status: The BIOS configuration is updated for the managed system Note: You have to reboot or power up the system for the changes to take effect.
Es gibt eine Option --reboot, die den Neustart gleich mit erledigt. Die habe ich weggelassen. Wann ein Rechner neu startet, entscheide ich lieber selbst.
Nach dem Schreiben will man natürlich nachsehen, ob es geklappt hat. Also dasselbe Auslesekommando noch einmal, und dann steht da:
Hardware P-States = Disable (geschrieben: Native Mode) Network Stack = Enabled (geschrieben: Disabled) CPU SLOT6 PCI-E 4.0 X16 OPROM = EFI (geschrieben: Disabled)
Nichts. Alle alten Werte, unverändert.
Der erste Reflex ist, das Schreibkommando noch einmal laufen zu lassen. Tu das nicht. Das Auslesen liefert die aktive Konfiguration, und die ändert sich erst beim nächsten Start. Deine Änderung liegt so lange in einem Bereich, den das Werkzeug nicht anzeigt. Zwischen dem Schreiben und dem Neustart gibt es damit keine Möglichkeit, die Änderung zu überprüfen, ausser dem Rückgabewert des Kommandos.
Das ist unschön, aber es ist logisch. Die Einstellungen werden erst beim Start aus dem Speicher gelesen, und vorher gibt es schlicht nichts Aktives, das anders wäre.
Und dann stimmt alles. Die Zahl der Abweichungen vom Auslieferungszustand ist von sechs auf dreizehn gestiegen, also genau um meine sieben:
Quiet Boot Unchecked Restore on AC Power Loss Stay Off Power Button Function 4 Seconds Override Hardware P-States Native Mode Network Stack Disabled Re-Size BAR Support Enabled VGA Priority Offboard CPU SLOT1 PCI-E 4.0 X8 OPROM Disabled CPU SLOT2 PCI-E 4.0 X8(IN X16) OPROM Disabled CPU SLOT6 PCI-E 4.0 X16 OPROM Disabled CPU SLOT7 PCI-E 4.0 X8 OPROM Disabled Onboard LAN1 Option ROM Disabled WHEA Support Disabled
Die Netzwerk-Booteinträge sind verschwunden, übrig bleibt der Bootloader und die eingebaute Shell:
BootCurrent: 000F BootOrder: 000F,0001 Boot0001* UEFI: Built-in EFI Shell Boot000F* ubuntu
Und der Punkt, um den es mir ging, ist eingetreten. Der Prozessor meldet jetzt Fähigkeiten, die er die ganze Zeit hatte:
$ grep -o ' hwp[_a-z]*' /proc/cpuinfo | sort -u hwp hwp_act_window hwp_epp hwp_pkg_req $ cat /sys/devices/system/cpu/intel_pstate/status active
Der Treiber ist damit vom passiven in den aktiven Modus gewechselt. Was dabei kurz irritiert: der Governor heisst jetzt powersave statt schedutil, und das sieht nach einem Rückschritt aus. Ist es nicht. Bei intel_pstate im aktiven Modus ist powersave der Name für den Betrieb, bei dem die Hardware regelt. Wie sie das tut, steuert ein separater Wert:
$ cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference balance_performance
Die CPU geht im Leerlauf auf 800 MHz und hat den vollen Turbo bis 3600 MHz zur Verfügung. Genau so soll es sein.
Wichtig war mir noch die Gegenprobe, dass ich mir das Netzwerk nicht zerschossen habe. Die Karte, deren Option-ROM ich abgeschaltet habe, ist schliesslich die, über die diese Maschine am Netz hängt:
$ ethtool ens6f1np1 | grep -E 'Speed|Link detected' Speed: 10000Mb/s Link detected: yes
Unverändert. Das ist auch zu erwarten, denn der Treiber im laufenden Betrieb kommt aus dem Kernel und hat mit dem Option-ROM nichts zu tun. Das Option-ROM ist reiner Startcode. Trotzdem ist das der Punkt, an dem die meisten zögern, deshalb steht die Messung hier.
Ein Punkt ist noch offen, und den will ich nicht verschweigen: der ursprüngliche Anlass für das Abschalten von SLOT6 war eine Meldung auf der Treiberstatus-Seite im Setup, wo meine Netzwerkkarte seit einem Firmware-Update als *Failed* geführt wird. Ob die Meldung jetzt weg ist, kann ich von aussen nicht sehen. Das prüfe ich beim nächsten Setup-Besuch nach.
Diese Frage lag für mich die ganze Zeit im Raum, und die Antwort ist unbefriedigend.
Es gäbe einen herstellerneutralen Weg unter Linux. Der Kernel kennt eine Geräteklasse namens firmware-attributes, über die sich BIOS-Einstellungen als ganz normale Dateien lesen und schreiben lassen. Der Firmware-Updater fwupd kann das seit Version 1.8.4 direkt bedienen. Das wäre die Lösung: ein Kommando, egal welcher Hersteller.
Auf meiner Maschine sieht das so aus:
$ ls /sys/class/firmware-attributes/ ls: cannot access '/sys/class/firmware-attributes/': No such file or directory $ fwupdmgr get-bios-setting This system doesn't support firmware settings
Das Hilfsmodul dafür liegt im Kernel, es ist also nicht so, dass die Infrastruktur fehlen würde:
/lib/modules/7.0.0-28-generic/kernel/drivers/platform/x86/firmware_attributes_class.ko.zst
Was fehlt, ist der Treiber des Herstellers. Der Kernel bringt genau drei mit:
drivers/platform/x86/dell/dell-wmi-sysman Dell drivers/platform/x86/lenovo/think-lmi Lenovo drivers/platform/x86/hp/hp-bioscfg HP
Supermicro ist nicht dabei. Statt eines Treibers, der diese Kernel-Schnittstelle bedient, gibt es ein eigenes Werkzeug und eine Lizenz. Auf einem Dell oder Lenovo wäre der Inhalt dieses Beitrags ein Einzeiler ohne Zusatzkosten.
Ganz ohne Oberfläche ist man aber nicht. Das Werkzeug bringt einen textbasierten Editor mit, der das Setup im Terminal nachbaut:
./saa -c GetCurrentBiosCfg --tui
Dazu gibt es --compact, das anschliessend nur die geänderten Zeilen herausschreibt. Über eine SSH-Pipe blieb das Fenster bei mir schwarz, es braucht ein echtes Terminal. Ausprobiert habe ich es deshalb noch nicht richtig. Und es gibt das Werkzeug ausserdem als Windows-Version und als Variante für die UEFI-Shell, also für den Fall, dass überhaupt kein Betriebssystem installiert ist.
Eine echte grafische Oberfläche gibt es auch, sie heisst SSM. Die will dann allerdings wieder die grosse Lizenz.
Das Wichtigste zum Schluss, und man legt es sich besser vorher zurecht als hinterher. Vor dem Schreiben habe ich den vollständigen Stand weggesichert. Der Rückweg ist dann dasselbe Kommando mit dieser Datei:
./saa -c ChangeBiosCfg --file bios-current-2026-08-09.xml
Als Notnagel gibt es darunter noch LoadDefaultBiosCfg, das alles auf den Auslieferungszustand zurücksetzt. Das ist aber ein grober Hebel: es wirft auch die sechs Abweichungen weg, die ich absichtlich eingestellt habe, und die stehen dann eben nicht mehr so, wie ich sie haben will. Die Teildatei ist der bessere Weg, der Vollreset die letzte Reserve.
Und weil es hier um Firmware geht, der offensichtliche Hinweis: bei einem Rechner, an den du nicht rankommst, änderst du keine Boot-Einstellungen, ohne dass jemand vor Ort ist oder die Fernkonsole zuverlässig läuft. Ich habe das Option-ROM der Grafik und das des Management-Controllers genau deshalb nicht angefasst.
Sieben Einstellungen, ein Neustart, kein Setup-Besuch. Das klingt nach wenig, ändert aber die Arbeitsweise. BIOS-Einstellungen waren für mich bisher etwas, das man beim Aufbau einmal einstellt und danach ungern anfasst, weil jede Änderung einen Neustart mit Tastatur und Monitor bedeutet. Jetzt sind sie eine Datei, die ich versionieren, vergleichen und zurückspielen kann.
Der schönste Nebeneffekt war die Sache mit den Hardware P-States. Ich hatte das Verhalten meiner CPU wochenlang für eine Eigenheit des Kernels gehalten und in die falsche Richtung gesucht. Es war eine einzige Zeile in einem Menü, das vier Ebenen tief liegt und das ich beim Durchklicken nie geöffnet hatte. Eine durchsuchbare Datei aller 372 Einstellungen hätte mir das in dreissig Sekunden gezeigt.
Falls du auf demselben Board sitzt: das Auslesen ist der Beitrag davor, das Schreiben braucht keine weitere Lizenz, und die drei Stolperstellen sind der Filter, der nur als Wort funktioniert, die Gegenprobe, die vor dem Neustart nichts zeigt, und die Versuchung, mehr auf einmal zu ändern, als man beim nächsten Start noch reparieren kann.
Siehe auch: Achtundzwanzig Euro für eine Textdatei: die BIOS-Konfiguration meines Supermicro-Boards auslesen und die Serie BIOS erklärt.
Wenn dazu etwas unklar ist oder du es auf deinem Board anders erlebt hast, dürft ihr mich sehr gerne fragen.
In meiner Serie BIOS erklärt arbeite ich mich durch das Setup eines Supermicro X12SPi-TF. Die Grundlage dafür war bisher eine Bildschirmaufnahme: ich bin durch alle Menüs gelaufen, habe das Video in Einzelbilder zerlegt und die Werte abgetippt. Das funktioniert, ist aber Handarbeit, und Handarbeit übersieht Dinge.
Was ich eigentlich wollte, ist eine Datei. Eine Liste aller Optionen mit ihrem aktuellen Wert, maschinenlesbar, damit ich sie durchsuchen und mit einem späteren Stand vergleichen kann. Das Board kann das. Es rückt es nur nicht heraus.
Der erste Weg führt über Redfish, die HTTP-Schnittstelle des Management-Controllers. Der passende Endpunkt existiert, antwortet aber nicht mit Daten:
GET /redfish/v1/Systems/1/Bios HTTP 403 "MessageId": "SMC.1.0.OemLicenseNotPassed", "Message": "Not licensed to perform this request. The following licenses DCMS were needed"
Der zweite Weg ist Supermicros eigenes Kommandozeilenwerkzeug. Es heißt inzwischen SAA, SuperServer Automation Assistant, und liegt dem BIOS-Paket bei. Es kann genau das, was ich suche, und arbeitet dabei nicht über das Netz, sondern direkt über die Firmware:
./saa -c GetCurrentBiosCfg --file bios-current.xml ExitCode 80 Node product key is not activated. One of the node product key (SFT-OOB-LIC or SFT-DCMS-SINGLE) should be activated
Der dritte Weg wäre, die UEFI-Variablen selbst zu lesen. Die liegen unter /sys/firmware/efi/efivars/, und tatsächlich gibt es dort Einträge, die nach BIOS-Einstellungen aussehen. Nur sind das undurchsichtige Datenblöcke ohne die Zuordnungstabelle des Boards. Man sieht Bytes, aber man weiß nicht, welches Byte welcher Menüpunkt ist.
Drei unabhängige Wege, dieselbe Sperre. An dieser Stelle habe ich in meinen Notizen etwas geschrieben, das sich später als falsch herausstellte. Dazu komme ich am Ende.
Lies die beiden Fehlermeldungen oben noch einmal nebeneinander. Sie verlangen nicht das Gleiche. Redfish nennt namentlich DCMS. SAA nennt SFT-OOB-LIC oder SFT-DCMS-SINGLE, also eine von zweien.
Das ist der Punkt, an dem man leicht zu viel Geld ausgibt. Supermicro verkauft für diese Board-Generation zwei Lizenzen. Die kleine heißt Out of Band, kurz OOB. Die große heißt DCMS und kostet etwa das Fünffache. Wer nur die Fehlermeldung von Redfish liest, kauft DCMS. Wer die Fehlermeldung von SAA liest, merkt, dass es für seinen Zweck auch die kleine tut.
Nebenbei taucht dieselbe Lizenz an einer Stelle auf, die ich nicht erwartet hätte. Im Handbuch zum Board stehen bei zwei Sicherheitseinstellungen, nämlich beim Abschalten der vorderen und der hinteren USB-Anschlüsse, die Worte *available for configuration if the SFT-DCMS-SINGLE license is installed*. Es fehlen also nicht nur Management-Schnittstellen. Es fehlen zwei Menüpunkte im Setup selbst.
Bei dieser Recherche stößt man unweigerlich auf ein Werkzeug auf GitHub, das Supermicro- Produktschlüssel behandelt. Für die Generationen 9 bis 11 kann es welche erzeugen, denn dort war der Schlüssel ein berechneter Wert über die MAC-Adresse des Management-Controllers.
Für die zwölfte Generation, also mein Board, kann es das nicht, und das Projekt schreibt es selbst deutlich hin: dieses Format lässt sich mit dem Werkzeug prüfen, aber nicht erzeugen. Der Grund ist, dass Supermicro umgestellt hat. Der Schlüssel ist heute eine von Supermicro signierte Datei, und der Management-Controller prüft die Signatur gegen einen öffentlichen Schlüssel in seiner eigenen Firmware. Ohne den privaten Schlüssel des Herstellers entsteht da nichts Gültiges.
Mein Board bestätigt das Format auf Nachfrage:
Node Product Key Format..........JSON
Damit ist die naheliegende Abkürzung nicht moralisch, sondern rechnerisch verschlossen. Man muss die Frage also wirklich beantworten.
Gekauft habe ich im Supermicro eStore. 23,67 Euro netto, 28,17 Euro brutto. Bei der Bestellung wählt man das Mainboard-Modell aus einer Liste, und mein X12SPi-TF steht darin. Das ist erwähnenswert, weil mehrere Händlerbeschreibungen dieser Lizenz nur X10 und X11 nennen. Diese Texte sind veraltet.
Jetzt kommt der Teil, den ich falsch erwartet hatte. Ich dachte, ich kaufe und bekomme einen Schlüssel. So läuft es nicht. Man bekommt zunächst nur eine Zertifikatsnummer und die Aufforderung, den Schlüssel selbst zu erzeugen. Dafür meldet man sich im Store an, wählt die Bestellung aus und gibt an, für welches Gerät der Schlüssel gelten soll: entweder die MAC-Adresse des Management-Controllers oder die Seriennummer des Boards.
Die Bindung an die Hardware entsteht also nicht beim Verkauf, sondern beim Käufer, im Moment des Erzeugens. Das ist konsequent, denn Supermicro weiß beim Verkauf ja gar nicht, in welchem Gerät die Lizenz landen soll. Es heißt aber auch, dass man sich vertippen kann, und dann hat man einen Schlüssel für ein Gerät, das es nicht gibt.
Der Ablauf war zügig. Bestellbestätigung um 14:17, die Freigabe zum Erzeugen um 14:42, der fertige Schlüssel um 14:44, aktiv im Board um 14:46. Unter einer halben Stunde vom Klick bis zur Funktion, und die zugesagte Stunde war damit nicht zu optimistisch.
Der Schlüssel selbst ist eine kleine Textdatei, benannt nach der MAC-Adresse, mit einem JSON-Objekt darin: Lizenzname, Ausstellungsdatum und eine lange Signatur. Mehr ist es nicht.
Eine Kuriosität am Rande: die Mail mit dieser Textdatei trägt einen Ausfuhrhinweis der US-Regierung. Die Ware sei nur für das Bestimmungsland freigegeben und dürfe nicht weiterveräußert oder an Dritte weitergegeben werden. Das gilt hier für eine Datei von wenigen hundert Byte, deren einzige Wirkung darin besteht, in einem Verwaltungscontroller einen Menüpunkt sichtbar zu machen.
Supermicro nennt vier Wege, den Schlüssel einzuspielen: die Weboberfläche des Management-Controllers, das Werkzeug SUM, die Verwaltungssoftware SSM und Redfish. Die Weboberfläche ist der ruhigste Weg, weil sie eine Bestätigungsseite hat, und bei einem Schlüssel, der genau einmal auf genau ein Gerät passt, will man die haben.
Wer es lieber skriptet, findet die passenden Endpunkte im Management-Controller, und die sind auch ohne Lizenz erreichbar:
POST /redfish/v1/Managers/1/LicenseManager/Actions/LicenseManager.ActivateLicense POST /redfish/v1/Managers/1/LicenseManager/Actions/LicenseManager.ClearLicense GET /redfish/v1/Managers/1/LicenseManager/QueryLicense
Die Abfrage danach gibt genau den Inhalt der Datei zurück, die man hochgeladen hat. Der Controller speichert den Schlüssel also unverändert und prüft ihn bei Bedarf.
Nach der Aktivierung meldet SAA einen anderen Zustand:
Node Product Key Activated.......SFT-OOB-LIC Feature Toggled On...............Yes BMC Supports OOB BIOS Config.....Yes BIOS Supports OOB BIOS Config....Yes
Und dasselbe Kommando, das vorher mit ExitCode 80 abgebrochen ist, läuft durch:
./saa -c GetCurrentBiosCfg --file bios-current.xml File "bios-current.xml" is created.
Heraus kommt eine Datei von 260 Kilobyte mit 60 Menüs und 372 Einstellungen. Zum Vergleich: das offizielle Handbuch beschreibt 180 Optionen. Und die Datei enthält pro Eintrag mehr, als man im Setup sieht, nämlich zusätzlich den Auslieferungszustand und den Hilfetext:
<Setting name="Quiet Boot" checkedStatus="Unchecked" type="CheckBox">
<Information>
<DefaultStatus>Checked</DefaultStatus>
<Help>Enables or disables Quiet Boot option</Help>
</Information>
</Setting>Der Auslieferungszustand ist der eigentliche Gewinn. Damit sehe ich auf einen Blick, welche Einstellungen an dieser Maschine vom Werkszustand abweichen, und das ist genau die Liste, die man nach einem BIOS-Update wiederherstellen will.
Zwei komplette Hauptmenüs standen darin, die ich beim Durchklicken schlicht nie geöffnet hatte. Und ein Untermenü, das ich in meinen Notizen als offene Lücke geführt habe, war vollständig enthalten. So viel zum Thema Handarbeit übersieht Dinge.
Jetzt der ehrliche Teil, und der ist mir wichtiger als der Erfolg. Ich hatte vor dem Kauf drei Messungen aufgeschrieben, damit ich hinterher vergleichen kann. Drei von vier Erwartungen sind eingetroffen, und die vierte war die interessante.
Der Redfish-Endpunkt, mit dem alles anfing, antwortet weiterhin mit 403 und verlangt weiterhin DCMS. Die kleine Lizenz öffnet den Weg über SAA und eben nicht den über Redfish. Wer also ausdrücklich die Netzwerkschnittstelle braucht, etwa weil er hunderte Server ohne Betriebssystem konfigurieren will, kommt um die große Lizenz nicht herum.
Das hat eine Nebenwirkung, die ich nicht auf dem Zettel hatte. Der Firmware-Updater fwupd kann inzwischen mit Supermicros Redfish-Schnittstelle sprechen. Er sieht bei mir aber nur zwei von zwölf Firmware-Komponenten, und die beiden BIOS-Einträge fehlen. Der Grund ist, dass er zur Identifikation eines Geräts das Objekt lesen muss, das hinter genau diesem gesperrten Endpunkt liegt. Die Lizenz sperrt hier also nicht das Aktualisieren, sondern das Erkennen, und das Aktualisieren scheitert dann als Folge. Nach der Aktivierung sind es unverändert zwei von zwölf.
Und der dritte Weg, den ich vorher gar nicht gesehen hatte: fwupd sieht den BIOS-Speicher auch ganz direkt am Chipsatz, liest die Version korrekt aus und verweigert trotzdem den Dienst:
Internal SPI Controller (BIOS):
Aktuelle Version: 2.5
Probleme: Device firmware has been lockedDas ist keine Lizenzsache, und daran hat sich erwartungsgemäß nichts geändert. Der Speicher ist auf Chipsatzebene schreibgeschützt, weil das Board mit aktivem Root of Trust läuft. Ein BIOS, das sich aus einem laufenden Betriebssystem heraus überschreiben lässt, wäre genau die Lücke, die dieser Schutz verhindern soll. Der Reflex sagt hier Hersteller blockiert Linux. Tatsächlich blockiert eine Sicherheitsfunktion, die ich selbst haben will.
Bleibt der Satz, den ich weiter oben angekündigt habe. In meinen Notizen stand nach der dritten Absage sinngemäß: drei unabhängige Wege, dieselbe Sperre, nicht erneut versuchen.
Gemessen hatte ich: ohne Lizenz gibt es keinen Weg. Aufgeschrieben hatte ich: es gibt keinen Weg. Und die dritte Möglichkeit, nämlich die Lizenz einfach zu kaufen, kam in meiner Aufzählung der drei gesperrten Wege überhaupt nicht vor, obwohl das Werkzeug sie mir wörtlich genannt hatte.
Dass drei Wege an derselben Sperre scheitern, beweist, dass es eine Sperre gibt. Es beweist nicht, dass sie unüberwindbar ist. Wenn eine Fehlermeldung den Namen der fehlenden Berechtigung nennt, ist das ein Hinweis und kein Schlusspunkt.
Für einen einzelnen Rechner zu Hause: nur, wenn man Freude daran hat. Ich hätte die Werte auch weiter abschreiben können, und der Screencast hat mir immerhin eine fünfzehnteilige Serie eingebracht, die aus einer XML-Datei nie entstanden wäre. Man liest eine Datei nicht so aufmerksam wie ein Menü, durch das man sich selbst klicken muss.
Für alles, was mehr als eine Handvoll Maschinen betrifft, sieht es anders aus. Konfiguration auslesen, versionieren, nach einem Update wieder einspielen und im Zweifel gegen einen bekannten Stand vergleichen, das ist bei 28 Euro pro Board keine Diskussion. Ärgerlich finde ich nur, dass man diese Rechnung überhaupt aufmachen muss. Es geht um das Auslesen der eigenen Einstellungen auf der eigenen Hardware.
Wenn du auf demselben Board sitzt und dieselbe Fehlermeldung vor dir hast, ist die Kurzfassung: für die Konfiguration reicht die kleine Lizenz, für Redfish brauchst du die große, und für Firmware-Updates brauchst du bei einem X12 mit Root of Trust vermutlich gar keine.
Siehe auch: BIOS erklärt, Teil 1: ein Serverboard als Workstation und der Weg ins Setup und die übrigen Folgen unter BIOS & Firmware.
Wenn dazu etwas unklar ist oder du es auf deinem Board anders erlebt hast, dürft ihr mich sehr gerne fragen.
With Apple phasing out AFP in macOS 27 and Time Capsules officially reaching end-of-life, it's time to move network backups to proper SMB.
If you run a FreeBSD server, you can build a fast, rock-solid, and secure Time Machine target powered by ZFS and Samba - neatly isolated inside a FreeBSD jail using Bastille.
https://it-notes.dragas.net/2026/01/28/time-machine-freebsd-jail/
Keep your macOS backups running smoothly via SMBv3 (with full vfs_fruit support) and full dataset quota control on ZFS!
#FreeBSD #macOS #TimeMachine #ZFS #BastilleBSD #Samba #SysAdmin #Backup #OwnYourData #SelfHosted #BSD #RunBSD #OwnYourData
With Apple phasing out AFP in macOS 27 and Time Capsules officially reaching end-of-life, it's time to move network backups to proper SMB.
If you run a FreeBSD server, you can build a fast, rock-solid, and secure Time Machine target powered by ZFS and Samba - neatly isolated inside a FreeBSD jail using Bastille.
https://it-notes.dragas.net/2026/01/28/time-machine-freebsd-jail/
Keep your macOS backups running smoothly via SMBv3 (with full vfs_fruit support) and full dataset quota control on ZFS!
#FreeBSD #macOS #TimeMachine #ZFS #BastilleBSD #Samba #SysAdmin #Backup #OwnYourData #SelfHosted #BSD #RunBSD #OwnYourData
🔹 Plus de choix matériel : Idéal pour diversifier vos serveurs ou tester de nouvelles architectures.
Une excellente nouvelle pour réduire la consommation d'énergie sans sacrifier les fonctionnalités !
📖 Pour lire le communiqué officiel complet : https://www.proxmox.com/en/about/company-details/press-releases/proxmox-virtual-environment-launches-official-arm64-support
#Proxmox #ARM64 #OpenSource #Virtualisation #Linux #SysAdmin
Moin. Im letzten Beitrag ging es darum, wie ich meinen OpenPGP-Schlüssel an Domain, GitHub und Matrix gebunden habe, also um die Frage, woher eigentlich irgendwer wissen soll, dass dieser Schlüssel mir gehört. Ganz am Ende stand dort die Ankündigung eines zweiten Teils: wie das Ding überhaupt gebaut ist und wie sicher es wirklich ist. Der Teil ist jetzt hier.
Der Beitrag hat zwei Hälften, und die kannst du unabhängig voneinander lesen. Teil A ist ein Rezept. Wenn du einen Schlüssel nach demselben Muster bauen willst, arbeitest du dich von oben nach unten durch, inklusive der kompletten GnuPG-Konfiguration, alles kopierbar und in der richtigen Reihenfolge. Teil B erklärt, was die einzelnen Bauteile bedeuten, und endet mit einer ehrlichen Einschätzung, wie sicher das alles am Ende ist.
Der eigentliche Grund, warum ich das aufschreibe, ist aber ein anderer. Zwischen „mein Schlüssel ist modern“ und „mein Schlüssel ist richtig konfiguriert“ liegt eine Lücke, und in die bin ich mit Anlauf hineingesprungen. Der Schlüssel ist Lehrbuch: Ed25519, ein Hauptschlüssel, der ausschließlich zertifiziert, drei getrennte Unterschlüssel, fünf Jahre Laufzeit, über sieben Kanäle veröffentlicht, dazu eine eID-Zertifizierung. Und trotzdem wurde er vom ersten Tag an schwächer angesprochen als der Schlüssel, den er ablöst.
Aufgefallen wäre das niemandem, und genau das ist der interessante Teil. Das einzige Symptom war eine Warnzeile auf dem Terminal von jemandem, der mir eine verschlüsselte Mail schreibt. Also auf einem Rechner, den ich nie zu Gesicht bekomme. Und die Ursache war ausgerechnet eine Härtungsmaßnahme, die ich in bester Absicht eingebaut hatte, um einen musealen Algorithmus loszuwerden. Härtung, die etwas leise verschlechtert, finde ich als Geschichte deutlich spannender als noch eine Schlüsselerzeugungsanleitung. Nachbauen kannst du das übrigens in zwei Minuten, das Labor dazu steht weiter unten.
Bestandteil
Wert
Hauptschlüssel
ed25519 0x893DE0CDDE986DEB, Verwendung [C], also nur zertifizieren
Fingerabdruck
45FC D081 ADB5 4872 EA5B 06B9 893D E0CD DE98 6DEB
Signatur-Unterschlüssel
ed25519 0xD788641D8588A674
Verschlüsselungs-Unterschlüssel
cv25519 0x429D03637892821A
Authentisierungs-Unterschlüssel
ed25519 0x22F2E3234664DDBE
UIDs
Sebastian van de Meer, dazu eine Foto-UID mit 10851 Byte
Gültigkeit
erzeugt am 24.07.2026, läuft am 23.07.2031 ab
Vorgänger
ed25519 0x5F279C362EEAB216, gültig bis 31.12.2026, zeichnet den neuen gegen
Fremdzertifizierung
Governikus/eID 0x5E5CCCB4A4BF43D7, Level 3
Umgebung
GnuPG 2.4.4, libgcrypt 1.10.3
Die Aufgabenteilung steht nicht nur in der Doku, die steht maschinenlesbar im Schlüssel selbst. Jede Bindungssignatur trägt ein Feld mit Schlüssel-Flags, und das sieht bei mir so aus:
primary key flags: 01 certify [S] key flags: 02 sign [E] key flags: 0C encrypt communications + encrypt storage [A] key flags: 20 authenticate
Teil A ist der Ablauf, den ich für richtig halte, und bis auf die markierten Stellen genau der, den ich gegangen bin. Dort, wo der Befehl unten besser ist als das, was ich damals getippt habe, steht ein Hinweis dazu.
gpg --version # gpg (GnuPG) 2.4.4 # libgcrypt 1.10.3
GnuPG 2.4.x ist die Annahme für den ganzen Beitrag. Zwei Dinge gleich vorweg, weil sie sonst später wehtun:
--quick-generate-key verweigert den Dienst, wenn die UID bereits auf einem anderen Schlüssel im Schlüsselbund existiert. Genau deshalb ist dieser Schlüssel über eine Parameterdatei mit --batch --gen-key entstanden. Das trifft dich zuverlässig genau dann, wenn du einen Schlüssel rotierst, also in dem Moment, in dem der alte noch da ist.Wenn du bei GPG ganz am Anfang stehst, sind die Grundlagen zum Signieren und Verschlüsseln hier im Blog der bessere Einstieg. Dieser Beitrag setzt voraus, dass du weißt, was ein öffentlicher Schlüssel und ein Unterschlüssel sind.
Und zwar wirklich vorher, nicht hinterher. Mein ~/.gnupg war in einem Zustand, den ich hier nur ungern zugebe.
chmod 700 ~/.gnupg
find ~/.gnupg -type f -exec chmod 600 {} +
# Erst alle GnuPG-Frontends schließen und die Daemons beenden, sonst löschst du
# unter Umständen echte, aktive Locks:
gpgconf --kill all
# Übriggebliebene Lock-Dateien abgestürzter Läufe. Bei mir waren es 93 Stück.
find ~/.gnupg -name '.#lk*' -delete
# Altlasten, die keine 2.4er Installation mehr braucht
mkdir -p ~/gnupg-attic-$(date +%F)
mv ~/.gnupg/{cert8.db,key3.db,secmod.db} ~/gnupg-attic-$(date +%F)/ 2>/dev/nullEin ~/.gnupg mit 775 und Dateien mit 664 ist erschreckend verbreitet, und ich will das gar nicht größer machen als es ist: Auf einem Einzelplatzrechner ist das keine Katastrophe. Es wird aber genau in dem Moment eine, in dem das Home-Verzeichnis in ein Backup, in einen Container-Mount oder in einen synchronisierten Ordner wandert. Und das passiert schneller, als man denkt.
Das ist die tatsächlich laufende Konfiguration, so wie sie bei mir liegt, mit ihren Originalkommentaren. Der Block mit dem Warnhinweis ist die wichtigste Stelle im gesamten Beitrag, warum, steht in Teil B.
# ---- UX / output ---- keyid-format 0xlong with-fingerprint with-subkey-fingerprint utf8-strings # ---- Key discovery (local first, then WKD/DANE; email-validated keyserver last) ---- auto-key-retrieve auto-key-locate local,wkd,dane,keyserver keyserver hkps://keys.openpgp.org # ---- Strong defaults ---- # cipher-algo / digest-algo are intentionally NOT forced: forcing them would override # the recipient's stated capabilities. personal-*-preferences below select strong # algorithms interoperably instead. cert-digest-algo SHA512 # ---- KDF hardening for passphrase-derived symmetric keys (gpg -c / key export) ---- s2k-mode 3 s2k-digest-algo SHA512 s2k-cipher-algo AES256 s2k-count 65011712 # ---- WARNING. Legacy ciphers: do NOT disable 3DES here ---- # An earlier version of this file carried: # disable-cipher-algo 3DES # disable-cipher-algo IDEA # disable-cipher-algo CAST5 # disable-cipher-algo BLOWFISH # disable-cipher-algo TWOFISH # The 3DES line alone silently strips ALL algorithm preferences from every key you # generate while it is active, and it also blocks DECRYPTION of old archives. # New encryption never selects a legacy cipher anyway, because # personal-cipher-preferences lists AES only. # ---- Privacy / minimal metadata ---- no-comments no-emit-version export-options export-minimal # ---- Listing/verification quality-of-life ---- verify-options show-uid-validity list-options show-uid-validity # ---- Trust model ---- trust-model tofu+pgp # ---- Your key ---- default-key 0x45FCD081ADB54872EA5B06B9893DE0CDDE986DEB # hidden-encrypt-to 0x45FCD081ADB54872EA5B06B9893DE0CDDE986DEB # optional, off # ---- Local policy: what *you* prefer when sending ---- personal-cipher-preferences AES256 AES192 AES personal-digest-preferences SHA512 SHA384 SHA256 weak-digest SHA1 force-ocb # ---- Preferences baked into keys you create from here on ---- default-preference-list SHA512 SHA384 SHA256 AES256 AES192 AES ZLIB BZIP2 ZIP Uncompressed
Zwei Zeilen darin sind Entscheidungen und keine Selbstverständlichkeiten, deshalb je ein Satz dazu.
force-ocb ist keine Präferenz, sondern eine Erzwingung. Es sorgt dafür, dass ausgehende Nachrichten die OCB-Variante aus der LibrePGP-Linie benutzen, und setzt sich dabei über das hinweg, was der Empfängerschlüssel ankündigt. Sehr alte oder anders implementierte Empfänger können solche Nachrichten nicht lesen. Das steht in einer gewissen Spannung zu dem Prinzip ein paar Zeilen weiter oben, wo ich cipher-algo bewusst nicht erzwinge. Für mich ist das in Ordnung, in einer Konfiguration zum Abschreiben würde ich die Zeile weglassen.auto-key-retrieve holt unbekannte Schlüssel beim Prüfen automatisch nach. Sehr bequem, und es verrät dem Keyserver, welche signierten Nachrichten du wann liest. Für mich ein akzeptabler Tausch, bei einem anderen Bedrohungsmodell schaltest du das besser ab.Dazu die beiden kleinen Geschwisterdateien. gpg-agent.conf:
enable-ssh-support default-cache-ttl 180 max-cache-ttl 600 pinentry-program /usr/bin/pinentry-gnome3
Und dirmngr.conf:
honor-http-proxy disable-ldap
Ein Hauptschlüssel, der nur zertifiziert, über eine Parameterdatei. Die Zeile Preferences: war in meinem echten Lauf nicht drin, nimm sie mit. Sie kostet nichts und fängt genau den Fehler ab, um den es in Teil B geht. Das ist keine Vermutung, ich habe es nachgemessen: Mit dieser Zeile bleiben die Präferenzen selbst dann im Schlüssel, wenn die defekte Konfiguration aktiv ist. Die eigentliche Kontrolle bleibt trotzdem der Paket-Dump gleich darunter, denn eine Parameterdatei ersetzt nie die Prüfung des fertigen Artefakts.
cat > keyparams.txt <<'EOF' Key-Type: eddsa Key-Curve: Ed25519 Key-Usage: cert Name-Real: Sebastian van de Meer Name-Email: kernel-error@kernel-error.com Expire-Date: 5y Preferences: AES256 AES192 AES SHA512 SHA384 SHA256 ZLIB BZIP2 ZIP Uncompressed %ask-passphrase %commit EOF gpg --batch --gen-key keyparams.txt shred -u keyparams.txt
Und jetzt sofort nachsehen, ob die Präferenzen auch wirklich im Schlüssel gelandet sind. Genau diese Prüfung fehlte bei mir im Juli, und deshalb steht sie hier direkt hinter der Erzeugung und nicht irgendwo weiter unten.
gpg --export kernel-error@kernel-error.com | gpg --list-packets | grep -E 'pref-|features'
Du willst dort pref-sym-algos, pref-hash-algos, pref-zip-algos und ein features mit gesetztem Bit 0x01 sehen. Wenn dort nur eine features-Zeile steht und sonst nichts, dann hör hier auf und lies erst den Abschnitt über den Defekt in Teil B. Dann stimmt etwas mit deiner Konfiguration nicht, und der Schlüssel trägt den Fehler ab sofort dauerhaft mit sich herum.
Zum shred oben noch ein Wort, weil es sonst falsche Sicherheit erzeugt: Es entfernt die sichtbare Arbeitsdatei, mehr nicht. Auf SSDs, auf ZFS, bei Snapshots und auf journalenden Dateisystemen ist damit überhaupt nicht garantiert, dass keine alten Blöcke mehr herumliegen. Solche Zwischendateien sollten deshalb von vornherein nur auf einem verschlüsselten Dateisystem entstehen.
Interaktives --quick-add-key ist mir in einer nicht-interaktiven Shell mit einem /dev/tty-Fehler um die Ohren geflogen. Mit --batch läuft es durch.
FPR=45FCD081ADB54872EA5B06B9893DE0CDDE986DEB gpg --batch --quick-add-key $FPR ed25519 sign 5y gpg --batch --quick-add-key $FPR cv25519 encr 5y gpg --batch --quick-add-key $FPR ed25519 auth 5y
240×288 Pixel, Graustufen-JPEG, 10851 Byte. Halt das Bild klein, es reist in jedem vollständigen Export mit und ist der mit Abstand größte Posten in der Schlüsselgröße.
gpg --edit-key $FPR > addphoto > /pfad/zu/sebastian-photo-uid.jpg > save
Eine Sache dazu, die man vorher wissen sollte: Keiner der drei Keyserver, die ich benutze, hat die Foto-UID nach dem Upload je wieder herausgerückt. Für jeden Keyserver da draußen lege ich die Hand nicht ins Feuer, für die drei, auf die es ankommt, schon. Das Bild überlebt damit nur auf den Kanälen, die ich selbst hoste. Damit ist die Foto-UID Dekoration und keine Funktion. Das ist ein völlig legitimer Grund, sie trotzdem mitzunehmen, man sollte sich nur nichts vormachen.
Zwei Dinge müssen existieren, bevor der Schlüssel irgendwo landet: ein Backup des geheimen Schlüssels und ein Widerrufszertifikat. Beides später nachzuholen ist der Klassiker, den man genau einmal bereut.
gpg --export-secret-keys --armor $FPR > secret-key-backup.asc gpg --output revoke.asc --gen-revoke $FPR
Ein Widerrufszertifikat legt GnuPG bei der Erzeugung ohnehin schon selbst unter ~/.gnupg/openpgp-revocs.d/<FPR>.rev ab. Das Backup dagegen ist erst dann eines, wenn du es einmal zurückgespielt hast. Also rein damit in ein Wegwerf-GNUPGHOME und nachsehen, ob der geheime Hauptschlüssel dort auch wirklich auftaucht und nicht bloß die Datei lesbar war. Danach wandern beide auf Offline-Medien.
RESTORE=$(mktemp -d); chmod 700 "$RESTORE" gpg --homedir "$RESTORE" --import secret-key-backup.asc gpg --homedir "$RESTORE" --with-subkey-fingerprint --list-secret-keys $FPR rm -rf "$RESTORE"
Wichtig, weil es ein sehr verbreitetes Missverständnis ist: Der s2k-*-Block aus der gpg.conf betrifft den passphrasenbasierten Schutz, also etwa gpg -c und den Export. Er sagt nichts darüber aus, wie der geheime Schlüssel in ~/.gnupg auf der Platte geschützt ist. Darum kümmert sich der gpg-agent mit eigenen Parametern, und bereits vorhandenes Schlüsselmaterial wird durch eine geänderte gpg.conf nicht rückwirkend neu verpackt. Wer die beiden verwechselt, glaubt an eine Härtung, die an dieser Stelle gar nicht wirkt. Was tatsächlich in deinem Backup steht, siehst du wie immer am Artefakt selbst, per gpg --list-packets secret-key-backup.asc.
Jetzt kommt der Schritt, der die ganze Aufteilung von oben überhaupt erst einlöst. Der Hauptschlüssel hat im Alltag nichts verloren. Gebraucht wird er nur, wenn ein Unterschlüssel verlängert, ersetzt oder widerrufen wird, wenn eine UID dazukommt oder wenn du einen fremden Schlüssel zertifizierst. Also fliegt sein geheimer Teil vom Arbeitsrechner herunter, und zwar genau jetzt, nachdem Backup und Widerrufszertifikat existieren und nicht vorher.
# nur die Unterschlüssel exportieren, ohne den geheimen Hauptschlüssel gpg --export-secret-subkeys --armor $FPR > subkeys.asc # das gesamte geheime Material aus dem Alltags-Keyring werfen gpg --delete-secret-keys $FPR # und danach ausschließlich die Unterschlüssel zurückholen gpg --import subkeys.asc shred -u subkeys.asc
Kontrolliert wird das an einem einzigen Zeichen:
gpg -K # sec# ed25519/0x893DE0CDDE986DEB # ssb ed25519/0xD788641D8588A674 # ssb cv25519/0x429D03637892821A # ssb ed25519/0x22F2E3234664DDBE
Das Doppelkreuz hinter sec ist der ganze Punkt. Es bedeutet: GnuPG kennt den Hauptschlüssel, hat sein geheimes Gegenstück aber nicht mehr. Signieren, Entschlüsseln und Authentisieren laufen unverändert weiter, dafür sind die Unterschlüssel zuständig. Was nicht mehr geht, ist alles, was die Identität selbst betrifft, also neue Unterschlüssel anlegen, Laufzeiten verlängern, UIDs ergänzen und fremde Schlüssel zertifizieren.
Der geheime Hauptschlüssel liegt ab hier zusammen mit dem Widerrufszertifikat auf verschlüsseltem Wechselmedium. Wenn ich ihn brauche, kommt er ausdrücklich nicht zurück nach ~/.gnupg, sondern in ein temporäres GNUPGHOME, das hinterher wieder verschwindet.
Ein Detail dabei ist wichtig genug für einen eigenen Absatz, weil es sonst still danebengeht: Das Offline-Backup ist ein Schnappschuss. Es entstand oben, bevor der alte Schlüssel gegengezeichnet hat und bevor die Governikus-Zertifizierung da war. Diese Fremdsignaturen hängen am öffentlichen Teil, der im Alltags-Keyring liegt, nicht im Backup. Wer nur das Backup einspielt und dort arbeitet, exportiert hinterher einen Schlüssel, dem genau diese Signaturen fehlen. Also immer beides einspielen:
# aktuellen öffentlichen Stand samt Fremdsignaturen aus dem Alltags-Keyring mitnehmen gpg --armor --export-options no-export-minimal --export $FPR > /tmp/pub-aktuell.asc export GNUPGHOME=$(mktemp -d); chmod 700 "$GNUPGHOME" trap 'rm -rf "$GNUPGHOME"' EXIT HUP INT TERM # auch bei Abbruch aufräumen gpg --import /media/offline/secret-key-backup.asc gpg --import /tmp/pub-aktuell.asc # hier die Arbeit am Schlüssel, etwa eine Laufzeit verlängern gpg --armor --export-options no-export-minimal --export $FPR > /tmp/pub-neu.asc rm -rf "$GNUPGHOME"; unset GNUPGHOME
Danach importierst du die aktualisierte öffentliche Hälfte in den Alltags-Keyring und rollst sie über alle Veröffentlichungskanäle aus. Das ist unbequem. Es soll unbequem sein, denn genau diese Unbequemlichkeit ist der Grund, warum der Hauptschlüssel selten angefasst wird und deshalb schwer zu verlieren ist.
Ein weicher Übergang statt einer harten Kante: Der alte Schlüssel bleibt bis zu seinem Ablauf gültig und zertifiziert den neuen. Wer dem alten Schlüssel schon vertraut, bekommt damit einen kryptografischen Pfad zum neuen, ohne mich irgendwo anrufen zu müssen.
gpg --default-key 0x5F279C362EEAB216 --sign-key $FPR
Das ist ein eigenes Thema, deshalb hier nur zusammengefasst: Governikus ist nach meinem Stand vom August 2026 der einzige mir bekannte noch aktive Dienst in Deutschland, der OpenPGP-Schlüssel über die Online-Ausweisfunktion zertifiziert. Du schickst deinen öffentlichen Schlüssel hin, weist dich mit dem Personalausweis aus und bekommst eine Zertifizierung mit Level 3 zurück. Die Volksverschlüsselung fällt als Alternative aus, die macht ausschließlich S/MIME nach X.509, erzeugt die Schlüssel selbst und wird ohnehin eingestellt.
Strukturell wichtig für den Rest des Beitrags ist nur ein Punkt: Diese Zertifizierung ist eine Fremdsignatur. Und die Hälfte meiner Veröffentlichungskanäle wirft Fremdsignaturen weg. Warum, steht gleich.
Das ist der Teil, den fast alle Anleitungen überspringen, und ausgerechnet hier fallen die echten Entscheidungen. Vier verschiedene Exporte desselben Schlüssels für vier verschiedene Jobs, mit den gemessenen Größen der Artefakte, die tatsächlich ausgeliefert werden:
Artefakt
Befehl
Größe
Inhalt
minimal, ASCII
gpg --armor --export $FPR
16772 B
1 UID plus Foto, 3 Unterschlüssel, 5 Signaturen
vollständig, ASCII
gpg --armor --export-options no-export-minimal --export $FPR
17833 B
zusätzlich 3 Fremdsignaturen, also 8 Signaturen
WKD, binär
gpg --no-armor --export-options no-export-minimal --export $FPR
13108 B
wie vollständig, nur binär
DANE, binär minimal
siehe unten
1298 B
1 UID, kein Foto, 4 Signaturen
Alle vier Befehle habe ich gegen die live ausgelieferten Dateien geprüft, sie reproduzieren die Artefakte byteidentisch, sha256 stimmt jeweils überein. Du kannst sie also so übernehmen.
Und jetzt die fiese Falle. In meiner gpg.conf steht global export-options export-minimal. Export-Optionen summieren sich, sie ersetzen einander nicht. --export-options export-clean hebt export-minimal also nicht auf. Du bekommst weiterhin einen minimalen Export, still und ohne Warnung, mit weggeworfenen Fremdsignaturen. Nur die ausdrückliche Verneinung funktioniert:
gpg --export-options export-clean --export $FPR | gpg --list-packets | grep -c '^:signature packet:' # 5, immer noch minimal gpg --export-options no-export-minimal --export $FPR | gpg --list-packets | grep -c '^:signature packet:' # 8, korrekt
Das ist genau die Sorte Fehler, bei der du fest davon überzeugt bist, einen Schlüssel mit allen Signaturen veröffentlicht zu haben, während in Wahrheit die eID-Zertifizierung nie das Haus verlassen hat.
Die zweite Stolperfalle beim Export: export-minimal wirft zwar Fremdsignaturen weg, behält aber die Foto-UID. Für den DANE-Record muss auch das Bild raus, sonst wächst der Record von rund einem Kilobyte auf gute zwölf. Dieser Befehl hat den ausgelieferten Record mit 1298 Byte erzeugt:
gpg --no-armor --export-options export-minimal --export-filter keep-uid='mbox = kernel-error@kernel-error.com' --export $FPR > openpgpkey.bin
Zwei Anmerkungen noch zu den Formaten, weil sich in der 2.4er Reihe etwas geändert hat:
--print-dane-records gibt es nicht mehr. Der Nachfolger heißt --export-options export-dane.export-dane liefert einen fertigen DNS-Präsentationsblock, also $ORIGIN, Kommentarzeilen und generische TYPE61-Rdata, bei mir 25642 Byte. Das ist kein binäres Schlüsselmaterial. Zum Lesen ist es praktisch, der ausgelieferte Record entstand aber aus dem binären Export oben plus base64 -w0 openpgpkey.bin. Beide Wege sind gültige Zonefile-Syntax, RFC 7929 definiert die base64-Präsentationsform und RFC 3597 die generische TYPE61-Form, BIND frisst beides. Der Einzeiler passte einfach besser in meine bestehende Zone.Sieben Kanäle, und jeder existiert aus einem anderen Grund. Das „warum“ ist dabei die interessantere Hälfte:
Kanal
Format
Warum dieser Kanal
keys.openpgp.org
voll hochgeladen, Server wirft Signaturen und Foto weg
der einzige Keyserver, der die Mailadresse validiert, und der, den moderne Clients abfragen
keyserver.ubuntu.com
voll
klassischer SKS-Nachfolger, behält Fremdsignaturen
pgpkeys.eu
voll
zweiter Klassiker, Redundanz
DANE / OPENPGPKEY
minimal binär, 1298 B
Vertrauen hängt an DNSSEC statt an einem Signaturgraphen, muss klein bleiben, es ist ein DNS-Record
WKD advanced
kein eigener Export, CNAME auf wkd.keys.openpgp.org
spiegelt keys.openpgp.org automatisch, lässt sich hier nicht selbst hosten
WKD direct (Apex)
voll binär, 13108 B
selbst gehostet, deshalb die einzige Stelle mit Foto und Fremdsignaturen
security.txt und Direktdownload
voll ASCII, 17833 B
auffindbar für Menschen und für Scanner
Zwei abgeleitete Namen tauchen dabei auf, und die werden regelmäßig falsch gebildet. Beide habe ich unabhängig nachgerechnet, sie stimmen mit dem überein, was ausgeliefert wird:
# WKD: z-base32 des SHA-1 vom lokalen Teil, ASCII-Großbuchstaben vorher klein gemacht
# sha1("kernel-error") -> z-base32 -> 3gyjbxx9xfdggpkmx5qdd793xy431w5u
gpg --with-wkd-hash -k kernel-error@kernel-error.com
# DANE (RFC 7929): SHA-256 des kanonisierten UTF-8-Lokalteils, auf 28 Oktette gekürzt,
# hex-kodiert, dann ._openpgpkey.<domain>
# 70e1c7d87e825b3aba45e2a478025ea0d91d298038436abde5a4c2d0._openpgpkey.kernel-error.comZwei Präzisierungen, damit hier keine Regel steht, die breiter ist als die Spezifikationen: WKD bildet ASCII-Großbuchstaben auf Kleinbuchstaben ab, das ist kein allgemeines Unicode-Lowercasing. Und DANE übernimmt diese Abbildung nicht einfach, RFC 7929 hat seine eigene Kanonisierung des lokalen Teils. Bei mir fallen beide zusammen, weil kernel-error schon reines Kleinbuchstaben-ASCII ist. Genau deshalb ist mir der Unterschied nie begegnet. Wer einen Lokalteil mit Großbuchstaben oder Nicht-ASCII hat, darf die beiden auf keinen Fall gleichsetzen.
Und weil ich schon dabei bin, mich zu blamieren: Bei einem früheren Review habe ich DANE als „fehlt“ markiert, weil ich den z-base32-Namen aus WKD gegen das DNS geprüft habe. Also den falschen Namen. DANE lief die ganze Zeit. Wenn du deinen eigenen Aufbau prüfst, prüfe bitte den Namen, den die jeweilige Spezifikation vorschreibt, und nicht den, den du gerade im Kopf hast. Wie man einen OPENPGPKEY-Record überhaupt in die Zone bekommt und wie man die Zone dafür mit BIND signiert, steht hier im Blog.
Eine Konsequenz aus der Tabelle überrascht die Leute regelmäßig, deshalb schreibe ich sie deutlich hin:
Die Governikus-Zertifizierung ist nur auf den klassischen Keyservern und auf den selbst gehosteten Kopien sichtbar. keys.openpgp.org wirft sie weg, und gpg bevorzugt die WKD-advanced-Methode, die wiederum auf keys.openpgp.org zeigt. Der Kanal, den die meisten Clients benutzen, ist also ausgerechnet der mit den wenigsten Signaturen.
Der letzte Schritt in Teil A, und der wichtigste: Hol dir deinen eigenen Schlüssel so, wie es jemand tut, der dich nicht kennt. Einmal pro Suchpfad, jedes Mal in einem frischen Schlüsselbund.
# den Schlüssel holen wie ein Fremder, einmal pro Lookup-Pfad for m in dane wkd keyserver; do GNUPGHOME=$(mktemp -d) gpg --auto-key-locate clear,$m --locate-external-keys kernel-error@kernel-error.com done # welche Präferenzen bewirbt der Schlüssel tatsächlich? gpg --export $FPR | gpg --list-packets | grep -E 'pref-|features' # welchen Cipher wählt ein Absender wirklich? gpg --status-fd 1 -d message.gpg | grep DECRYPTION_INFO
Damit endet das Rezept. Ab hier geht es darum, was die Teile bedeuten, und um die Frage, wie sicher der Aufbau am Ende wirklich ist.
Wenn du bis hierher gekommen bist, hast du ein funktionierendes Rezept. Was du noch nicht hast, ist ein Gefühl dafür, warum die Teile so und nicht anders geschnitten sind, und wo der Aufbau trotz allem nachgibt. Genau darum geht es jetzt, und zwar in dieser Reihenfolge: erst die Struktur, dann die Zahlen, dann der Fehler und am Ende die Rechnung ohne Schönfärberei.
Der Hauptschlüssel hat genau eine Aufgabe: zu sagen, wer zu diesem Schlüssel gehört. Er signiert die UIDs und er signiert die Unterschlüssel. Er signiert nie eine Mail und entschlüsselt nie irgendetwas. Alles Operative ist delegiert:
[C] certify Identitätsanker. Wird selten benutzt. Eine Kompromittierung ist
nicht reparierbar, ein Verlust nur über das Offline-Backup.
[S] sign Signieren im Alltag
[E] encrypt Entschlüsseln im Alltag
[A] auth Authentisierung, etwa als SSH-SchlüsselDer Gewinn: Ein kompromittierter oder ausgedienter Unterschlüssel lässt sich widerrufen und ersetzen, ohne die Identität anzufassen, ohne die gesammelten Fremdsignaturen zu verlieren und ohne den Fingerabdruck zu ändern, der an sieben Stellen veröffentlicht ist. Dass [S] und [E] getrennt sind, hat noch einen zweiten Grund: Sie haben unterschiedliche Lebenszyklen. Einen alten Signaturschlüssel zu vernichten ist harmlos. Einen alten Verschlüsselungsschlüssel zu vernichten heißt, dass du an dein Archiv nicht mehr herankommst.
Das Ganze zahlt sich allerdings nur aus, wenn du auch die Konsequenz ziehst: Der volle Nutzen dieser Aufteilung stellt sich erst ein, wenn der Hauptschlüssel offline liegt. Genau deshalb liegt er hier offline, auf verschlüsseltem Wechselmedium und zusammen mit dem Widerrufszertifikat. Er kommt nur heraus, wenn ein Unterschlüssel verlängert, ersetzt oder widerrufen werden muss, und dann in ein temporäres GNUPGHOME und nicht zurück in den Alltags-Keyring. Auf der Arbeitsmaschine liegen ausschließlich die drei Unterschlüssel. Ein Hauptschlüssel, der nur zertifiziert, aber trotzdem neben dem Mailclient herumliegt, ist am Ende nur Kosmetik.
Der [A]-Unterschlüssel existiert übrigens, ist aber bewusst nicht im gpg-agent für SSH verdrahtet, sshcontrol ist leer. Ich habe ihn erzeugt, um mir die Option offenzuhalten. Mehr ist es im Moment nicht.
Ein Punkt dazu, den du im Kopf behalten solltest, weil er gleich noch wichtig wird: 128 Bit klassische Sicherheit sind die Obergrenze dieses Schlüssels. Merk dir die Zahl. Sie ist der Grund, warum die AES-Geschichte weiter unten weniger dramatisch ist, als sie zunächst klingt.
Dieses Konzept muss sitzen, sonst funktioniert die Geschichte danach nicht. Vorweg ein Satz, den viele nie gehört haben: Eine OpenPGP-Nachricht ist immer hybrid. Der asymmetrische Teil, also dein Ed25519- und X25519-Material, verpackt ausschließlich einen zufällig erzeugten symmetrischen Sitzungsschlüssel. Die eigentlichen Nutzdaten verschlüsselt ein symmetrisches Verfahren, in der Regel AES. Der Fehler, um den es gleich geht, saß in dieser symmetrischen Hälfte.
Ein OpenPGP-Schlüssel trägt nämlich nicht nur öffentliche Schlüssel spazieren. Die Selbstsignatur jeder UID enthält Subpakete, die ankündigen, was der Besitzer verarbeiten kann:
hashed subpkt 11 (pref-sym-algos: 9 8 7) AES256, AES192, AES128 hashed subpkt 21 (pref-hash-algos: 10 9 8) SHA512, SHA384, SHA256 hashed subpkt 22 (pref-zip-algos: 2 3 1 0) ZLIB, BZIP2, ZIP, unkomprimiert hashed subpkt 34 (pref-aead-algos: 2) OCB, fehlt auf diesem Schlüssel hashed subpkt 30 (features: 05) Feature-Bits, siehe unten hashed subpkt 23 (keyserver preferences: 80) "no-modify"
Das features-Oktett ist die Stelle, an der ich mich in meinen eigenen Notizen vertan hatte, deshalb hier die Dekodierung. In der Linie, die GnuPG 2.4 implementiert, bedeuten die Bits des ersten Oktetts:
0x01 SEIPD-v1 mit Modification Detection Code (MDC) 0x02 AEAD 0x04 Unterstützung für das v5-Schlüssel- und Fingerabdruckformat
features 05 ist also 0x01 + 0x04, das heißt MDC und kein AEAD. features 07 wäre 0x01 + 0x02 + 0x04, und genau das bekommt ein Schlüssel, den GnuPG 2.4 mit Standardeinstellungen erzeugt. Der kaputte Zustand war features 04, also 0x04 ganz allein: weder MDC noch AEAD angekündigt.
Eine Versionsfußnote gehört dazu: Diese Bitbelegung und das Subpaket 34 stammen aus der LibrePGP-Linie, die GnuPG 2.4 umsetzt. RFC 9580 hat beides geändert, dort sind die AEAD-Präferenzen in Subpaket 39 umgezogen und das Feature-Modell wurde umgebaut. Diese Spaltung kommt weiter unten noch einmal zurück.
Wenn dir jemand etwas verschlüsselt, liest dessen GnuPG deine Präferenzliste und wählt daraus das stärkste Verfahren, das beide können. Das ist der ganze Mechanismus. Daraus folgen zwei Dinge, die den meisten Leuten gegen den Strich gehen:
personal-cipher-preferences schützen dich nicht. Die bestimmen, was du verschickst. Was Leute dir schicken, bestimmt allein das, was dein veröffentlichter Schlüssel ankündigt.Und wenn ein Schlüssel gar nichts ankündigt? Dann greift der Rückfall. RFC 4880 schreibt dafür 3DES vor, den verpflichtend zu implementierenden Algorithmus. Moderne GnuPG-Versionen landen dort allerdings nicht mehr: Seit der 2.3er Reihe verschlüsselt gpg grundsätzlich nicht mehr mit 64-Bit-Blockchiffren, dafür müsstest du ausdrücklich --allow-old-cipher-algos setzen. Der Rückfall endet deshalb bei AES-128. Nicht kaputt, aber eben auch nicht das, was der Schlüssel bekommen sollte.
Ein x-beliebiger Absender, der meinem brandneuen Schlüssel etwas verschlüsselt, sah das hier:
gpg: WARNING: cipher algorithm AES not found in recipient preferences gpg: AES.CFB encrypted data [GNUPG:] DECRYPTION_INFO 2 7 0 # 7 = AES128
Derselbe Absender, wenn er dem Schlüssel von 2023 schreibt, den der neue gerade ablöst:
[GNUPG:] DECRYPTION_INFO 2 9 0 # 9 = AES256
Der neue Schlüssel hatte überhaupt keine pref-sym-algos, keine pref-hash-algos und keine pref-zip-algos, dazu features 04 statt 05. Er wurde also schwächer angesprochen als sein Vorgänger, lautlos, und der einzige Hinweis darauf erschien auf einem Terminal, das jemand anderem gehört.
In meinen Arbeitsnotizen stand als Ursache: „mit einer --batch --gen-key-Parameterdatei ohne Preferences:-Zeile gebaut“. Das ist falsch. Eine Parameterdatei ohne diese Zeile erzeugt völlig ordentliche Präferenzen aus den eingebauten Defaults von GnuPG. Nachgeprüft, es kommt das hier heraus:
pref-sym-algos: 9 8 7 2 · pref-aead-algos: 2 · pref-hash-algos: 10 9 8 11 2 · features: 07
Die echte Ursache saß in der gpg.conf. Ich habe die Juli-Konfiguration in einem Wegwerf-Schlüsselbund nachgestellt, der Defekt war sofort wieder da. Danach habe ich die Datei halbiert, bis eine einzige Zeile übrig blieb:
Konfiguration im Test
Ergebnis
Juli-gpg.conf, unverändert
features: 04, gar keine pref-*
ohne disable-cipher-algo 3DES
pref-sym-algos: 9 8 7 2, features: 07
ohne alle disable-cipher-algo-Zeilen
pref-sym-algos: 9 8 7 2, features: 07
ohne cipher-algo AES256
weiterhin kaputt, features: 04
nur disable-cipher-algo 3DES vorhanden
kaputt, features: 04
disable-cipher-algo 3DES plus explizite Preferences:-Zeile
sauber, pref-sym-algos: 9 8 7, features: 05
disable-cipher-algo 3DES ist also notwendig und hinreichend, um den Defekt auszulösen. Eine Zeile, mehr nicht.
Der Mechanismus dahinter ist die eigentliche Pointe des ganzen Beitrags. 3DES ist in OpenPGP der verpflichtend zu implementierende Algorithmus, und in der Standardliste steht er auch sichtbar drin: pref-sym-algos: 9 8 7 2 endet auf der 2, und die 2 ist 3DES. Nimmst du GnuPG diesen einen Algorithmus lokal weg, verschwindet nicht nur er aus der Liste, sondern die Liste als Ganzes.
Beim Warum bleibe ich vorsichtig. Dass GnuPG intern keine gültige Liste mehr konstruieren kann und deshalb gar keine schreibt, ist die naheliegende Erklärung, beweisen lässt sie sich von der Kommandozeile aus nicht. Belegt ist der Auslöser, nicht der Code-Pfad dahinter. Der Effekt selbst ist dagegen eindeutig: Die Härtungszeile hat nicht einen schwachen Algorithmus aus der Liste entfernt, sie hat die komplette Liste entfernt. Und damit dafür gesorgt, dass Absender zurückfallen, und zwar auf etwas Schwächeres als das, was ich gerade weghärten wollte.
Zwei Minuten, kein echter Schlüssel wird angefasst, alles passiert in Wegwerf-Verzeichnissen unter /tmp. Wenn du mir nicht glaubst, ist das hier der schnellste Weg, es selbst zu sehen:
SP=$(mktemp -d)
mk() { # $1 = Name, $2 = bad|good
export GNUPGHOME="$SP/$1"; mkdir -p "$GNUPGHOME"; chmod 700 "$GNUPGHOME"
[ "$2" = bad ] && echo "disable-cipher-algo 3DES" > "$GNUPGHOME/gpg.conf"
cat > "$SP/p.txt" <<EOF
Key-Type: eddsa
Key-Curve: Ed25519
Key-Usage: sign
Subkey-Type: ecdh
Subkey-Curve: cv25519
Subkey-Usage: encrypt
Name-Real: Demo $1
Name-Email: $1@example.invalid
Expire-Date: 1y
%no-protection
%commit
EOF
gpg --batch --gen-key "$SP/p.txt" 2>/dev/null
gpg --export -a "$1@example.invalid" > "$SP/$1.asc"
}
mk nopref bad
mk withpref good
export GNUPGHOME="$SP/sender"; mkdir -p "$GNUPGHOME"; chmod 700 "$GNUPGHOME"
echo "auto-key-locate local" > "$GNUPGHOME/gpg.conf"
gpg -q --import "$SP"/*.asc
echo hi > "$SP/m.txt"
for r in nopref withpref; do
gpg --trust-model always --yes -e -r "$r@example.invalid" -o "$SP/$r.gpg" "$SP/m.txt"
printf '%-9s ' "$r:"
GNUPGHOME="$SP/$r" gpg -q -d "$SP/$r.gpg" 2>&1 | grep -i 'encrypted data'
doneBei mir kommt das hier heraus, und die eine Zeile Unterschied ist der ganze Defekt:
nopref: gpg: WARNING: cipher algorithm AES not found in recipient preferences
gpg: AES.CFB encrypted data
withpref: gpg: AES256.OCB encrypted dataDer Fix selbst ist unspektakulär, ein einziger Befehl im Editiermodus. Weil setpref die Selbstsignatur neu ausstellt, braucht er den Hauptschlüssel. Das Ganze läuft also einmal im temporären GNUPGHOME von weiter oben, mit dem Offline-Schlüssel und dem aktuellen öffentlichen Stand:
gpg --edit-key $FPR > setpref AES256 AES192 AES SHA512 SHA384 SHA256 ZLIB BZIP2 ZIP Uncompressed > y > save
Danach steht da pref-sym 9 8 7, pref-hash 10 9 8, pref-zip 2 3 1 0 und features 05. Der Fingerabdruck bleibt unverändert, und die Governikus-Zertifizierung, die Gegensignatur des alten Schlüssels, die Foto-UID und sämtliche Ablaufdaten überleben. Das schreibe ich so ausdrücklich hin, weil viele Leute Angst vor setpref haben und glauben, es beschädige den Schlüssel. Tut es nicht. Was es tut: Es stellt die Selbstsignatur neu aus. Und damit müssen anschließend alle sieben Veröffentlichungskanäle aufgefrischt werden.
Zur Sicherheit gleich hinterher: default-preference-list in der gpg.conf festgenagelt, und die disable-cipher-algo-Zeilen sind endgültig raus.
Hier will ich ehrlich sein statt dramatisch, sonst wird das hier auch nur wieder eine von diesen „ich habe einen Bug gefunden“-Geschichten.
AES-128 statt AES-256 ist real, aber überschaubar. AES-128 ist nicht gebrochen, es gibt keinen praktischen Angriff darauf. Und erinnere dich an die Zahl von weiter oben: Der asymmetrische Teil dieses Schlüssels liefert ohnehin rund 128 Bit klassische Sicherheit. Gemessen an der reinen Schlüsselsuche war AES-128 also nicht das schwächste Glied in der Kette, es hat lediglich mit dem Rest gleichgezogen. Über Implementierungsfehler, Seitenkanäle oder Protokollschwächen sagt dieser Vergleich nichts. Die faire Einordnung lautet: Das war ein Hygiene- und Signalisierungsfehler, keine ausnutzbare Schwachstelle. Bemerkenswert ist er, weil er lautlos war, automatisch passierte und von einer Härtungsmaßnahme verursacht wurde.
Das fehlende MDC-Bit sah schlimmer aus, als es war. features 04 heißt, dass das Bit 0x01 fehlte, mit dem ein Schlüssel Modification Detection ankündigt. Auf dem Papier lädt das einen Absender dazu ein, auf ein Paket ohne Integritätsschutz zurückzufallen, und das ist die Ecke, aus der EFAIL kam. Gemessen kam aber das hier heraus:
[GNUPG:] DECRYPTION_INFO 2 7 0 [GNUPG:] GOODMDC
Ein Absender mit GnuPG 2.4.x in Standardkonfiguration hat trotz des fehlenden Bits ein integritätsgeschütztes SEIPD-v1-Paket erzeugt und GOODMDC gemeldet. MDC ist dort schlicht immer an. Herauskommen aus dem Integritätsschutz muss man in dieser Version aktiv wollen, etwa über --rfc2440, das ausdrücklich den alten Modus ohne MDC erzeugt. Die tatsächliche Integritätslücke gegenüber einem 2.4.x-Absender mit Standardeinstellungen war damit null.
Diese Aussage gilt exakt so weit wie die Messung und keinen Meter weiter. Über andere Implementierungen oder ältere GnuPG-Versionen sagt sie nichts, und genau dort könnte ein fehlendes MDC-Signal im Prinzip sehr wohl noch eine Rolle spielen. „Kein aktueller Absender ist betroffen“ wäre schlicht gelogen, und irgendwer würde es nachprüfen.
Was wirklich Alarm verdient, ist keines von beiden für sich, sondern die Art des Versagens. Ein Schlüssel kann strukturell perfekt sein und trotzdem still auf den nackten Rückfallwert heruntergehandelt werden, ohne dass irgendwer etwas davon mitbekommt. Die einzige Diagnose erscheint auf einer Maschine, die dir nicht gehört. Weder gpg --list-keys noch --check-sigs noch irgendeine Keyserver-Seite zeigt dir das. Du musst dir Signatur-Subpakete ansehen, und das macht praktisch niemand.
Der reparierte Schlüssel steht bei features 05 und hat keine pref-aead-algos. Gemessen bedeutet das:
AES256.CFB encrypted data # reparierter Schlüssel, features 05 AES256.OCB encrypted data # frisch erzeugter Schlüssel, features 07 plus pref-aead-algos: 2
setpref hat das MDC-Bit zurückgeholt, aber nie eine AEAD-Ankündigung ergänzt, weil der Schlüssel aus dem kaputten Zustand heraus repariert und nicht neu erzeugt wurde. Nachrüsten ginge, setpref … OCB liefert pref-aead-algos: 2 und features 07, auch das habe ich geprüft.
Ich lasse es trotzdem so. AES256-CFB mit MDC ist solide. Vor allem aber ist AEAD genau die Stelle, an der OpenPGP derzeit auseinanderläuft: Das AEAD von GnuPG 2.4 folgt der LibrePGP-Linie, RFC 9580 spezifiziert eine andere Konstruktion namens SEIPD v2. AEAD auf einem breit veröffentlichten Schlüssel anzukündigen bringt heute eine marginale Verbesserung und ein echtes Interoperabilitätsrisiko. Wer sich für die andere Baustelle im selben Themenfeld interessiert: Was in einem modernen Handshake steckt, habe ich am Beispiel X25519MLKEM768 auseinandergenommen. Dasselbe Argument gilt übrigens für force-ocb in meiner lokalen Konfiguration, das betrifft nur, was ich selbst verschicke, und ist eine bewusst etwas vorwärtsgewandte Entscheidung.
Vier Punkte, und die gelten weit über OpenPGP hinaus:
gpg --batch --gen-key ist mit Rückgabewert 0 durchgelaufen und hat einen wunderschön aussehenden Schlüssel erzeugt. Sichtbar war der Defekt ausschließlich in --list-packets.mktemp -d und --locate-external-keys weiter oben da.Und die Kurzfassung für alle, die nur bis hierher gescrollt haben: Ein moderner Schlüssel ist nicht automatisch ein korrekt konfigurierter Schlüssel. Der Unterschied steckt in Signatur-Subpaketen, die dir kein einziges Standardwerkzeug von sich aus zeigt.
Wenn du deinen eigenen Schlüssel gerade nachgeprüft hast und dort etwas anderes steht als erwartet, oder wenn ich mich irgendwo irre, dann dürft ihr mich sehr gerne fragen.
Haack's Networking
🔗 Haack's Streams: https://content.haacksnetworking.org/w/p/45TVYa285E7AV4vZicuo7N
This is a bookmarked post of my live streams. This playlist is public - feel free to share and spread the word! The more the merrier ;)
#stream #linuxstreaming #streaming #sysadmin #opensource #floss #freesoftware #selfhosted #peertube
Haack's Networking
The PubGLUG Nextcloud is live and open for registration. All accounts are manually approved and users must be 18 years of age and/or older. This instance is a community effort and part of the greater set of offerings that Haack's Networking provides.
🔗 The PubGLUG Nextcloud: https://cloud.gnulinux.vip
🔗 All PubGLUG Services: https://haacksnetworking.dev
It is my hope that in offering a community Nextcloud with open and moderated registration ... that this will result in more users choosing #selfhosted and/or #floss offerings for groupware (contacts, calendars, etc.). Those interested in setup notes and/or seeking assistance are encouraged to come chat on Matrix (link above). This instance has the following features:
▶️ Server-side encryption ensures that content on External Storage will be encrypted whether users set it up or not
↪️ E2E encryption provides users an easy way to use the Nextcloud sync client to create shares that even the sysadmin cannot see
💾 Users are given 50GB of storage from a large btrfs platter-based pool; users may request more in DMs with valid use-cases; users may attach their own external storage.
🔦 This instance is designed to assist in pulling people off iCloud, Google, etc. and teach/persuade them how to self-host NC themselves
✨️This is early registration. Some policies are not yet finished, some bugs remain, and we might find that some things don't work. Please be patient. With that said, feel free to sign up and let me know when you've joined. We are at the mall all day, but I've got access for approvals on the phone.
✍️ By using this instance, you agree to the Terms of Service: https://cloud.gnulinux.vip/index.php/s/roioz485eNsYTPm
#sysadmin #gnulinux #debian #linuxstreaming #linux #gnulinux #freesoftware #opensource #selfhosted #music #stream #streaming #floss #nextcloud #privacy #encryption
Haack's Networking
🔗 https://content.haacksnetworking.org/w/ddXeefRJ8rw9zeUZRiiRg3
✍️ We are live folks ... the Nextcloud and Gitlab are done, email server is complete, and now just looking over smaller settings and performance. Set a new world record for stupid today when I actually installed two web servers on the Nextcloud using my own tutorial. The jokes literally write themselves ❣️
#sysadmin #gnulinux #debian #linuxstreaming #linux #gnulinux #freesoftware #opensource #selfhosted #music #stream #streaming #floss
I'm looking for a freelancer or org who can help me set two Ghost instances in one virtual server, with ActivityPub. Only setting up the instances and the server, I can handle the web administration.
I'm almost there with the first instance but at every step there is something, I'm not a sysadmin, and I'm losing my patience. 😅 I bet this is straightforward for someone with experience.
I can give you more details -- and see https://the.socialmusic.network/t/a-music-selection-idea-welcomes-your-feedback/854
I really don’t need any more peers for my AS201379! (Okay, maybe a few more...)
Started back in December 2025, and now this "little" infrastructure is running:
14 individual eBGP sessions
3 Internet Exchanges
Multiple transit providers
110+ direct peers
All 100% IPv6 (2a06:9801:1c::/48) because legacy IP belongs in the last century.
Powered entirely by FreeBSD
4 routers on 15.1-RELEASE running FRR and PF.
Haack's Networking
🔗 https://content.haacksnetworking.org/w/ddXeefRJ8rw9zeUZRiiRg3
✍️ We are live folks ... today's task is to setup the email server and to fine tune both the nextcloud and gitlab for public registration. Feel free to come by and chill. Sipping coffee, just finished breakfast. It's time to hack‼️
#sysadmin #gnulinux #debian #linuxstreaming #linux #gnulinux #freesoftware #opensource #selfhosted #music #stream #streaming #floss
Haack's Networking
🔗 https://content.haacksnetworking.org/w/ddXeefRJ8rw9zeUZRiiRg3
✍️ We are live folks ... finishing up the nextcloud, polishing up the VM, setting up storage. Fixing reported errors. Come on by, chat needs some love. Music and popcorn are free ❣️
#sysadmin #gnulinux #debian #linuxstreaming #linux #gnulinux #freesoftware #opensource #selfhosted #music #stream #streaming #floss
A few months ago, a client asked me to shave about €200 a month off our agreement. "We’re trying to cut back on expenses", he said, "to boost our cash flow." I was hesitant, but hey, I agreed.
Fast forward to this morning: one of his team members calls me asking for help because - and I quote - "both Claude and ChatGPT are giving me answers that just don't feel right."
I asked for a little context, only to find out they had upgraded to the top-tier plans for both AIs so they could "solve problems on their own without bothering me."
So, I dropped my client a line: we either revert to our original agreement, or we wrap up this collaboration effective immediately.
Asking me for a discount just to throw far more money at AI subscriptions - only to call me anyway when the bots fail - is, to say the least, a slap (or slop?) in the face.
A few days ago, a client’s data center (well, actually a server room) "vanished" overnight. My monitoring showed that all devices were unreachable. Not even the ISP routers responded, so I assumed a sudden connectivity drop. The strange part? Not even via 4G.
I then suspected a power failure, but the UPS should have sent an alert.
The office was closed for the holidays, but I contacted the IT manager anyway. He was home sick with a serious family issue, but he got moving.
To make a long story short: the company deals in gold and precious metals. They have an underground bunker with two-meter thick walls. They were targeted by a professional gang. They used a tactic seen in similar hits: they identify the main power line, tamper with it at night, and send a massive voltage spike through it.
The goal is to fry all alarm and surveillance systems. Even if battery-backed, they rarely survive a surge like that. Thieves count on the fact that during holidays, owners are away and fried systems can't send alerts. Monitoring companies often have reduced staff and might not notice the "silence" immediately.
That is exactly what happened here. But there is a "but": they didn't account for my Uptime Kuma instance monitoring their MikroTik router, installed just weeks ago. Since it is an external check, it flagged the lack of response from all IPs without needing an internal alert to be triggered from the inside.
The team rushed to the site and found the mess. Luckily, they found an emergency electrical crew to bypass the damage and restore the cameras and alarms. They swapped the fried server UPS with a spare and everything came back up.
The police warned that the chances of the crew returning the next night to "finish" the job were high, though seeing the systems back online would likely make them move on. They also warned that thieves sometimes break in just to destroy servers to wipe any video evidence.
Nothing happened in the end. But in the meantime, I had to sync all their data off-site (thankfully they have dual 1Gbps FTTH), set up an emergency cluster, and ensure everything was redundant.
Never rely only on internal monitoring. Never.
RE: https://gnulinux.social/@oemb1905/116637233695764799
Haack's Networking
🖼️ A wild NVIDIA RTX 2000 w/ 16GB and native AV1 transcoding support has arrived‼️
✍️ We are pleased to announce that we secured this excellent condition used GPU for the PeerTube instance. After @oemb1905 traveled up to Brown Rice Data Center and installed it and passed it through to the virtualized PT, Lord @sen took care of customizing the JSON for the ffmpeg logic and did some tinkering under the hood so that PT would be efficient in its choices. Efficient hardware AV1 transcoding is now live.
💡 We still have slots open for registration and the quoted post below shows our starting quotas and limits. More is available upon request or for justified use-cases. As a reminder, the GNUTube requires members to be posting either floss content and/or for supporting floss organizations. Linux gamers and benchmarkers are also welcome.
💰️ Already a satisified member and want to give back?
↪️ https://liberapay.com/oemb1905/
🔗 https://gnulinux.tube
#gaming #linuxgaming #opensource #selfhosted #sysadmin #peertube #av1 #transcoding #freesoftware #floss #debian
Le niveau ultime de l’automatisation ?
Quand tu reçois une notification Gotify pour une tâche de maintenance automatisée que tu avais toi-même codée… et que tu avais complètement oubliée ! 😂
Merci au "moi du passé" d'avoir pensé à tout. L'infra bosse pendant que je bosse !
#SysAdmin #Proxmox #Mastodon #Automation #SelfHosted
La suite du bilan : après les nœuds et les LXC Proxmox, c'est au tour de Watchtower de faire le ménage dans mes conteneurs. Ça tourne tout seul ! 🚀 🤖
#Proxmox #Linux #Automation #SelfHosted #SysAdmin
Premise: LLM-gen-AI is here to stay.
Therefore, gnulinux devs ultimately have two logical choices: a) reject OR b) accept. If you reject, you are ultimately - in my opinion - denying or encouraging the denial of helpful tooling for lower SES groups. Upper SES groups already have access to these tools ... choosing to abstain is a position derived from privilege. Lower SES groups need access and equity to the same tools that academic/elite circles have access to. This is why we need fully floss AI that's accessible, uses a non-token and non-gouging pricing model (or is free / donated), and relies on distributed leadership and community support/building. Also, green data centers ...
#ai #floss #freesoftware #opensource #sysadmin #debian #linux
L'automatisation sous Linux, c'est quand même une vraie merveille ! 😎
#Proxmox #Linux #Automation #SelfHosted #SysAdmin
Today, the Linuxulator did its job, and it did it very well.
A client is experimenting with moving from Docker to FreeBSD and jails, and they seem very happy with it so far.
The issue is that part of their build process - as so often happens - relies on Node dependencies that only compile on Linux, macOS, etc., but not on FreeBSD, due to a missing binary that isn't provided for it. Currently, they build on their local machines and push the output to the server, but sometimes they need to make quick changes on the fly.
So, I set up a Linux jail (Ubuntu) using BastilleBSD, installed the dependencies, set up a bind mount, and granted them access to the jail. The result: now they can compile right from there too, improving their overall workflow.
The Linuxulator - and even more so, illumos's lx zones - are truly remarkable pieces of technology.
#FreeBSD #Linux #RunBSD #illumos #SmartOS #OmniOS #Tribblix #Linux #IT #SysAdmin
🚨 CRITICAL: WordPress Core "wp2shell" RCE
A single anonymous HTTP request can lead to Remote Code Execution on vulnerable WordPress Core installations.
⚠️ No plugins.
⚠️ No themes.
⚠️ No authentication required.
Tracked as:
🔴 CVE-2026-63030 (REST API Batch Route Confusion → RCE)
🔴 CVE-2026-60137 (Facilitated SQL Injection)
Affected versions
• WordPress 6.9.0–6.9.4
• WordPress 7.0.0–7.0.1
✅ Update immediately to WordPress 6.9.5 or 7.0.2. Due to the severity, WordPress has enabled forced automatic security updates for affected installations.
🔗 Full technical analysis:
https://thecybersecguru.com/news/wordpress-core-rce-wp2shell/
#WordPress #WordPressSecurity #wp2shell #CVE202663030 #CVE202660137 #RCE #RemoteCodeExecution #SQLInjection #RESTAPI #CyberSecurity #InfoSec #WebSecurity #WebsiteSecurity #PatchNow #ThreatIntelligence #BlueTeam #SOC #Linux #PHP #ZeroDay #SecurityResearch #SysAdmin #DevSecOps
On 10 March 2021, I had only just fallen asleep when my phone started buzzing. Then another notification, and another. In a matter of minutes, 142 of my servers went up in the clouds. And not the cloud-computing kind.
Most of them were physically going up in a column of smoke in Strasbourg.
My wife looked at me and asked if I wanted a coffee. I nodded. It was going to be a very long day.
At EuroBSDCon 2026, I won't be giving a theoretical lecture on high availability. Instead, I’m going to tell the raw story of that night: the emergency recovery, the architectural choices that actually saved us, and the ones that crumbled under pressure (because we rarely talk about what fails).
Most of all, I’ll explain why that night changed my perspective, and why I’ve come to see BSD systems not just as operating systems, but as essential, practical tools for building simpler, more resilient infrastructure.
The official schedule is now live. If you want to hear a real-world post-mortem, join me on Saturday, 12 Sept at 11:15 (Room D.0.02).
EuroBSDCon Full schedule: https://events.eurobsdcon.org/2026/schedule/
See you there! ☕️
#FreeBSD #NetBSD #OpenBSD #DragonFlyBSD #RunBSD #EuroBSDCon #SysAdmin #SelfHosted #IT #EuroBSDCon2026 #BSDCon
Coté Source :
~614 487 IP sources : rappel, on est sûr du logiciel NON grand publique, un peu niche avec zéro contribution de dev externe a l'entreprise, ce qui est normale.
Si j'enlève les IP de l'infra (monitoring, jenkins, redmine) on enlève ~630 000 requêtes pour 6 IPs.
reste 2 500 000 requêtes et 614 481 IPs ...
~ 582 000 IPs, on fait moins de 10 requêtes (pour un total de 1754808 requêtes soit plus de 50%) dans les détails :
~ 257 998 IPs, on fait une seule requête pour un total de 257998.
36395 IPs, on fait seulement 2 requêtes pour un total de 72790
125627 IPs, on fait seulement 3 requêtes pour un total de 376881
28233 IPs, on fait seulement 4 requêtes pour un total de 112932
15122 IPs, on fait seulement 5 requêtes pour un total de 75610
60216 IPs, on fait seulement 6 requêtes pour un total de 361296
sinon on est ~ une trentaine (et pas tous dev) et en ce lundi de juillet, les bureaux parisiens (ou il y a pas grand monde ~ 3 personnes) ont fait environ 800 requêtes...
donc l'usage "légitime" sur la journée doit être ~ 30 000 requêtes (évaluation haute) soit 1% de l'usage. (bon l'infra compte pour 20% quand même 🙂 )
bref, on n'est pas sur les mêmes chiffres, mais on dépasse largement ton test.
Plusieurs point : l'url du git est ancienne (depuis plus de 10 ans) il y a eu quelques changements, mais globalement ce sont les mêmes urls.
De toute façon, c'est seulement depuis moins de 2 ans qu'on a un nombre de requêtes aussi importantes. Au point de déclencher des erreurs sur le monitoring et d'empêcher l'usage correct de la plateforme.
Je pense que les robots ne sont pas ceux des moteurs de recherche, ils ne parcourent pas internet à la recherche de page a indexé, mais plutôt des robots qui ciblent des URLS particulières " à forte valeur ajoutée" (des urls de code opensource accessible, super pour alimenter des IAs de code).
j'ai un nextcloud théière...
Si la réponse est oui, je pense que vous faites partie du problème, merci de ne plus me suivre.
et sinon vous, vous utilisez quoi ?
en tous cas ca a l'air d'un super poste !
why I can't remember that ??
may be because i use it only once in a year...
we need more crash server !!
Dirty Frag vient de sortir : une nouvelle faille Linux permettant une élévation locale de privilèges jusqu’à root via le page cache, xfrm/ESP et RxRPC.
J’ai écrit un article pour expliquer :
- ce que fait la faille
- pourquoi elle rappelle Dirty Pipe
- quoi vérifier sur ses serveurs
- quelles mitigations appliquer
bref prochain incident de prod prévu demain à 9:00 pour un autre client (ou pas, on verra bien).
#sysadmin
le champ des possibles est infini (ou presque)
Bon dimanche, prennez soin de vous et aujourd'hui surtout : faites vous plaisir !
Personnellement je n'ai pas cherché d'usage (j'ai essayé de lui faire écrire une PSSI un soir de désespoir... ca n'a pas été concluant)