Bug 128185
| Summary: | lvm2 should obsolete not conflict with lvm < 1.0.3-19 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jim Radford <radford> |
| Component: | lvm2 | Assignee: | Alasdair Kergon <agk> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | rawhide | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-09-17 15:52:21 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 123268 | ||
|
Description
Jim Radford
2004-07-19 19:52:37 UTC
Not convinced. If you're not using lvm when running the upgrade (ie you have no logical volumes) then simply remove the lvm rpm first. But if you *are* using lvm when upgrading, then you should upgrade the 'lvm' rpm as well as installing the lvm2 one. You need the 'lvm' rpm there for as long as you're using a 2.4 kernel. You want the 'lvm2' rpm when you boot with a 2.6 kernel. Where is this mythical lvm upgrade that doesn't conflict with lvm2? I don't see it in fedora-2.90. If it had existed I wouldn't have considered this a bug. Don't know where 2.90 is, but the rpm is in FC2: http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/Fedora/RPMS/lvm-1.0.3-19.0.i386.rpm I'd say that either lvm should be moved into 2.90 or lvm2 should conflict with it. Otherwise the upgrade from redhat-9 to fedora-2.90 is not self contained. Dealt with in 2_00_24-2: Added Obsoletes: lvm < 1.0.3-19 so an 'upgrade' will silently remove old incompatible lvm packages. Retained the 'conflicts' line so an 'install' of lvm2 will fail if any old lvm package isn't removed or upgraded first. Added a '%pre' section to ensure that a 2.6 kernel (or above) is being used during package install. (Otherwise someone running lvm on a 2.4 kernel could download the 'lvm2' package and upgrade to it, which would silently remove the lvm tools that are necessary for them to shut their machine down cleanly.) |