Red Hat Bugzilla – Bug 465883
Need Obsoletes in the kernel package for gfs2-kmod
Last modified: 2009-01-12 16:12:56 EST
The gfs2-kmod package is not longer necessary in RHEL 5.3 and beyond (and was Tech Preview in 5.2 and earlier).
I think the best solution to make sure our users aren't using old and outdated versions of gfs2-kmod it to add an obsoletes to the kernel package to make sure any versions that the user has on their system will be uninstalled upon installation of the new kernel that contains the in kernel gfs2 module.
Please let me know if that won't work, or there are other things that we need to do.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release. Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products. This request is not yet committed for inclusion in an Update
*** Bug 467013 has been marked as a duplicate of this bug. ***
wrt your comment at:
> There is no new version of the gfs2-kmod, it doesn't exist any more as such.
> Its empty so there ought to be no conflicts.
There is a package : kmod-gfs2-1.116-1.14.el5.ia64.rpm in the latest build and:
$ rpm -qpl kmod-gfs2-1.116-1.14.el5.ia64.rpm
The package has one file which is the conflicting file described in bug 467013.
(In reply to comment #0)
> The gfs2-kmod package is not longer necessary in RHEL 5.3 and beyond (and was
> Tech Preview in 5.2 and earlier).
> I think the best solution to make sure our users aren't using old and outdated
> versions of gfs2-kmod it to add an obsoletes to the kernel package to make sure
> any versions that the user has on their system will be uninstalled upon
> installation of the new kernel that contains the in kernel gfs2 module.
What about new versions of kmod-gfs2 package? Should they not exist at all? Please specify what's the desired behavior. Thanks.
No, all gfs2 kernel modules should be included with the standard Red Hat kernel. We just want to make sure that the users don't have any of the tech preview gfs2-kmod packages installed because they will override the newer in kernel gfs2 modules.
*** Bug 463983 has been marked as a duplicate of this bug. ***
what about the kmod-gfs2 rpm itself? I understand that the kernel module is now included in the kernel rpm and it will obsolete older versions of kmod-gfs2.rpm.
What is left is /etc/depmod.d/gfs2.conf. Does it stay in kmod-gfs2 rpm package?
that file is only needed if you need the kmod-gfs2 rpm package (so it will be removed when that package is removed).
Also, the obsoletes should obsolete any kmod-gfs2 that is older than 1.117, just in case it ever gets re-added in the future (I doubt it will, but it can't hurt to add that option).
Chris, can you provide a spec file patch that obsoletes the correct versions of gfs2-kmod?
Created attachment 321478 [details]
Patch to obsolete kmod-gfs2
This path should fix the kernel .spec file to remove kmod-gfs2 during an upgrade.
Adding Jon Masters, as he was developing a more generic approach for this problem. I'll let him comment directly.