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

Bug#783620: [PATCH initramfs-tools] update-initramfs: Run 'sync' after writing the initramfs



On Mon, 07 Dec 2015 00:49:55 +0000 Ben Hutchings <ben@decadent.org.uk> wrote:
> Control: tag -1 patch
> ---
> Bug #783620 involves several machines with root on xfs being upgraded
> from wheezy to jessie and then immediately rebooted.  In some cases
> the initramfs was apparently written to the journal but not committed
> during the reboot.  As GRUB doesn't replay the journal, it loaded an
> empty initramfs and the kernel failed to boot.
> 
> There is clearly a bug elsewhere (init system or kernel) that
> prevented the filesystem being cleanly shut down.  However, there
> seems to be a general risk here, so add a 'sync' to mitigate it.
[...]

That bug appears to be: https://bugs.debian.org/811497

Ben.

-- 
Ben Hutchings
Horngren's Observation:
                   Among economists, the real world is often a special case.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: