> > For shared there is currently absolutely no provision. It > > is not enough to just update rpmdb or fake scripts because package may > > install itself both into /usr and into any other place in file system. > > So you need _rpm_ support with something like > > > > rpm -U --with-shared-usr > > Actually, rpm mostly does already Andrej. "--excludepath /usr" > accomplishes this. Scriptlets need to be aware of this option (if > possible) or be aware of /usr being mounted remotely when they try to > do anything that would require writing /usr. >
Ah, good. Is it possible for scripts to access list of excluded filesystems? OTOH one may also state that scripts have absolutely no business to mess up with /usr ... > > and rpm would skip adding files to /usr (but should obviously check and > > compare and warn if files are different). > > Yeah, that last part I mentioned in my last e-mail. That is gravy for > me. If it does it, awesome. If not, no biggie. > It is. Ignoring file versions mismatch results in hard to debug problems. I even say that RPM must abort in this case. -andrej
