hey marc,

On 16/03/2010 Marc Haber wrote:
> update-initramfs -v includes the following complaints:
> 
> find: warning: Unix filenames usually don't contain slashes (though pathnames 
> do).  That means that '-name `/etc/keyscript_swivel-*.ko'' will probably 
> evaluate to false all the time on this system.  You might find the 
> '-wholename' test more useful, or perhaps '-samefile'.  Alternatively, if you 
> are using GNU grep, you could use 'find ... -print0 | grep -FzZ 
> `/etc/keyscript_swivel-*.ko''.
> find: warning: Unix filenames usually don't contain slashes (though pathnames 
> do).  That means that '-name `/etc/keyscript_swivel_generic.ko'' will 
> probably evaluate to false all the time on this system.  You might find the 
> '-wholename' test more useful, or perhaps '-samefile'.  Alternatively, if you 
> are using GNU grep, you could use 'find ... -print0 | grep -FzZ 
> `/etc/keyscript_swivel_generic.ko''.
> find: warning: Unix filenames usually don't contain slashes (though pathnames 
> do).  That means that '-name `/etc/keyscript_swivel.ko'' will probably 
> evaluate to false all the time on this system.  You might find the 
> '-wholename' test more useful, or perhaps '-samefile'.  Alternatively, if you 
> are using GNU grep, you could use 'find ... -print0 | grep -FzZ 
> `/etc/keyscript_swivel.ko''.                                                 
> 
> This looks like the cryptsetup hook script code somehow confuses the
> keyscript name with a kernel module.

please set the shebang in /usr/share/initramfs-tools/hooks/cryptroot to
'#!/bin/sh -x' and send the initramfs-debug.log created with
'sh -x mkinitramfs -o /tmp/initramfs-debug 2>/tmp/initramfs-debug.log'
to this bugreport. don't forget to revert the change afterwards.

it seems like some bug in the initramfs cryptroot hook script adds the
keyscript path to $modules in add_device().

greetings,
 jonas

Attachment: signature.asc
Description: Digital signature

Reply via email to