[Pkg-cryptsetup-devel] Bug#477658: Bug#477658: [cryptsetup] problem related to resuming from encrypted swap partition

David Härdeman david at hardeman.nu
Thu Apr 24 13:30:59 UTC 2008


On Thu, April 24, 2008 12:39, spam2008 at meeque.de wrote:
> Line 69 of "/usr/share/initramfs-tools/hooks/cryptroot" tries to use
> this file to determine which partitions to decrypt during boot. However,
> the sed scrypt used seems to be buggy. It assumes whitespace where none
> is present:
>
> 	device=$(sed -rn 's/^RESUME[[:space:]]+=[[:space:]]+// p' \
> 	/etc/initramfs-tools/conf.d/resume)

Thanks, I'll change that to

> 	device=$(sed -rn 's/^RESUME[[:space:]]*=[[:space:]]*// p' \
> 	/etc/initramfs-tools/conf.d/resume)

as soon as I have access to my laptop.

-- 
David Härdeman






More information about the Pkg-cryptsetup-devel mailing list