Processed: Re: Bug#468112: Initramfs generation reliability fixes.
Processing commands for [EMAIL PROTECTED]: tags 468112 pending Bug#468112: Initramfs generation reliability fixes. There were no tags set. Tags added: pending stop Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#468112: Initramfs generation reliability fixes.
tags 468112 pending stop On Tue, Apr 08, 2008 at 04:52:23PM +1000, Luke Yelavich wrote: Gah the patch is the wrong way around. here is a corrected patch, along with another change we've introduced since I originally filed the bug. okay thanks for refreshing the patch, makes much more sense now. i'll add it to todays upload. best regards -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#468112: Initramfs generation reliability fixes.
On Wed, 27 Feb 2008, Luke Yelavich wrote: 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 okay, i still don't understands belows patch. 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} why does a mv instead of an hardlinkg ensure better reliabiality!? with aboves hardlink you are assured to have a backup initramfs. do you need support /boot that have no hardlink support? sorry need more explanations for above to be satisfied. - rm -f ${initramfs_bak} + mv -f ${initramfs_bak} ${initramfs} how is that better again? only a result of aboves first choice of not using hardlinks. fi - if mkinitramfs ${OPTS} ${initramfs}.new ${version}; then - mv -f ${initramfs}.new ${initramfs} + if mkinitramfs ${OPTS} ${initramfs} ${version}; then this hook got inversed but that doesn't matter right now, need more info anyway. thanks -- maks -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#468112: Initramfs generation reliability fixes.
Package: initramfs-tools Severity: wishlist Version: 0.91e User: [EMAIL PROTECTED] 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=$? signature.asc Description: Digital signature