Lennart Poettering wrote:
On Fri, 17.04.09 18:16, Chris Adams (cmadams@xxxxxxxxxx) wrote:
Once upon a time, Kevin Kofler <kevin.kofler@xxxxxxxxx> said:
Mounting /etc read-only makes no sense at all, config files are designed to
be writable.
Now, if initrd could handle /etc being on a separate filesystem, that
would be cool. I might would leave /usr on / (mounted ro) if that were
the case (although that wouldn't help with the case I recently had where
/usr was corrupted but I still booted "emergency" mode to restore from
tape).
It doesn't make sense to have /etc/ a seperate parition from /.
A sensible design would be to have / as a whole should be ro. And then
/home, /var, /tmp mounted rw.
Then you need to deal with the variety of utilities that want to
scribble in /etc. I've successfully run systems where root was
readonly and /etc was r/w via a union fs (/var, /tmp, /home were
obviously different r/w filesystems).
jeff
--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list