-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mount root filesystem as readonly instead of adding immutable attribute #1812
Comments
This is solved by the recent enablement of composefs, which should hit stable very soon (next release, so in a couple of weeks) As to why the immutable bit rather than Maybe it's for coreos/rpm-ostree#337 but i am not sure |
@jbtrystram, could you please provide an update on this issue? We're considering mounting the root filesystem read-only in our production Fedora CoreOS environment, and we need to fully understand the potential drawbacks before proceeding. What are the specific added risks associated with this change? A detailed explanation of the increased risks involved would be greatly appreciated. 🫶 |
As I mentioned, the root will be read-only by default in the next release through a composefs mount. |
Okay, thanks for the feedback. Thing is, our product is still running on the older Fedora CoreOS 33, so I'm wondering what would happen if I changed |
You're running a 3.5 year old release with no security updates since 2021 so you might as well YOLO it and find out? |
Describe the enhancement
I'm curious why Fedora CoreOS adds an immutable attribute to the root directory
/
instead of just mounting the root device as read-only. I tried changing the kernel cmdline fromrw
toro
myself, and didn't see any problems; the system booted fine, and I could still install packages usingrpm-ostree
.System details
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: