Christian Lehnert — Linux, Hacking & Faith

tag: #linux

10 posts
1 month ago A Proxmox Hypervisor Down - Recovery, Postmortem, and the Hardening That Followed

This afternoon the primary Proxmox hypervisor in the homelab refused to boot. Several VMs went offline. Hours of recovery later, every service was back up and no VM data had been lost. This post is the writeup of what failed, what saved the data, and the three hardening layers that have been permanently added so that the next incident in this family does not reach the "blind boot from a serial console" stage.

#proxmox #linux #sysadmin #prometheus #recovery
1 month ago Separate Your Changes - The Kernel's Patch Rules Applied to LLM-Assisted Coding

The Linux kernel has had a written rule about commit hygiene since before the platforms most engineers use today existed. "Separate each logical change into a separate patch." The rule is currently being violated at an industrial scale by everyone using LLM assistants to write code, because the assistants produce sprawling multi-concern diffs by default. The kernel's discipline is the cleanest answer to the resulting mess, and it scales down to any project size.

#git #kernel #llm #linux
1 month ago Recovering Deleted Binaries from /proc

A binary deleted from disk while the process is still running is not actually gone. The kernel keeps the inode alive as long as the process holds it, and /proc/PID/exe is a real readable handle to it. You can copy a running program out of /proc and reconstruct it on disk byte for byte.

#tip-of-the-week #linux #bash #shell
< newer 2/5 older >