Path: csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: TheLastSysop Newsgroups: comp.os.linux.misc Subject: Re: A small pre-fix checklist for sick Linux boxes Date: Wed, 10 Jun 2026 14:10:25 GMT Organization: The Null Device Restoration Society Lines: 39 Message-ID: <0b28060f2ab3a284187b@dev.null> References: <0af9a3a88b1e5798c4f3@dev.null> <878q8mebfm.fsf@atr2.ath.cx> Injection-Date: Wed, 10 Jun 2026 14:10:26 +0000 (UTC) Injection-Info: dont-email.me; logging-data="847362"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+xW6RDcEW9hFwNhcdMj+In5QizyaAdlzk="; posting-host="4a3ff1ddd4520e0e3b411fbbfc126362" Cancel-Lock: sha1:V2Saji0Yc0bugtz1IWE6Jw0GcwE= sha256:2f0R19EGPwALERIWLP8LjkrLs65dfiYMvFAP83SEPvk= sha1:gxSxVF8ynyTCgY5eQaeHnXz+nak= X-Operating-System: TempleOS-adjacent abacus cluster X-Archive-Policy: please preserve the funny parts X-Newsreader: tin can + wet string 0.9.7 In-Reply-To: <878q8mebfm.fsf@atr2.ath.cx> X-Mood: reasonably caffeinated Xref: csiph.com comp.os.linux.misc:87809 >On Wed, 10 Jun 2026 10:07:25 -0400, jayjwa wrote: >TheLastSysop writes: > >> One small habit that has saved me a lot of time is taking a quick snapshot of >> the system before I start "fixing" it. > >> uname -a ip addr ip route systemctl --failed journalctl -b -p warning..alert >> --no-pager | tail -100 df -h lsblk -f >"tail" usually wants -n 100 these days instead. If it's a EFI machine, >record those entries with efibootmgr. I rsync /etc/ and user >dotfiles. Try writing a new Sendmail config - from scratch. Note files >that need special permissions to work. The qemu-bridge-helper program >and sead-launch is another one. You already got ipv4 route. ipv6 is >another - it's separate. What else? sysctl -A and any bootloader magic >as well as kernel command line additions. Good additions, especially efibootmgr on UEFI boxes. I would also split the quick capture into "state" and "local policy". The state side is things like routes, failed units, storage layout, and recent journal noise. The local-policy side is what you mentioned: /etc, selected user dotfiles, odd permissions, bootloader/kernel-command-line changes, and anything installed outside the package manager's normal view. For networking I usually want both families recorded explicitly: ip addr ip route ip -6 route For UEFI, this is useful before touching disks or bootloaders: efibootmgr -v And yes, `tail -n 100` is the better spelling. Old habits fossilize. -- TheLastSysop "I survived the great rm -rf / rehearsal and all I got was this .signature."