> I would like to have /usr mounted as read-only. > To achieve that, I have to ajust some things in the distro at every update. > Could it be fixed, has I think variable files does not have their place > there. > > This include kscd's /usr/share/apps/kscd/cddb/... > Maelstrom and some other games scores files. >
=> /var/lib should it go Oh, and do not forget KDE :( > I also use rpmdrake to update, and I keep images from the last CDs on my HD. > I > use � script that remount /usr rw, then mount my images loopback, launch > rpmdrake and does it the other way when finished. > > 1) Could the /usr ro option be included in some way (such as testing itand > automating remount) in rpmdrake or rpm ? that would be nice, as I don't see > any other tool that need write access to /usr > no, I do not see any sense in it. Either you have /usr ro or you constantly update. You install a system make sure it runs then makes /usr ro. You do not normally update such a system. /usr ro is not for a desktop, actually. It is more for a server. > 2) Could the loopback option be integrated in sources possibilities in > rpmdrake ? > you mean as an explicit source selection option? I do not think it is worthwhile. If you know what loopback is you have no problem mounting it manually. > 3) Sometimes, I think some process are not truly finished when rpmdrake > congratulates you for installing the packages. As a result, /usr is still in > use and if you stop the application quickly, remounting of /usr ro is not > possible. > this has nothing to do with rpmdrake. It happens when you update daemons so they are restarted off /usr. read-only /usr does not really coexist well with "volatile" system. -andrej
