Your message dated Tue, 14 Apr 2009 04:17:08 +0000
with message-id <[email protected]>
and subject line Bug#523931: fixed in kernel-package 12.008
has caused the Debian Bug report #523931,
regarding kernel-package: postinst hook script (update-grub) ran before
/etc/kernel/postinst.d/initramfs.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
523931: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523931
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: kernel-package
Version: 12.007
Severity: normal
Hi,
I use grub-pc (AKA grub2), the config file (grub.cfg) is created from template
when update-grub is ran.
Thos is done by the postinst_hook defined in /etc/kernel-img.conf
postinst_hook = update-grub
postrm_hook = update-grub
But at this time, initramfs (ran from /etc/kernel/postinst.d/initramfs) doesnt
have created the initrd yet.
So my grug.cfg doesnt contains the reference to the initrd and the system is not
bootable.
Here is the sequence:
-------------------------
Dépaquetage de linux-image-2.6.30-rc1-git5-k8-2 (à partir de
linux-image-2.6.30-rc1-git5-k8-2_20090413_amd64.deb) ...
Examining /etc/kernel/preinst.d/
Done.
dpkg-deb: --fsys-tarfile linux-image-2.6.30-rc1-git5-k8-2_20090413_amd64.deb
Paramétrage de linux-image-2.6.30-rc1-git5-k8-2 (20090413) ...
Running depmod.
Running postinst hook script update-grub.
Generating grub.cfg ...
Found Debian background: moreblue-orbit-grub.png
Found linux image: /boot/vmlinuz-2.6.30-rc1-git5-k8-2
Found linux image: /boot/vmlinuz-2.6.30-rc1-git5-k8-1
Found initrd image: /boot/initrd.img-2.6.30-rc1-git5-k8-1
Found linux image: /boot/vmlinuz-2.6.29-k8-2
Found initrd image: /boot/initrd.img-2.6.29-k8-2
Found linux image: /boot/vmlinuz-2.6.29-git12-k8-1
Found initrd image: /boot/initrd.img-2.6.29-git12-k8-1
Warning: update-grub_lib is deprecated, use grub-mkconfig_lib instead
Found memtest86+ image: /memtest86+.bin
done
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs
cryptsetup: WARNING: found more than one resume device candidate:
/dev/mapper/vg0-swap_lv
swap:/dev/mapper/vg0-swap_lv
---------------------------
Is it possible to have the postinst_hook executed AFTER everything?
It can be moved it in the /etc/kernel/postinst.d directory/ but then we need a
mean to sequence the scripts in the directory (i.e. 10_initramfs,
20_update-grub, ...)
Regards
Jean-Luc
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (900, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30-rc1-git5-k8-1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages kernel-package depends on:
ii binutils 2.19.51.20090315-1 The GNU assembler, linker and bina
ii build-essential 11.4 Informational list of build-essent
ii debianutils 3.0.1 Miscellaneous utilities specific t
ii file 5.00-1 Determines file type using "magic"
ii gettext 0.17-6 GNU Internationalization utilities
ii make 3.81-5 The GNU version of the "make" util
ii module-init-tools 3.7-pre9-1 tools for managing Linux kernel mo
ii po-debconf 1.0.16 tool for managing templates file t
ii util-linux 2.13.1.1-1 Miscellaneous system utilities
kernel-package recommends no packages.
Versions of packages kernel-package suggests:
ii bzip2 1.0.5-1 high-quality block-sorting file co
ii docbook-utils 0.6.14-1.1 Convert Docbook files to other for
ii e2fsprogs 1.41.3-1 ext2/ext3/ext4 file system utiliti
ii initramfs-tools [linux-in 0.93.2 tools for generating an initramfs
pn libdb3-dev <none> (no description available)
ii libncurses5-dev [libncurs 5.7+20090404-1 developer's libraries and docs for
ii linux-source-2.6.29 [linu 2.6.29-2 Linux kernel source for version 2.
ii xmlto 0.0.22-1 XML-to-any converter
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: kernel-package
Source-Version: 12.008
We believe that the bug you reported is fixed in the latest version of
kernel-package, which is due to be installed in the Debian FTP archive:
kernel-package_12.008.dsc
to pool/main/k/kernel-package/kernel-package_12.008.dsc
kernel-package_12.008.tar.gz
to pool/main/k/kernel-package/kernel-package_12.008.tar.gz
kernel-package_12.008_all.deb
to pool/main/k/kernel-package/kernel-package_12.008_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Manoj Srivastava <[email protected]> (supplier of updated kernel-package
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Mon, 13 Apr 2009 22:52:37 -0500
Source: kernel-package
Binary: kernel-package
Architecture: source all
Version: 12.008
Distribution: unstable
Urgency: low
Maintainer: Manoj Srivastava <[email protected]>
Changed-By: Manoj Srivastava <[email protected]>
Description:
kernel-package - A utility for building Linux kernel related Debian packages.
Closes: 523931
Changes:
kernel-package (12.008) unstable; urgency=low
.
* [55b39b3]: Move invocation of postinst hook scripts after
/etc/kernel/*.d/* scripts A lot of people have update-grub in their
/etc/kernel-img.conf postint_hook setting. If that is called early,
the initramfs invocation in /etc/kernel/postinst.d/initramfs has not
yet happened, so the update grub script does not notice the
initramfs, making the system unbootable. Yes, the update grub cant
be moved into /etc/kernel/postinst.d/ too, but this is friendlier.
Bug fix: "postinst hook script (update-grub) ran before
/etc/kernel/postinst.d/initramfs.", thanks to Jean-Luc Coulon (f5ibh)
(Closes: #523931).
* [e202c29]: Fix the arch passed in for the clean target for arme{l,b}
The clean target wrks with a minimal setup, since ./debian id
removed, and thus was nor passing the arch arm for armel and armeb,
This commit fixes that. Only the clean target was affected.
Checksums-Sha1:
0fcca1665185e29b0485f1d4e3ffaea7ef943440 900 kernel-package_12.008.dsc
fcb20f2218e210ce6b52738d7c82c4138a65ab04 562605 kernel-package_12.008.tar.gz
6d82c63849f93bffdc76eb260d530004ec8add58 507758 kernel-package_12.008_all.deb
Checksums-Sha256:
57f4c8f1059cfed7a6e8480481a9d171db0df8a71adc3ad7a817615636fa98e1 900
kernel-package_12.008.dsc
07e24d52b360dc83adebabb6e4cb4bdb949fbf3d76db9c17dab1fe574775f290 562605
kernel-package_12.008.tar.gz
84ad977a78624b2f32a75d38eaedd88522c47282f10b1f1ad132162920b66816 507758
kernel-package_12.008_all.deb
Files:
b7d13302af0e69b0187f4a346770e7c2 900 misc optional kernel-package_12.008.dsc
cb140322f974949e1a3f2ea065653958 562605 misc optional
kernel-package_12.008.tar.gz
be3c7c58838a323844339a8f4027db37 507758 misc optional
kernel-package_12.008_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAknkCyQACgkQIbrau78kQkyAKQCePdZftn5x/xlhf+84eOJhtma6
dgEAni4+7foxXKiVe4W963eEthV0UUbi
=eo/x
-----END PGP SIGNATURE-----
--- End Message ---