Bug 465883 - Need Obsoletes in the kernel package for gfs2-kmod
Summary: Need Obsoletes in the kernel package for gfs2-kmod
Keywords:
Status: CLOSED DUPLICATE of bug 460047
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Chris Feist
QA Contact: Martin Jenner
URL:
Whiteboard:
: 463983 467013 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-10-06 22:47 UTC by Chris Feist
Modified: 2009-01-12 21:12 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-12-03 14:42:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch to obsolete kmod-gfs2 (1.53 KB, patch)
2008-10-24 23:29 UTC, Chris Feist
no flags Details | Diff

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.


Note You need to log in before you can comment on or make changes to this bug.