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

Bug#585609: linux-base: postinstall script fails on loop-aes partitions



On Sat, 2010-06-12 at 12:16 +0200, Winfried Tilanus wrote:
> Package: linux-base
> Version: 2.6.32-15
> Severity: normal
> Tags: squeeze
> 
> 
> linux-base.postinst fails on loop-aes partitions configured in /etc/fstab like this:
> /dev/sda7	/tmp		ext3	defaults,loop=/dev/loop5,encryption=AES256,phash=random/1777 0 0
> /dev/sda6	/var		ext3 	defaults,loop=/dev/loop6,encryption=AES256,gpgkey=/root/masterkey.gpg
> 
> The error comes from tune2fs (Bad magic number in super-block while
> trying to open /dev/sda7) on line 1045 of the postinst script.

I don't think this is fixable.  Since these partitions are encrypted we
cannot read the filesystem label or UUID before they are mounted.  Note
also that loop-aes is not included in squeeze.  I strongly recommend you
switch to dm-crypt.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

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


Reply to: