Improving the reliability of file system monitoring tools (Collabora blog)
Improving the reliability of file system monitoring tools (Collabora blog)
Posted Mar 15, 2022 23:15 UTC (Tue) by gerdesj (subscriber, #5446)In reply to: Improving the reliability of file system monitoring tools (Collabora blog) by Wol
Parent article: Improving the reliability of file system monitoring tools (Collabora blog)
Wol, how much of root should be r/o? Just the top level? I think there are bigger fish to fry. For starters, having root go r/o is an early sign of damage on a fs - I've abused enough VMs to be familiar with this. Then you'll need a lot more mounts for all the other bits and pieces, including /root which really ought to be available no matter what (for root) so that there is a local place to store stuff in extremis.
I've never seen a distro do a r/o / either. It's just too much of a fiddle. Start down that path and you'll be doing things like maintaining a set of hard links with immutable flags set on them to stop the baddies instead of tripwire type solutions and other mad ideas. You can always play with SE Linux and co instead to get the desired effect too.
That's for desk/lap tops. Your servers/containers/etc are a different kettle of bits.
