Borsenkow Andrej wrote:

>>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 ... 
> 
> 
> It is. Ignoring file versions mismatch results in hard to debug
> problems. I even say that RPM must abort in this case.
> 


So maybe most problems can be solved by using --excludepath and 
redefining the %update_menus macro? That should really be the only 
things that appears in scripts and would mess with /usr. Granted, it's a 
work-around, but it could work until there is a real fix.

Buchan


-- 
|----------------Registered Linux User #182071-----------------|
Buchan Milne                Mechanical Engineer, Network Manager
Cellphone * Work            +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering         http://www.cae.co.za
GPG Key                   http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7


Reply via email to