Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   kmod-xfs and weak-updates (http://www.linux-archive.org/centos/193043-kmod-xfs-weak-updates.html)

Ned Slider 11-13-2008 08:48 PM

kmod-xfs and weak-updates
 
Tony Schreiner wrote:
I installed kmod-xfs-0.4-2 back with kernel-2.6.18-92.1.13. I have
updated kernels but there have been no new kmod-xfs. It still works
because of weak-updates (I guess). Currently:


# find /lib/modules -name xfs.ko
/lib/modules/2.6.18-92.1.13.el5/extra/xfs/xfs.ko
/lib/modules/2.6.18-92.1.13.el5/weak-updates/xfs/xfs.ko
/lib/modules/2.6.18-92.1.17.el5/weak-updates/xfs/xfs.ko
/lib/modules/2.6.18-92.1.18.el5/weak-updates/xfs/xfs.ko


My question is: kernel 2.6.18-92.1.13 is now the oldest one present on
my system and will be removed next update. Do I need to worry about
that? Will it take the remaining kmod-xfs with it?




No, you don't need to worry. Anything installed in
/lib/modules/2.6.18-92.1.13.el5/extra/ will be left on the system when
that kernel is uninstalled so the links in weak-updates will still be
functional.



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

Karanbir Singh 11-13-2008 09:54 PM

kmod-xfs and weak-updates
 
Tony Schreiner wrote:
My question is: kernel 2.6.18-92.1.13 is now the oldest one present on
my system and will be removed next update. Do I need to worry about
that? Will it take the remaining kmod-xfs with it?


Only files directly owned by the kernel will get removed when the kernel
rpm is removed from your machine; which, as a policy holds true for any
rpm. This is one of the many reasons why packagers are encouraged to
list-and-own specific components and not complete directory tree's when
they setup the spec files.


--
Karanbir Singh : http://www.karan.org/ : 2522219@icq
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Tony Schreiner 11-14-2008 01:14 AM

kmod-xfs and weak-updates
 
Karanbir Singh wrote:

Tony Schreiner wrote:
My question is: kernel 2.6.18-92.1.13 is now the oldest one present
on my system and will be removed next update. Do I need to worry
about that? Will it take the remaining kmod-xfs with it?


Only files directly owned by the kernel will get removed when the
kernel rpm is removed from your machine; which, as a policy holds true
for any rpm. This is one of the many reasons why packagers are
encouraged to list-and-own specific components and not complete
directory tree's when they setup the spec files.


My concern came from the fact that xfs.ko belongs to the kmod-xfs
package and older versions kmod-xfs had a dependency on a kernel version
and would be removed by yum when that kernel was removed. I guess that
the latest kmod-xfs-0.4-2 does not; which I suppose I could have checked
for myself in the first place.


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


All times are GMT. The time now is 12:25 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.