July 21, 2026

Kernel panic? More like comment panic

Linux kernel will support $ORIGIN, sort of

Linux gets a sneaky new trick, and the comments instantly turned into a Nix civil war

TLDR: Linux is adding a new way for apps to find their needed helper files based on where they’re installed, which could make software easier to move around. Commenters split fast: some cheered a huge win for packaging, while others blasted it as yet another Nix-driven headache for everyone else.

A niche Linux plumbing story somehow turned into prime comment-section theater. The big news: a developer asked whether Linux could let apps find their helper program based on where the app itself lives, instead of hard-coding one location forever. He braced for the classic internet ritual of being told to get lost — and instead got a surprisingly wholesome response from a top Linux maintainer, who not only took the idea seriously but helped turn it into a smarter solution. The result is a new approach using a tiny kernel-side program so Linux can pick the right helper dynamically. In plain English: apps could become a lot more portable.

But the real fireworks were in the reactions. One camp was basically popping champagne, calling it "really awesome" and predicting this could finally make big app packaging easier and more mainstream. Another camp jumped in with the "hold on, this is the wrong fix" energy, arguing the metadata should live somewhere else entirely and accusing both major build systems of choosing bad solutions. And then came the spiciest rant of all: Nix critics saying this project creates busywork for the whole Linux world and keeps asking everyone else to change instead of fixing itself.

There was also some wonderfully nerdy comedy from confused readers asking what $ORIGIN even means, plus a side quest where someone revived the eternal Linux grumble: why are script launch lines still so awkward in 2026? So yes, the kernel may be getting a clever new feature — but in the comments, the real patch was for everyone's patience.

Key Points

  • The article describes a Linux kernel patch effort aimed at helping relocatable binaries in Nix by enabling dynamic interpreter selection instead of fixed PT_INTERP paths.
  • An initial proposal to add direct $ORIGIN support in the VFS subsystem evolved after feedback from Christian Brauner and input from John Ericson.
  • The proposed implementation uses eBPF with binfmt_misc so the kernel can match binaries, derive an interpreter path dynamically, and set it with `bpf_binprm_set_interp`.
  • The author says the resulting patch series is expected to enter the Linux kernel -next branch in the near future.
  • The article suggests the mechanism could support additional use cases beyond Nix, including Buck, Bazel, and replacing traditional QEMU binfmt_misc registration scripts.

Hottest takes

"The correct fix is to store the metadata outside the CAS" — reinitctxoffset
"Nix has caused so much busywork to be created through the entire Linux ecosystem" — charcircuit
"This is really awesome, can't wait for this to land in the linux kernel" — Imustaskforhelp
Made with <3 by @siedrix and @shesho from CDMX. Powered by Forge&Hive.