Re: filesystem rpm fails when /home is NFS mounted

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



R P Herrold wrote:
> On Wed, 1 Apr 2009, Paul Heinlein wrote:
>
>   
>> I don't know if it's a bug or a feature, but the
>> filesystem-2.4.0-2.el5.centos rpm won't upgrade cleanly if /home is an
>> NFS filesystem.
>>     
>
> I confirm this is present in 5.3 where /home is an NFS mount, 
> and that I missed it in testing.  A workaround is:
>
> 1. Boot into single user node.
> 2. run: /sbin/service network start
> 3. run: yum -y update filesystem
>
> If your system emitted the warning, but did not 'bail', it is 
> safe to retieve the rpm locally, and to run:
>
> # rpm -Uvh filesystem*rpm --force
>   
I have te same problem, an NFS mounted home share with root_squash. Yum
ignores the package, so I downloaded it and tried it with rpm:

[root@raaf ~]# rpm -Uvh --force filesystem-2.4.0-2.el5.centos.i386.rpm
Preparing...                ###########################################
[100%]
   1:filesystem             ###########################################
[100%]
error: unpacking of archive failed on file /home: cpio: chown failed -
Operation not permitted


But the package is still not installed (I don't know what you mean with
'bail' by the way). Is there another way to get this installed? Is there
perhaps an option to ignore any errors and just install (apparently
--force does not do that).
Unmounting is not an option, too many users on the machine. So a reboot
would be needed. As someone else mentioned, waiting a couple of weeks is
also an option, if it get's fixed in the end.

Theo

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux