[pkg-cryptsetup-devel] Bug#604814: upgrade-reports: Upgrade lenny to squeeze mostly successful

Jonas Meurer jonas at freesources.org
Wed Nov 24 14:51:23 UTC 2010


hey,

On 24/11/2010 Julien Cristau wrote:
> On Wed, Nov 24, 2010 at 14:53:59 +0100, David Kuehling wrote:
> 
> > Some warnings were printed during upgrade:
> > 
> >   ***
> > update-initramfs: Generating /boot/initrd.img-2.6.26-2-686
> > cryptsetup: WARNING: target sda2_crypt has a random key, skipped
> > /tmp/mkinitramfs_vkMxi2/scripts/local-top/cryptroot: line 11: [: too many arguments
> >   ***
> > 
> > No problems so far, my crypto-root is booting without problems.
> > 
>      1  #!/bin/sh
>      2  
>      3  #
>      4  # Standard initramfs preamble
>      5  #
>      6  prereqs()
>      7  {
>      8          # Make sure that cryptroot is run last in local-top
>      9          for req in $(dirname $0)/*; do
>     10                  script=${req##*/}
>     11                  if [ $script != cryptroot ]; then
>     12                          echo $script
>     13                  fi
>     14          done
>     15  }
>     16  
>     17  case $1 in
>     18  prereqs)
>     19          prereqs
>     20          exit 0
> 
> Weird.  Maybe the cryptsetup or initramfs-tools maintainer will have an
> idea.

for some reason, $script seems to contain a space.

David, please apply attached patch to
/usr/share/initramfs-tools/scripts/local-top/cryptroot and see, whether
that fixes the bug for you. you can try this by invoking
'update-initramfs -u' after applying the patch.

greetings,
 jonas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cryptroot-script.diff
Type: text/x-diff
Size: 1921 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20101124/43ea1dbb/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20101124/43ea1dbb/attachment.pgp>


More information about the pkg-cryptsetup-devel mailing list