frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Finding a Successor to the FHS

https://lwn.net/SubscriberLink/1032947/67e23ce1a3f9f129/
27•firexcy•14h ago

Comments

hulitu•4h ago
> Last year, postmarketOS core developer Pablo Correa Gomez and a few others started an effort to move the FHS work under the freedesktop.org banner and create 4.0 of the standard

No. freedesktop.org is the place where standards go to die and CADT development takes place.

i80and•2h ago
A little surprised that the linked systemd file-hierarchy(7) manpage makes no mention of /opt
creatonez•2h ago
/opt/ is just a dumping ground for crap nobody can find a better location for
curt15•1h ago
Where else would ./install-3rdparty-software.sh write to? Should it spray files all over /usr?
creatonez•1h ago
It shouldn't do anything until the user has told it where the files should end up. It's an unpackaged program, there is no sane place to put it that doesn't have a high chance of conflicting with something else.
kelnos•27m ago
That's only due to a lack of standardization. I think a default install to a vendor-specific directory under /opt is a sane place to put it, and there's a very low chance that would conflict with something else.

But sure, absolutely, an installer should prompt the user for an install location, and I think a default under /opt is probably among the best defaults possible, if we consider installing outside $HOME to be reasonable.

MisterTea•1h ago
Honestly there should be no install-bs.sh and you just bind everything into the file tree as needed. At least that is how it works on Plan 9 which simplifies a lot of things like path which is just '/bin.'
JdeBP•1h ago
You won't find it in the hier(7) manual pages on BSDs, either.

* https://man.openbsd.org/hier

* https://man.netbsd.org/hier.7

* https://man.freebsd.org/cgi/man.cgi?query=hier&sektion=7

* https://man.dragonflybsd.org/?command=hier&section=7

There was a long time when the Linux world held /opt in disfavour, because officially it required either a stock market ticker name or some other corporate identity to make a subdirectory legitimate. You can still see traces of this in the Solaris descendant operating systems, where pkginfo(5) talks about package names using corporate stock ticker names.

* https://illumos.org/man/5/pkginfo

/opt/SUNW* used to be a very familiar thing to a lot of people.

Maybe enough time has passed for anti-corporate memory to fade. Maybe there's enough corporate backing in the Linux world now to resurrect the idea regardless.

Maybe /opt/RHT* is the shape of things to come. (-:

I've never over the years seen the systemd people advocate for /opt, though.

WhyNotHugo•27m ago
/opt is used for manually-installed software. Packages should never place files there, so it falls out-of-scope for file-hierarchy(7) or hier(7).
curt15•2h ago
>there's far less emphasis on creating native distribution packages for third-party software in 2025. Flatpaks, Snaps, and AppImage packages seem more popular with desktop-application developers these days. A lot of server-side software is now expected to be deployed as a container—or a group of containers run in Kubernetes—rather than installed as a package.

Are CLI tools or low-level, privileged software (e.g. anything that requires root) also distributed using flatpak or snap these days?

creatonez•1h ago
Ubuntu distributes some system daemons and even the kernel image as Snaps. The Ubuntu Server interactive installer nags you to look at a list of server software (such as nginx) to install using Snap.

Flatpak hasn't really taken the same path, it doesn't have much utility for anything other than desktop apps.

bonzini•1h ago
There is toolbox, see https://github.com/containers/toolbox.
creatonez•1h ago
Toolbox and Distrobox are not based on Flatpak, though. They're more just nicely packaged docker-like container tools, targeted for development use cases.
JdeBP•1h ago
There's an awful lot of back and forth in the comments there over whether it should be a specification that defines its requirements in terms of whatever systemd programs happen to do, or whether it should be a specification with its own concrete basis that systemd is held to like everything else.
kelnos•29m ago
It should be neither. It should be a set of rules that most people can agree on. If some of that is what systemd does, that's fine. If there are things that systemd does that most people don't agree on, something else should end up in the standard, and systemd should conform to it.

The problem is that systemd evokes some pretty visceral negative reactions in people. I still have mixed feelings about it, but, by and large, I encounter minimal real-world issues with it. Just because systemd has decided to do something that violates the older FHS3/4 standards, doesn't automatically make it a bad thing. Maybe what they're doing is a better way. Maybe not.

WhyNotHugo•29m ago
The irony is that systemd doesn't really follow what it prescribes in file-hierarchy(7), and expects some files in the "wrong" place. Other software has (obviously) followed suit, so now we're in a world where software follows the conventions that systemd _implements_ to maintain compatibility, rather than what it _documents_.

The most obvious example that comes to mind is /usr/lib/os-release, which file-hierarchy(7) indicates should actually be in /usr/share/os-release.

Show HN: Xbow raised $117M to build AI hackers, I open-sourced it for free

https://github.com/usestrix/strix
27•ahmedallam2•39m ago•3 comments

Show HN: Whispering – Open-source, local-first dictation you can trust

https://github.com/epicenter-so/epicenter/tree/main/apps/whispering
163•braden-w•4h ago•37 comments

Left to Right Programming

https://graic.net/p/left-to-right-programming
118•graic•4h ago•102 comments

Show HN: I built an app to block Shorts and Reels

https://scrollguard.app/
414•adrianhacar•2d ago•160 comments

FFmpeg Assembly Language Lessons

https://github.com/FFmpeg/asm-lessons
268•flykespice•7h ago•81 comments

Counter-Strike: A billion-dollar game built in a dorm room

https://www.nytimes.com/2025/08/18/arts/counter-strike-half-life-minh-le.html
114•asnyder•6h ago•109 comments

T-Mobile claimed selling location data without consent is legal–judges disagree

https://arstechnica.com/tech-policy/2025/08/t-mobile-claimed-selling-location-data-without-consent-is-legal-judges-disagree/
126•Bender•1h ago•26 comments

A minimal tensor processing unit (TPU), inspired by Google's TPU

https://github.com/tiny-tpu-v2/tiny-tpu
15•admp•48m ago•2 comments

GenAI FOMO has spurred businesses to light nearly $40B on fire

https://www.theregister.com/2025/08/18/generative_ai_zero_return_95_percent/
53•rntn•1h ago•17 comments

Anna's Archive: An Update from the Team

https://annas-archive.org/blog/an-update-from-the-team.html
669•jerheinze•4h ago•311 comments

The Weight of a Cell

https://www.asimov.press/p/cell-weight
69•arbesman•5h ago•21 comments

Web apps in a single, portable, self-updating, vanilla HTML file

https://hyperclay.com/
564•pil0u•14h ago•199 comments

Launch HN: Reality Defender (YC W22) – API for Deepfake and GenAI Detection

https://www.realitydefender.com/platform/api
56•bpcrd•6h ago•27 comments

The Cutaway Illustrations of Fred Freeman

https://5wgraphicsblog.com/2016/10/24/the-cutaway-illustrations-of-fred-freeman/
54•Michelangelo11•2d ago•6 comments

Sikkim and the Himalayan Chess Game

https://www.historytoday.com/archive/feature/sikkim-and-himalayan-chess-game
7•pepys•3d ago•0 comments

TREAD: Token Routing for Efficient Architecture-Agnostic Diffusion Training

https://arxiv.org/abs/2501.04765
31•fzliu•3h ago•5 comments

How much do electric car batteries degrade?

https://www.sustainabilitybynumbers.com/p/electric-car-battery-degradation
74•xnx•3h ago•93 comments

Typechecker Zoo

https://sdiehl.github.io/typechecker-zoo/
116•todsacerdoti•3d ago•19 comments

Who Invented Backpropagation?

https://people.idsia.ch/~juergen/who-invented-backpropagation.html
147•nothrowaways•5h ago•79 comments

My Retro TVs

https://www.myretrotvs.com/
110•the-mitr•4h ago•19 comments

Show HN: I built a toy TPU that can do inference and training on the XOR problem

https://www.tinytpu.com
9•evxxan•1h ago•1 comments

Mindless Machines, Mindless Myths

https://lareviewofbooks.org/article/mindless-machines-mindless-myths/
21•lermontov•13h ago•0 comments

Electromechanical reshaping, an alternative to laser eye surgery

https://medicalxpress.com/news/2025-08-alternative-lasik-lasers.html
205•Gaishan•11h ago•83 comments

Countrywide natural experiment links built environment to physical activity

https://www.nature.com/articles/s41586-025-09321-3
45•Anon84•2d ago•31 comments

Finding a Successor to the FHS

https://lwn.net/SubscriberLink/1032947/67e23ce1a3f9f129/
27•firexcy•14h ago•16 comments

Show HN: We started building an AI dev tool but it turned into a Sims-style game

https://www.youtube.com/watch?v=sRPnX_f2V_c
65•maxraven•2h ago•51 comments

Macintosh Drawing Software Compared

https://blog.gingerbeardman.com/2021/04/24/macintosh-drawing-software-compared/
14•rcarmo•4h ago•1 comments

The lottery ticket hypothesis: why neural networks work

https://nearlyright.com/how-ai-researchers-accidentally-discovered-that-everything-they-thought-about-learning-was-wrong/
30•076ae80a-3c97-4•4h ago•15 comments

Image Fulgurator (2011)

https://juliusvonbismarck.com/bank/index.php/projects/image-fulgurator/2/
42•Liftyee•2d ago•3 comments

SystemD Service Hardening

https://roguesecurity.dev/blog/systemd-hardening
231•todsacerdoti•16h ago•85 comments