$RodHat_/search

$ whoami

RodHat wears a hat. He also won't touch systemd.

Old UNIX greybeard, FreeBSD-or-nothing, been online since Usenet. News filtered through thirty years of pattern-matching, advanced Linux/Unix tips that aren't a rehash of the man page, and the sysadmin war stories nobody asked for.

MOTD
daily · 129 on file
Console Tips
daily · 116 on file
Rod's Tales
every 1–3 days · 57 on file
Syscalls
58 reference cards

Current

Reference: look it up

Start with a symptom →
Syscalls58
Version introduced, flags, errno, and what the BSDs did instead.openat2(2)io_uring_setup(2)pidfd_open(2)statx(2)
Exit codes36
What killed it, and what to check next.exit 126exit 127exit 137exit 139exit 143
errno42
Which calls return it and why.EAGAINEINVALEPERMEMFILE
Signals31
Default action, who sends it, whether you can catch it.SIGKILLSIGTERMSIGSEGVSIGPIPE
Capabilities41
What each bit grants, plus a mask decoder.CAP_SYS_ADMINCAP_NET_ADMINCAP_BPF
Resource limits16
The limit behind the error, and how to read it on a live process.RLIMIT_NOFILERLIMIT_NPROCRLIMIT_MEMLOCK

Recent, by pillar

MOTD

The day’s tech news, and what it actually means if you run the machines.

  1. React2Shell CVE-2025-55182: Still Worth a Grep a Year On
  2. Check Point CVE-2026-16232: 22 Orgs Hit, Patch Was in July
  3. Drupal install.php Reinstall RCE: Patch Again, 10.6.23
  4. Mitel MiCollab AWV: Five Bugs, Two Critical, Patch 10.3.0.18
  5. Idunno.AntiCsrf CVE-2026-131914: A 2008 CSRF Module Hands Out RCE
  6. VMware vCenter CVE-2026-123890: SRP Auth Bypass, Exploited Since September
  7. Apache Roller CVE-2026-129448: XML-RPC Deserialization RCE, Now in CISA KEV
→ all 129 MOTDs

Console Tips

Syscalls, kernel knobs, tracing, ZFS and jails. Commands you can run tonight.

  1. FreeBSD netstat -m and vmstat -z: find the kernel limit you hit
  2. etcupdate(8) is the three-way merge your /etc has been missing
  3. sysrc(8) edits rc.conf so you can stop piping it through sed
  4. nullfs(5) puts one directory in two places, read-only if you ask
  5. mtree(8) checks a directory tree against a spec you wrote down
  6. fstat -f tells you who is holding the mount busy
  7. FreeBSD newsyslog(8): log rotation you can dry-run and actually read
→ all 116 Tips

Rod's Tales

War stories, production fuckups and design rants. The long ones.

  1. The counter said zero and the loop had counted forty.
  2. The key was right and sshd refused it without saying why.
  3. tail -f followed the old log after rotation and the new one got nothing.
  4. The tmp cleaner deleted the socket and the daemon kept running.
  5. The dump piped into gzip exited zero and the backup was half a database.
→ all 57 Tales

See also: topics

$ apropos →

Pick the part of the stack that's misbehaving. Every hub starts with a numbered reading order, then the syscalls underneath it, then every Tale and MOTD that touches it.

Sandboxing & Privilege24
seccomp, Landlock, pledge
Namespaces & Containers19
Linux Namespaces & Containers, No Runtime
File Descriptors & IPC27
pidfd, memfd, SCM_RIGHTS
Linux Memory23
RSS vs PSS, madvise, OOM
Tracing & Performance26
strace, bpftrace, perf, ftrace
ZFS & Storage43
send/recv, bectl, ARC
Networking & DNS43
ss, tcpdump, dig, openssl
Kernel & Security111
CVEs and Hardening
Reliability & Observability51
Outages and Alerts
Unix Shell & Tooling32
pipefail, trap, xargs, flock
FreeBSD & OpenBSD40
Jails, bectl, pf, pledge
Toolchains & Industry35
Compilers, Vendors, AI

Syscall reference: newest on file

$ man 2 intro →
InterfaceSince
mseal(2)Permanently seal a virtual memory area against mprotect, munmap, and MAP_FIXED remapping.6.10
cachestat(2)Query page cache status (resident, dirty, writeback, evicted) for a byte range of an open file.6.5
memfd_secret(2)Create memory removed from the kernel's direct map, mapped only by fd holders.5.14
landlock_create_ruleset(2)Create a Landlock ruleset fd, step one of unprivileged filesystem/network sandboxing.5.13
mount_setattr(2)Change VFS-layer mount attributes on an existing mount or subtree, optionally recursing.5.12
process_madvise(2)madvise() for another process's address space, addressed by pidfd and an iovec of ranges.5.10
close_range(2)Close, or mark close-on-exec, every file descriptor in a range in one call.5.9
openat2(2)Open a file with kernel-enforced path-resolution constraints (RESOLVE_* flags).5.6

58 cards: when each interface landed, whether glibc wraps it, the flags and errno worth knowing, and what the BSDs did instead. Every version comes from the man page cited on the card.

→ Kernel check
Paste uname -sr and see what that box can actually call.

RodHat2026-07-18 – 2026-12-03