nixpkgs/nixos/modules/profiles
Emily 7b9bb0a9a1 nixos/installer: drop support for ReiserFS and JFS
ReiserFS has not been actively maintained for many years. It has been
marked as obsolete since Linux 6.6, and is scheduled for removal
in 2025. A warning is logged informing users of this every time a
ReiserFS file system is mounted. It suffers from unfixable issues
like the year 2038 problem.

JFS is a slightly more ambiguous case. It also has not been actively
maintained for years; even in 2008 questions were being raised
about its maintenance state  and IBM’s commitment to it, and some
enterprise distributions were opting not to ship support for it as
a result. It will [indefinitely postpone journal writes], leading
to data loss over potentially arbitrary amounts of time. Kernel
developers [considered marking it as deprecated] last year, but
no concrete decision was made. There have been [occasional fixes]
to the code since then, but even the developer of much of those was
not opposed to deprecating it.

[considered marking it as deprecated]: https://lore.kernel.org/lkml/Y8DvK281ii6yPRcW@infradead.org/
[indefinitely postpone journal writes]: https://www.usenix.org/legacy/events/usenix05/tech/general/full_papers/prabhakaran/prabhakaran.pdf
[occasional fixes]: https://www.phoronix.com/news/JFS-Linux-6.7-Improvements

Regardless of whether JFS should be removed from the kernel, with all
the implications for existing installations that entails, I think
it’s safe to say that no new Linux installation should be using
either of these file systems, and that it’s a waste of space and
potential footgun to be shipping support for them on our standard
installation media. We’re lagging behind other distributions on
this decision; neither is supported by Fedora’s installation media.

(It also just so happens that `jfsutils` is the one remaining package
in the minimal installer ISO that has reproducibility issues, due to
some cursed toolchain bug, but I’m not trying to Goodhart’s law
this or anything. I just think we shouldn’t be shipping it anyway.)
2024-09-05 16:00:35 +01:00
..
keys darwin.builder: init 2022-12-19 17:03:45 -08:00
all-hardware.nix nixos/profile/all-hardware: remove simplefb 2024-03-24 18:44:19 +03:00
base.nix nixos/installer: drop support for ReiserFS and JFS 2024-09-05 16:00:35 +01:00
clone-config.nix nixos: remove all uses of lib.mdDoc 2024-04-13 10:07:35 -07:00
demo.nix profiles/demo: rename services.xserver.displayManager 2024-04-16 13:42:02 +02:00
docker-container.nix treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
graphical.nix nixos/graphical: don't enable Pulseaudio 2024-09-04 13:56:42 +03:00
hardened.nix nixos/hardened: update hardened profile to new recommendations 2024-01-27 20:43:58 +00:00
headless.nix
image-based-appliance.nix nixos/profiles: add image-based-appliance profile 2023-10-28 13:26:39 +02:00
installation-device.nix nixos/installation-device: use a bigger hammer 2024-09-03 10:53:25 +03:00
macos-builder.nix nixos/nix: move trusted-user to config 2024-07-30 18:18:57 +02:00
minimal.nix nixos/stub-ld: init module 2023-12-11 05:47:23 -05:00
perlless.nix nixos/profiles/perlless: systemd-sysusers -> userborn 2024-08-26 13:53:45 +02:00
qemu-guest.nix treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00