#What directories should be read/write on an immutable system?

44 messages · Page 1 of 1 (latest)

knotty rover
#

This isnt exactly a vanillaOS specific question, but since ABroot was developed here i thing it would be the best spot to create this question. Question is the title. Right now im thinking just /etc, /var, and /home are enough to be rw and everything else can be ro, but what do u guys think?

foggy karma
#

Packages? You meant directory?

knotty rover
#

What directories should be read/write on an immutable system?

foggy karma
#

/var i think is more of a matter of opinion. I think there are several immutable Linux distro where /var isn't mutable.

wicked field
knotty rover
knotty rover
#

Also need /var/log.

wicked field
#

/var/log my behated

#

i almost broke my install getting a backtrace that saved there

knotty rover
#

And a lot of apps like to play with /var too like virtualization services and such so 😅

knotty rover
#

Just random stack trace?

#

Fucky kernel or what

wicked field
#

i tried to get a backtrace for webkit

#

but that shit can take like 20+ GB for some reason

knotty rover
#

Jeez 20 gigs of just logs 💀

young kettle
#

Also the themes folder under usr

foggy karma
# young kettle Also the themes folder under usr

Which DE is this necessary for? Even for KDE, it's only really needed for SDDM themes and plymouth themes. Both of which I don't consider to be necessary and people should layer it themselves instead of something that is supported by default.

latent iron
foggy karma
wintry swift
#

/usr/share/themes shouldn't be mutable

#

there's no point, just use ~/.local/share/themes

wintry swift
latent iron
foggy karma
#

they also added plymouth recently

foggy karma
wintry swift
knotty rover
#

Ie: there is no reading or writing done to the underlying FS. Meaning it wouldnt matter if its ro or not.

wintry swift
#

there's a lot of writing happening to /dev

knotty rover
latent iron
wintry swift
#

the framebuffer is in /dev, that has to be written somehow

knotty rover
#

Im fairly certain that the kernel mounts it as a ramdisk so.

knotty rover
wintry swift
#

I don't think mounting to an immutable directory works

knotty rover
#

Tried it already as mentioned before

#

the underlying filesystem doesnt matter here since its a ramdisk. Its being “overlayed”.