Re: Bug#609330: release-notes: update-grub seems not to be called by the kernel upon upgrade
On Sat, Jan 08, 2011 at 05:37:30PM +0100, Philipp Kern wrote: It's not entirely clear to me how it's supposed to happen or if it's just user error in the configuration files of the Lenny installation that was upgraded. The images are supposed to define a break-relation with the affected bootloaders. Not sure why this missed. Bastian -- Power is danger. -- The Centurion, Balance of Terror, stardate 1709.2 -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110108164906.ga2...@wavehammer.waldi.eu.org
Re: Bug#609330: release-notes: update-grub seems not to be called by the kernel upon upgrade
tag 609330 - squeeze reassign 609330 linux-2.6 unarchive 593683 found 593683 2.6.32-29 forcemerge 593683 609330 kthxbye On Sat, Jan 8, 2011 at 17:37:30 +0100, Philipp Kern wrote: Package: release-notes Severity: normal Hi, I just tried to upgrade a system following the release notes to the letter. This means doing first apt-get upgrade, then installing a new kernel and udev, reboot, then doing a full dist-upgrade. After reboot only the *old* kernel was present in the grub menu, not the new one. grub2 (to replace the installed grub1) was only installed *after* the reboot during the dist-upgrade. (So I did upgrade, install linux and udev, reboot, update-grub, reboot, dist-upgrade instead.) After the installation of grub2 I properly get a hook in /etc/kernel/postinst.d to call update-grub. Is it possible that you should either update grub2 more early in the process or run update-grub manually after the kernel installation and before the reboot? It's not entirely clear to me how it's supposed to happen or if it's just user error in the configuration files of the Lenny installation that was upgraded. waldi says the kernel should break pre-policy versions of bootloader packages, and apparently grub was missed. Cheers, Julien signature.asc Description: Digital signature
Processed: Re: Bug#609330: release-notes: update-grub seems not to be called by the kernel upon upgrade
Processing commands for cont...@bugs.debian.org: tag 609330 - squeeze Bug #609330 [release-notes] release-notes: update-grub seems not to be called by the kernel upon upgrade Removed tag(s) squeeze. reassign 609330 linux-2.6 Bug #609330 [release-notes] release-notes: update-grub seems not to be called by the kernel upon upgrade Bug reassigned from package 'release-notes' to 'linux-2.6'. unarchive 593683 Bug #593683 {Done: Bastian Blank wa...@debian.org} [linux-2.6] linux-2.6 - images does not conflict with pre-policy versions of bootloaders Unarchived Bug 593683 found 593683 2.6.32-29 Bug #593683 {Done: Bastian Blank wa...@debian.org} [linux-2.6] linux-2.6 - images does not conflict with pre-policy versions of bootloaders There is no source info for the package 'linux-2.6' at version '2.6.32-29' with architecture '' Unable to make a source version for version '2.6.32-29' Bug Marked as found in versions 2.6.32-29 and reopened. forcemerge 593683 609330 Bug#593683: linux-2.6 - images does not conflict with pre-policy versions of bootloaders Bug#609330: release-notes: update-grub seems not to be called by the kernel upon upgrade Forcibly Merged 593683 609330. kthxbye Stopping processing here. Please contact me if you need assistance. -- 593683: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593683 609330: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609330 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/handler.s.c.12945083102969.transcr...@bugs.debian.org
Re: Bug#609330: release-notes: update-grub seems not to be called by the kernel upon upgrade
On Sat, Jan 08, 2011 at 06:05:02PM +, Ben Hutchings wrote: On Sat, 2011-01-08 at 18:38 +0100, Julien Cristau wrote: waldi says the kernel should break pre-policy versions of bootloader packages, and apparently grub was missed. It wasn't. update-grub has never been called explicitly from the linux-image maintainer scripts. Instead, debian-installer used to set postinst_hook and postrm_hook in /etc/kernel-img.conf if the user chose to install GRUB. It is broken. Someone have to fix it up. Please show how. Bastian -- Women professionals do tend to over-compensate. -- Dr. Elizabeth Dehaver, Where No Man Has Gone Before, stardate 1312.9. -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110108212354.ga7...@wavehammer.waldi.eu.org
Re: Bug#609330: release-notes: update-grub seems not to be called by the kernel upon upgrade
On Sat, 2011-01-08 at 22:23 +0100, Bastian Blank wrote: On Sat, Jan 08, 2011 at 06:05:02PM +, Ben Hutchings wrote: On Sat, 2011-01-08 at 18:38 +0100, Julien Cristau wrote: waldi says the kernel should break pre-policy versions of bootloader packages, and apparently grub was missed. It wasn't. update-grub has never been called explicitly from the linux-image maintainer scripts. Instead, debian-installer used to set postinst_hook and postrm_hook in /etc/kernel-img.conf if the user chose to install GRUB. It is broken. Someone have to fix it up. Please show how. Backport grub2 r2157 and grub-legacy r811 (and subsequent fixups) to lenny. Ben. -- Ben Hutchings Once a job is fouled up, anything done to improve it makes it worse. signature.asc Description: This is a digitally signed message part