Bug 443209
| Summary: | anaconda should remove "Upgrade to ..." from grub menu after upgrade with preupgrade | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Ronny Buchmann <ronny-rhbugzilla> |
| Component: | preupgrade | Assignee: | Will Woods <wwoods> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 9 | CC: | katzj, wwoods |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-11-26 06:13:05 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: | |||
|
Description
Ronny Buchmann
2008-04-19 09:41:20 UTC
(No preupgrade component to reassign to yet) It'd actually be nice I think if the preupgrade package did this itself in its %post (or %preun) -- that'd keep anaconda from having to keep track of exactly what it should be trying to remove. Also, it might be nice if preupgrade used the grub one-shot default rather than permanently changing the default. (In reply to comment #1) > (No preupgrade component to reassign to yet) This was supposed to be getting fixed - for now, file tickets in trac: http://fedorahosted.org/preupgrade/ > It'd actually be nice I think if the preupgrade package did this itself in its > %post (or %preun) -- that'd keep anaconda from having to keep track of exactly > what it should be trying to remove. Oh, so when the preupgrade package gets installed during the upgrade, it could clean up after itself? I guess that makes sense. Something like: grubby --remove-kernel=/boot/upgrade/vmlinuz rm -rf /boot/upgrade should do it. > Also, it might be nice if preupgrade used the grub one-shot default rather > than permanently changing the default. Not sure how to configure that. Grubby doesn't seem to support it. Any further info on this would be appreciated. (In reply to comment #2) > (In reply to comment #1) > > It'd actually be nice I think if the preupgrade package did this itself in its > > %post (or %preun) -- that'd keep anaconda from having to keep track of exactly > > what it should be trying to remove. > > Oh, so when the preupgrade package gets installed during the upgrade, it could > clean up after itself? I guess that makes sense. Something like: > grubby --remove-kernel=/boot/upgrade/vmlinuz > rm -rf /boot/upgrade > should do it. Yeah, seems reasonable to me. > > Also, it might be nice if preupgrade used the grub one-shot default rather > > than permanently changing the default. > > Not sure how to configure that. Grubby doesn't seem to support it. Any further > info on this would be appreciated. From `rpm -q grub --changelog` - add patch from GRUB mailing list from Keir Fraser to add a --once flag to savedefault function so that you can have the equivalent of lilo -R functionality (use 'savedefault --default=N --once' from the grub shell) Not implemented in grubby as it's not supported by all bootloaders Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping preupgrade-1.0.0-1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/preupgrade-1.0.0-1.fc10 preupgrade-1.0.0-1.fc8 has been pushed to the Fedora 8 stable repository. If problems still persist, please make note of it in this bug report. preupgrade-1.0.0-1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. preupgrade-1.0.0-1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |