Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 465883

Summary: Need Obsoletes in the kernel package for gfs2-kmod
Product: Red Hat Enterprise Linux 5 Reporter: Chris Feist <cfeist>
Component: kernelAssignee: Chris Feist <cfeist>
Status: CLOSED DUPLICATE QA Contact: Martin Jenner <mjenner>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3CC: anton.fang, atodorov, borgan, bstevens, cfeist, ddomingo, jcm, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-12-03 14:42:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch to obsolete kmod-gfs2 none

Description Chris Feist 2008-10-06 22:47:32 UTC
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.

Thanks!
Chris

Comment 1 RHEL Program Management 2008-10-07 13:57:26 UTC
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
release.

Comment 2 Steve Whitehouse 2008-10-15 08:15:31 UTC
*** Bug 467013 has been marked as a duplicate of this bug. ***

Comment 3 Alexander Todorov 2008-10-15 10:07:53 UTC
Steve,
wrt your comment at:
https://bugzilla.redhat.com/show_bug.cgi?id=467013#c2

> 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 
/etc/depmod.d/gfs2.conf


The package has one file which is the conflicting file described in bug 467013.

Comment 4 Alexander Todorov 2008-10-15 10:09:48 UTC
(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.

Comment 5 Chris Feist 2008-10-15 20:13:43 UTC
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.

Comment 6 Chris Feist 2008-10-15 20:16:00 UTC
*** Bug 463983 has been marked as a duplicate of this bug. ***

Comment 7 Alexander Todorov 2008-10-16 06:37:00 UTC
Chris,
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?

Thanks!

Comment 8 Chris Feist 2008-10-16 20:52:59 UTC
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).

Comment 9 Kiersten (Kerri) Anderson 2008-10-24 15:33:14 UTC
Chris, can you provide a spec file patch that obsoletes the correct versions of gfs2-kmod?

Comment 11 Chris Feist 2008-10-24 23:29:21 UTC
Created attachment 321478 [details]
Patch to obsolete kmod-gfs2

This path should fix the kernel .spec file to remove kmod-gfs2 during an upgrade.

Comment 12 Don Zickus 2008-10-24 23:39:48 UTC
Adding Jon Masters, as he was developing a more generic approach for this problem.  I'll let him comment directly.