283
submitted 1 year ago by bahmanm@lemmy.ml to c/linux@lemmy.ml

Shameless plug: I am the author.

you are viewing a single comment's thread
view the rest of the comments
[-] GolfNovemberUniform@lemmy.ml 1 points 1 year ago

/etc can't be edited on immutable distros and usually apps store the editable config in /home/config and make the /etc one kind of read-only.

[-] bsergay@discuss.online 12 points 1 year ago* (last edited 1 year ago)

/etc can’t be edited on immutable distros

False on at least Fedora Atomic^[1]^, NixOS^[2]^ and openSUSE Aeon^[3]^..

Which 'immutable' distros are you referring to?


  1. On Fedora Atomic, changing /etc is literally identical to how it goes any other distro; or at least 1-to-1 as on traditional Fedora. The bonus is that a pristine copy of the original /etc is kept inside a sub-directory of /usr. Furthermore, all changes compared to the pristine copy are kept track of.
  2. On NixOS, changes have to be applied through configuration.nix. Though, regardless, it's effectively possible to edit and populate /etc like it is on other distros.
  3. It's explicitly mentioned that /etc does not belong to the immutable base.
[-] GolfNovemberUniform@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

Fedora Atomic allowed it recently afaik. I'm always forgetting this. And NixOS is not immutable because of R/W FS.

[-] bsergay@discuss.online 5 points 1 year ago

No sorry, Fedora Atomic has allowed changes to /etc since at least 2019. Regarding NixOS, the consensus is that it's an immutable distro. The immutability of /nix/store/ suffices for this.

Your notion on Fedora Atomic was false. So, what other 'immutable' distro did you have in mind when making that comment?

[-] GolfNovemberUniform@lemmy.ml 2 points 1 year ago* (last edited 1 year ago)

Please stop harassing me. And idk. I saw that issue but at this point I think it was just misinformation.

[-] bsergay@discuss.online 7 points 1 year ago

Thank you for your honesty! I only intend for the truth to prevail and/or to reach mutual understanding. So please don't feel attacked. If somehow I came off as such, my apologies; that has never been my intent.

[-] MonkderDritte@feddit.de 4 points 1 year ago* (last edited 1 year ago)

In this case it would be XDG_CONFIG_HOME=/home/config. That simple.

this post was submitted on 14 Jul 2024
283 points (100.0% liked)

Linux

56916 readers
448 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS