[CentOS] filesystem rpm fails when /home is NFS mounted

Paul Heinlein heinlein at madboa.com
Fri Apr 3 15:31:23 UTC 2009


On Fri, 3 Apr 2009, Tsai Li Ming wrote:

> Found this on upstream bugzilla:
> https://bugzilla.redhat.com/show_bug.cgi?id=483071

Good catch! Panu Matilainen posted what appears to be the answer, 
though I haven't tested it yet:

> To have rpm semi-reasonably deal with NFS-mounts on rpm "owned" 
> paths, you need to tell rpm about them. This'll tell rpm to avoid 
> touching /home and /usr/local:
>
> # echo "%_netsharedpath /home:/usr/local" > /etc/rpm/macros.nfs

-- 
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/


More information about the CentOS mailing list