[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#468112: marked as done (Initramfs generation reliability fixes.)



Your message dated Wed, 09 Apr 2008 09:03:38 +0000
with message-id <E1JjWDS-0006Bk-Oc@ries.debian.org>
and subject line Bug#468112: fixed in initramfs-tools 0.92
has caused the Debian Bug report #468112,
regarding Initramfs generation reliability fixes.
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 owner@bugs.debian.org
immediately.)


-- 
468112: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=468112
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: initramfs-tools
Severity: wishlist
Version: 0.91e
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch hardy ubuntu

Attached is a patch to improve the way update-initramfs handles the generating of new or updated initramfs images for kernels. It puts in place a few measures to ensure that if there is not enough disk space on /boot, a previous initramfs is still in tact, to allow the booting of that kernel. The patch applies against current git head. See the Ubuntu specification found at the following URL for more information: 
https://wiki.ubuntu.com/HardyInitramfsErrorHandling
diff -urN initramfs-tools/update-initramfs initramfs-tools.new/update-initramfs
--- initramfs-tools/update-initramfs	2008-02-26 11:04:36.943676705 +1100
+++ initramfs-tools.new/update-initramfs	2008-02-26 11:01:00.555676705 +1100
@@ -87,7 +87,7 @@
 	[ ! -r "${initramfs}" ] && return 0
 	initramfs_bak="${initramfs}.dpkg-bak"
 	[ -r "${initramfs_bak}" ] && rm -f "${initramfs_bak}"
-	ln -f "${initramfs}" "${initramfs_bak}"
+	mv -f "${initramfs}" "${initramfs_bak}"
 	verbose "Keeping ${initramfs_bak}"
 }
 
@@ -131,7 +131,7 @@
 {
 	[ -z "${initramfs_bak}" ] && return 0
 	verbose "Restoring ${initramfs_bak}"
-	rm -f "${initramfs_bak}"
+	mv -f "${initramfs_bak}" "${initramfs}"
 }
 
 
@@ -142,8 +142,7 @@
 	if [ "${verbose}" = 1 ]; then
 		OPTS="-v ${OPTS}"
 	fi
-	if mkinitramfs ${OPTS} "${initramfs}.new" "${version}"; then
-		mv -f "${initramfs}.new" "${initramfs}"
+	if mkinitramfs ${OPTS} "${initramfs}" "${version}"; then
 		set_sha1
 	else
 		mkinitramfs_return="$?"

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: initramfs-tools
Source-Version: 0.92

We believe that the bug you reported is fixed in the latest version of
initramfs-tools, which is due to be installed in the Debian FTP archive:

initramfs-tools_0.92.dsc
  to pool/main/i/initramfs-tools/initramfs-tools_0.92.dsc
initramfs-tools_0.92.tar.gz
  to pool/main/i/initramfs-tools/initramfs-tools_0.92.tar.gz
initramfs-tools_0.92_all.deb
  to pool/main/i/initramfs-tools/initramfs-tools_0.92_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 468112@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
maximilian attems <maks@debian.org> (supplier of updated initramfs-tools 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Wed, 09 Apr 2008 10:42:49 +0200
Source: initramfs-tools
Binary: initramfs-tools
Architecture: source all
Version: 0.92
Distribution: unstable
Urgency: low
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Changed-By: maximilian attems <maks@debian.org>
Description: 
 initramfs-tools - tools for generating an initramfs
Closes: 447611 463607 465901 467078 467627 468112 468113 470869 474691
Changes: 
 initramfs-tools (0.92) unstable; urgency=low
 .
   Release "Ogni contrada è patria del ribelle"
 .
   [ maximilian attems ]
   * init: export ROOTFLAGS + ROOTFSTYPE.
   * debian/control: s/XS-Vcs/Vcs/
   * mkinitramfs: Drop gzip -9 option. (closes: #470869)
     Thanks Tollef Fog Heen <tfheen@err.no>.
   * Ignore lintian warnings about empty directories.
   * framebuffer: Let udev create fb devices.
   * framebuffer: Leave tty devices for udev too.
   * manpages: fix  hyphen-used-as-minus-sign
   * init: fix mkdir usage.
   * init: Set proper permissions of /dev/console mknod fallback.
   * scripts/function: Use mknod directly.
   * debian/control: Depend on latest klibc for mknod usage.
   * scripts/functions: fix configure_networking() for multiple interfaces.
     (closes: #467078) Thanks Michal Sojka <sojkam1@fel.cvut.cz>.
   * ps3 nuke useless hardcoded initramfs script. (closes: #468113)
   * resume: Add support for resume_offset swap file suspend to disk.
     (closes: #474691) Thanks Alan Jenkins <alan-jenkins@tuffmail.co.uk>.
   * update-initramfs: Rename function according to reliability fix.
   * hook-functions: Add atl1, cxgb3, e1000e, igb, ipg, niu, sky2 to
     net section of initramfs modules. (closes: #463607)
   * hook-functions: MODULES=dep fix ps3 support.
   * initramfs-tools.8: Small documentation fixes. (closes: #467627)
 .
   [ debian@x.ray.net ]
   * configure_network(): do nothing if device already configured.
     (closes: #465901)
 .
   [ Joey Hess ]
   * update-initramfs: use dpkg-trigger. (closes: #447611)
 .
   [ Luke Yelavich ]
   * update-initramfs: Initramfs generation reliability fixes.
     (closes: #468112)
 .
   [ Fabio M. Di Nitto ]
   *  hook-functions: Add support for sunvnet and sunvdc.
Files: 
 331235c0dd9e0dfbc2ef8b4065a2c9a9 780 utils optional initramfs-tools_0.92.dsc
 66617c9ca31288fcadeb88e69af2c23d 65089 utils optional initramfs-tools_0.92.tar.gz
 e42742da43870f0544feacbbcd7bb832 71950 utils optional initramfs-tools_0.92_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH/IIJeW7Lc5tEHqgRAkScAKDA9LT52pky3AVKva6wmfSJaX4pNQCgiIEe
gsS10Xjq+XjPSHR+FXjbfy8=
=00G2
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: