upvote
But, this “vulnerability” is the thing everybody knows about docker since forever. I always make my user part of the docker group, so my NixOS also has this, and any Ubuntu I’ve used over the past year. What is different here?

Start a docker container with the docker socket mounted in the container and now you can have yourself mount / as rw. Everybody knows this. How is everybody so shocked here. Many instructions online tell you to make yourself part of the docker group for convenience (like the digital ocean one).

reply
> What is different here?

I don’t understand how this is a question.

What’s different is that it comes configured this way out of the box, silently, without warning. It’s functionally equivalent to opting in to giving all user accounts root privileges, which is not what anyone expects the default configuration to be.

You can choose to configure your installs this way if you choose to do so. It should not come this way quietly by default.

reply
More like a company that had hundreds of millions of dollars and a couple decades should have fixed it by now.

If only Podman could beat Docker in advertising…

reply
First they should try making a solution that works as well as Docker. Every time I use Podman or Podman Desktop I run into the most basic problems. Docker works out of the box everywhere.
reply
I don't use Podman desktop but I haven't had any issues at all with basic Podman. It just seems like a better overall design. It would be great if Docker copied the rootless / daemonless approach if possible.
reply
The whole point of Omarchy is for people who want to use Arch Linux but have it configured the way DHH does.

So I think it's a little different. Anybody using an opinionated respin should understand what they're getting.

reply
The Omarchy team admitted it was a mistake and corrected it quickly.

It’s strange that so many people are trying to call this security error intentional.

reply
It might be a mistake but not a serious one, like it's a common setting they had on for convenience of development without being too insecure, but forgot to leave it out of public release.

So there's nothing weird. It being on originally was intentional and not crazy. Only it going all they way wasn't.

reply
> people who want to use Arch Linux but have it configured the way DHH does

Then they don't actually want to use Arch Linux.

The Arch Linux way is to read the excellent wiki documentation, learn about all the choices available, and then make all of those choices so the system is configured the user's way instead of some celebrity's way.

reply
Couldn’t you say that about any Arch spinoff? Seems to be the no true scotsman fallacy.
reply
> Couldn’t you say that about any Arch spinoff?

I can, and I do.

https://wiki.archlinux.org/title/Arch_Linux#User_centrality

> It is targeted at the proficient GNU/Linux user, or anyone with a do-it-yourself attitude who is willing to read the documentation, and solve their own problems.

reply
Assuming you mean "they don't actually want to use Arch" as a criticism (rather than a truism), I think that's fair for a distro described as "Arch linux but configured X way". I don't think it's a good criticism for something like SteamOS which is configurable but is aiming hard for "it just works".
reply
I like and use Arch daily. My "way" was just to get past the fdisk squirrel catcher. After that it was as easy as Ubuntu. I'm not bragging, I wish I'd read the manual but was too impatient for that. I suspect I'm not the only arch user that arrived at it using similar approaches. I might even be a target user for DHH's distro but the bloat (and to some extent the vibe coding) holds me back.
reply
> Then they don't actually want to use Arch Linux.

No, they want to use Arch Linux as configured by DHH

reply
Thats the old arch way. New arch is archinstall + AI
reply
Actually we do. I like pacman for example. And don't mind going thru archinstall for a test install once to learn. But my workstation, I'd not like to have to develop, even if I do like configuring minimal installs for other uses like kiosks.
reply
installing arch is enough of a pain that I've been putting off installing it on my desktop for months.
reply
archinstall comes preinstalled on the official iso. It’s a normal install flow and takes 5 mins.
reply
It's something you do literally once.
reply
Yes and?
reply
Yes, and Arch is probably not the right distro for you if you think installing it is a "pain".
reply
What exactly is special about rolling a custom arch in this instance? Like, why does this get so much attention? Do web developers really care about what DHH does that much?

Like, I get it if thats the case. Say, if Chris Lattner or Andrej Karpathy rolled some ML GPU programming distro I'd probably care about it and try and see if it made me more productive.

reply
DHH made Ruby on Rails and lots of people love it (not for me, personally).
reply
It does warn you. It's an opinionated Linux for a modern developer/user. This modification absolutely makes sense in that context.
reply
I hope this was an attempt at sarcasm.

The Omarchy team immediately fixed this because it was a security oversight, not an intentional opinionated choice.

reply
There was no oversight and no security. It's vibe-coders pushing unvetted shell scripts and dotfiles.

They "immediately fixed it" after it blew up on X/Twitter. Just like all the other issues they've had in the past few weeks.

And now they formed a "security team" lol.

reply
DHH was on the Lex Fridman podcast talking about this recent release of Omarchy in that most of it is "vibe coded". It is mostly just a bash script to configure Linux, but his approach is interesting.

AI as a core part of the OS that can just change or add anything you want. Linux is great for this because it has access to the source code for everything.

He said he didnt review the code line by line, just looked at the shape of it. Whatever that means.

reply
Imo they could have sold it like that, in this case. A warning would be in order though.
reply
Opinionated choice?

I recently used Arch Linux because I have a 4 GiB Mac Air that I want to use for something but it has too little RAM for UI. The installer was user friendly and fast. I got exactly what I wanted.

I don't think that I need Omarchy.

I have only one answer to this:

I'm too old for this shit.

reply
deleted
reply
Ah, the opinionated strikes again.
reply
> I always make my user part of the docker group

I don't, and I migrated to Podman because Docker is poorly designed and full of footguns. For example, it it will silently overwrite iptables rules and punch holes in your firewall.

reply
This. It’s easy to let happen too. If you’re on a machine that’s not behind NAT then it’s really easy to pwn yourself.
reply
Indeed. Podman works great. And kube play unifies container orchestration by using k8s manifests for local orchestration instead of a separate DSL like docker compose.
reply
I'm sorry, what?

As an avid Docker user, where should I begin reading about these issues?

reply
I don't think this is as widely known as you believe: I use dockerd via colima so it's not a limitation I've encountered - if I had, I likely would've switched to podman wholesale instead of compromising my system.

Either way though, I would hope it's self-evident to most that taking glaring security holes in a single app (docker) & transforming them into glaring security holes in an entire OS is generally not desirable.

reply
Exposing the docker socket seems like such a rookie mistake to. There's a good reason we've known about docker socket proxies for a very long time.

Also beside that they use ancient package alongside Archlinux. One of those being Chromium. It also used to use Chaotic AUR but now they just automate packages (every 6 hours) in their own repository without any maintainer intervention so it's still open for supply chain issues.

reply
A distro should be secure-by-default. Omarchy’s design here was insecure by default while the docs have the impression that Docker might be running rootless. Pairing insecure defaults with docs that claim better security is bad.
reply
> I always make my user part of the docker group, so my NixOS also has this, and any Ubuntu I’ve used over the past year.

You may do that, but I don't. I always use sudo to manage the few docker containers I need, and I prefer podman where possible specifically because I can run it rootless.

If you want to give your user passwordless root for convenience, go ahead, but that should never be the default.

reply
> I always use sudo to manage the few docker containers I need

I'm afraid that isn't really any better. If the attacker is in position to exploit membership in the docker group, he already has access to the user's .bashrc. He can simply write a function called sudo that wraps the real command and records your password[1]. Unless the user always invokes sudo with /usr/bin/sudo, docker group membership doesn't really make a difference.

Once malware runs as an administrator, getting access to root isn't really that complicated. The boundary between wheel and root is more or less security theater.

[1] https://gist.github.com/tokyoneon/34ce1c9e1530a12eb392b1eab0...

Edit: Oh well, I see now that others have made the same point (https://news.ycombinator.com/item?id=49500588). With the same wording even. I'm half-way tempted to delete my comment so as not to look like a plagiarist, but it seems many posters are unaware of the vulnerability, so I'd leave it here.

reply
Does 'chattr +i .bashrc' reliably prevent this? Always seemed sensible to me. Then again, there are a few files getting sourced by the shell and I am not sure I could spontaneously name them all.
reply
The attacker could use `chattr -i .bashrc` with the same privileges before editing your bashrc. A better way would probably be to use `sudo chown 0:0 .bashrc`.

Also you will want to do the same to .profile (because of LD_PRELOAD etc). And also do the same to any directories in your $PATH (~/.local/bin etc)

reply
>Everybody knows this.

I didn't know this.

reply
Take a look at docker-socket-proxy as a somewhat of a counter to this issue:

https://github.com/Tecnativa/docker-socket-proxy

reply
Do you know about docker compose overwriting your carefully set firewall rules? That’s the other docker thing…
reply
Go on, what other docker things should we know?
reply
Absolutely. Docker is a boiling mess of baked-in convenience workarounds (ie vulns). It's an orchestration layer (like k8s with containers), not a real security boundary like VMs. OTOH, single-purpose VMs are basically just as easy these days and those can still pull in containers as needed.
reply
deleted
reply
It depends on what distinction you’re making…

If you are asking concerning security, the answer is that it’s an insecure default that should have protected an unwitting user.

If you are asking concerning consistency with real world situations, then there is no difference and it feels like the fit is over a somewhat controversial figure (DHH) and how he created the distro’s recent release without reading any of the code himself. The counter is that no one installing a distro actually understands how their distro is configured, and trusts someone else’s judgement. Here that judgment was farmed out to AI, and while that is controversial, the uncomfortable truth is that this is how an awful lot of real people are told to configure their Docker installations.

IMO Docker running as a root daemon is a bad idea in the first place and I’d much rather use Podman’s rootless containers.

reply
other than what others have said: there's rootless docker too, e.g. as virtualisation.docker.rootless under NixOS. It doesn't have to be this way.
reply
This. Was also super confused when I saw the post. Like every docker guide literally screams at you when you use rootfull docker. Either add yourself to the docker group with `newgrp` for a termimal session or use rootless docker.
reply
You add yourself to the docker group to be able to use the socket. By default, a uid 0 on a docker container is run as root, regardless of the uid of the owner of the container. That is precisely the issue being discussed.
reply
“This house has a hole in its roof but I cut several holes into my roof to water my indoor plants so what’s the problem?”
reply
[flagged]
reply
Could you point to things that are not glaring security vulnerabilities that are ridiculed in the same way?
reply
His blog posts about immigrants?
reply
You specifically called out security vulnerabilities, but the point missed by the commenter you are replying to is that people who ridicule something originating from DHH or AI are generally not based on nothing. "People just hate X no matter what" is almost always a low-quality complaint, for most values of X.
reply
deleted
reply
Bun.
reply
I've got nothing against DHH or AI. I just don't think vibe coding works well for systems of this scale.
reply
That remains to be seen. The whole concept is still in its infancy. An AI reviewer should have caught these issues when they were PRs.

But you see, it wasn't even a PR. It was just DHH making a straight up commit on the main branch (as far as I can see). With a message "Do all the additional Docker configuration needed". Was it even AI-assisted? At least the commit message wasn't, AIs write smarter commit messages than that.

I said on my earlier comment that DHH and AI get ridiculed automatically because people hate both. That doesn't mean that the ridicule isn't always justified.

https://github.com/omacom/omarchy/commit/25799ee91f54c35e6d3...

reply
Which tells me that they don't really take security seriously because everyone knows exposing the docker socket is dangerous. I would almost bet that AI would warn about that.
reply
> I would almost bet that AI would warn about that.

Exactly. If they had a review process. Which they didn't, at least for that change.

https://xkcd.com/1200/

reply
No no, be fair -- some of us ridicule everyone using AI and the slop they get it to extrude.
reply
Yes, I know. That is quite juvenile.
reply
No, we are judging them by the quality of the work they produce. It is abysmal, yet they persist, so they get ridiculed.
reply
In good faith, show me the nice counterexamples of ai-generated software?
reply
the unfortunate thing - is the money pumped into omarchy + the hype around it .... a lot of sheepish followers will just follow the hype.

the tech might gets fixed later.

reply
you mean the fun and DX? lol
reply
deleted
reply
Other than hype, what's the appeal here?

I saw a couple video demos recently, and was horrified that it seemed one had to memorize a dozen key binding shortcuts to really use it. Is that rather common now? I'm just a Gnome pleb who prefers discoverability via UI.

reply
I just switched over to it from Ubuntu. So far the nice thing is that it gives you a fully decked out hyprland setup without any of the hassle and pretty good UX.

The problem I've always had with trying out a tiling window manager like hyprland is you're going to spend a very long time trying to get everything just right. With Omarchy I get a really nice hyprland setup right out of the box.

reply
Github is awash with people's dotfiles including fully featured DEs built on top of things like Hyprland and Noctalia, and they don't require you to use a mess of a distro to use them.
reply
100% this, either use a DE like GNOME or Cosmic if you can't be bothered, or spend a little time looking at someone's dotfiles.

No need to use a whole distribution with 1000 other poor decisions made for you.

reply
> No need to use a whole distribution with 1000 other poor decisions made for you.

I used Vim for a decade (and Linux for much of that time) and the constant tweaking and changing things drives you mad after a while. The more you invent it yourself the more it changes. This is why I prefer MacOS+VSCode these days, which comes with good defaults and simpler VIM-style bindings.

Omarchy sounds like those popular vim configs such as https://astronvim.com/, which I also tried using and also ended up heavily customizing myself. It provided some nice defaults as a baseline but was ultimately comes with too much hyper-customization (which has a lot to do with vim/neovim trying to act like other more modern editors).

reply
There's a way to have 1000 poor decisions with your arch sure. I use Omarchy to avoid just that.
reply
So, one config file? Why would you use a distribution for that?
reply
Well the whole point is to have a good foundation and then make it actually yours, and the only necessary key binds are probably SUPER+K for the key bind cheatsheet and SUPER+SPACE for the menu.

Also the community is large so there's usually someone that has already had your issue and resolved it. The amount of themes and plugins are growing everyday.

A bare arch+hyprland install really feels terrible to use and has a much larger barrier to entry than Omarchy.

https://plugins.omarchy.org

https://omarchythemes.com

reply
Hey, do you have any concerns about malware, in case of using the plugins or themes from these websites ? I was a bit skeptical, considering all the malwares that are being found in the package managers and plugins are pretty much the same thing but as extensions.
reply
There's definitely appeal in key-driven window managers in general. Projects like i3 and Niri are popular. But you can get that with any Linux distro (albeit not many have it set up that way by default). You don't generally choose a distro just for whatever DE/WM it happens to start with.
reply
What I don't get is that VS Code has solved this perfectly via the command palette - you just bring up the prompt and start typing and it will find you the command you actually need without having to memorize anything.
reply
That is the appeal. It's an opinionated distro designed around keyboard navigation.
reply
It is kind of nuts how little attention this more-than-controversial-enough aspect of it gets compared to anything else, to the point people don’t even know this about it.

I happen to hate Omarchy for the precise reason I don’t want that sort of interface, but apparently everyone else does, and if they do that’s up to them.

reply
I got here because it was the first time I saw a tiling window manager on an Omarchy video. I was on windows my entire life, so when i saw it and how bad windows got, I decided to give it a try. A few months since I de-omarchyfied the system and went straight back to arch. And now still on it.

I should have gone with something like cachyos as games are important to me, but I think at the time hyperland wasn't an option (i don't remember). I know it is now.

reply
you can pick the best things out of cachy without moving to it wholesale. Like their proton, maybe kernel or mesa
reply
There's a segment of people who are into customizing their desktop environment as a hobby and end in itself.

Personally I've never really been into it, and these days I have a broad and revolving set of machines I have to use, so this sort of thing is absolutely not worth the bother. I just install KDE Plasma and use the computer.

reply
On average, you can either have a discoverable GUI for noobs, or a configurable, keyboard driven system that's a giant pain to learn and configure.

Omarchy aims to find a middle ground between those two.

reply
> either have a discoverable GUI for noobs, or a configurable, keyboard driven system

Absolutely wrong. Windows is both and it can be 100% keyboard driven.

reply
Try editing key-values in Regedit using only the keyboard.
reply
You start regedit.

cursor up/down, page up/down, or F3 to search, hitting enter to follow directories, until you reach the key.

Hit enter on the key. The values will be displayed.

Hit tab until you are on the key you want to edit.

Hit enter. A popup with the value will appear.

Type the new value, hit enter.

A much more painless process than I anticipated, honestly, and it refreshingly uses the same conventions that used to be used everywhere in windows.

reply
Set-ItemProperty -Path "HKCU:\Software\MyNewKey" -Name "Example" -Value "Blah" :)
reply
[dead]
reply
Or at least, XP could.
reply
Then it's not for you, or you can't vision how 5 minutes of learning can save you hours of future time.

Having to know like 5 keybinds and no taskbar is absolutely the point and it's a beautiful concept of how to use your computer. And it works, if you are open to relearning just a bit.

reply
Being hyprland keybinding skilled removes a lot of the desktop interaction surface, it's a worthwhile investment. People who've used tiling window managers for a while will tell you that it gets natural at a point, then a whole class of friction that normal WMs cause just goes away.
reply
I recently customized my own Bazzite install to use hyprland plus other customizations, there's really not much different than what omarchy did. It's pretty much that with some pre installed apps. Anyone that gave them funding is an idiot IMO.
reply
We had people salivating over a spinning Compiz 3D cube 20 years ago, and some still don't understand the ricing factor.
reply
I for one hold out for them releasing an optimized XFCE variant - don't by any means dislike keyboard driven software but I like it as an extension of a regular functional UI experience not as a "argh the windows are stuck in xyz pattern until I re-remember xyz combo"-experience: the UI surface is not the speed limit in my optics, rather it is the apps I use or (increasingly due to local AI) the computational hardware limits of my machine.
reply
> I saw a couple video demos recently, and was horrified that it seemed one had to memorize a dozen key binding shortcuts to really use it.

Whoa! You have to _learn_ something to use it well? Yikes. Not for me.

reply
conventions are a good things so you can minimise relearning.
reply
Learn emacs once and use ratpoison, readline and rlwrap everywhere.
reply
> It's why you switched away from Windows in the first place, remember?

Really good reminder I gotta say

reply
>If you use Omarchy, the most important takeaway is simple: update to 4.0.1.

More like, don't use Omarchy, or vibecoded Operating Systems.

Running a descriptor into a shell command is laughably sloppish.

reply
It's definitely not why *I* switched away from Windows
reply
You didn't switch away from windows to get superior software?

Also, the statement was valid because it will be true for most. It doesn't matter that you read it and it wasn't true for you, as long as it's true by the numbers, it's true, because it's one-to-many communication not one to one.

reply
I'm sure "superior software" is true for most, but that's a much wider goalpost than the people specifically worried about security/vulnerabilities. One of the biggest factors pushing people to Linux lately is the increasing number of ads and annoyances being crammed in to Windows. Security has been moderate for a long time.
reply
My reasons to switch to Linux from Windows were very little about "security" and plenty more about freedom. Sure, it was very nice avoiding running an antivirus, but that was just the cherry on top.

I wanted the freedom to change and "rice" my desktop however I wanted, and the Compiz cube looked awesome. I found Windows condescending and restricting in that regard. Yes, my first reason was the aesthetics, kick me out of the nerds club. (That was also the reason I switched to Mac for 10 years).

My second reason was that I suspected I could learn so much more about computers using Linux full time. And I did.

I was also younger and used to associate Windows with soul-sucking corporate jobs and Linux with new ideas and experimentation. It was us-vs-them. Open Source vs Micro$oft and all that vibe.

reply
While I don't want to discuss the quality of any distro vs Windows, there is a big reason most of us use free software: because it is free. Whether for you it is because of free as in freedom or free as in beer specifically, quality may not have much to do with it.
reply
Isn't Windows also basically free? Every laptop I buy has a Windows licence stuck to the bottom of it.
reply
which means you paid for it. just because it comes bundled doesn't mean always it's free. https://en.refund4freedom.org/
reply
No, you've been charged for every one of those licenses.
reply
You can also just pirate it.
reply
No and you missed the "freedom" part of the adage.
reply
In EU at least you can almost get free as in beer Windows, you can buy a fully legal 2nd hand (resold) Windows license for about $10, the price of a fancy beer.
reply
Windows is already free for ~everyone. Make less idiotic arguments.
reply
> Also, the statement was valid because it will be true for most.

The statement seems more like a preconception than data.

reply
deleted
reply
This seems to be quite contrarian considering we had this on the front page of HN the other day: "Debian votes to allow "responsible use of generative AI".

I guess this LLM coding wasn't "Responsible" enough. hahaha

Let the AI bubble pop baby

reply
Omarchy is all in on AI, if you look at the recent commits and the dev workflows they have set up you can easily tell no human is looking at all the stuff they are merging.

It's not the same thing as allowing some AI contributions under strict guidelines.

reply
Even worse. They don't even have AI review them. I fed the commits that introduced the problem to a few frontier models and they saw several problems, including the aforementioned security problem. Even Mistral saw it. I did have to instruct all models to look for security problems, though, but still.

It's not that we shouldn't use vibecoded distros. It's that we shouldn't use badly vibecoded distros with shitty or non-existent processes.

reply
On Lex Fridman recently DHH was enthusiastically bragging about how he was letting AI generate C++ that he intentionally wasn't even looking at, he was treating it as a pure black box and just submitting the output.
reply
deleted
reply
deleted
reply
On the flipside, once you use an OS that is totally open to agentic stuff, there's no going back really.

I can open Pi and ask it to fix some window tiling issue, help me install shortcuts, help me figure out how to install flatpak vs appimage, etc. the list is endless. I cannot see myself going back to a legacy OS unless I'm forced to by my job for compliance reasons.

reply
> etc. the list is endless.

Why is the list endless? I don’t even remember the last time I check or change any on my mac settings. And my unix things haven’t been touched in months. My debian server is basically frozen at this point.

reply
I encourage you to think more outside of the box and dream. There is much more you are able to do now, that would have been impossible 2 years ago! :D

https://x.com/SergioTapiaDev/status/2094187967900266573

reply
I can't tell if this is performance art or not.

"Think outside the box and dream!"

"Here's a world clock widget."

reply
I know this isn't your point, but world clock widgets have been a think since Windows Vista at least.
reply
That’s like one of two lines of i3status. Awesome if you need something like this one and built it. But don’t pretend that there aren‘t myriad solutions out there that have solved a lot of possible use cases.
reply
[dead]
reply
Vibecoded fixes are quicker
reply
"Someone" didn't find that, AI found it. So it's not clear what your point is about vibe coding. Would humans have noticed this problem, especially given that it's not remotely exploitable? (you have to plug in a malicious USB device).
reply
It’s that age old “start a docker container with the docker socket in the container and you are effectively root”. What are we talking about here? This is not new?
reply
Apparently is for some people. Not sure why.
reply
I think they mean that Omarchy is pretty much vibe-coded. Probably just an assumption.
reply
In a recent long interview with Lex Friedman, DHH explained that he's essentially doing pure agentic dev on Omarchy now.

https://www.youtube.com/watch?v=NYFGCESmikA

reply
It is, DHH doesn’t seem too shy about it
reply
The fact comments like this get downvoted because what they say is inconvenient is one of the major signs AI has fundamentally broken HN.

It was already hard to have technical conversations in public, now there is a contingent determined to make it utterly impossible, and they are succeeding.

reply
By the HN guidelines, it’s better to avoid discussing downvotes on HN
reply
deleted
reply