[pkg-cryptsetup-devel] Bug#549668: strange find errors from cryptroot during initramfs creation

Christoph Anton Mitterer christoph.anton.mitterer at physik.uni-muenchen.de
Mon Oct 5 12:08:48 UTC 2009


Package: cryptsetup
Version: 2:1.0.7-2
Severity: normal


Hi.

Invoking update-initramfs -u -v includes the following strange find errors:

...
Calling hook cryptroot
find: warning: Unix filenames usually don't contain slashes (though  
pathnames do).  That means that '-name  
`/lib/cryptsetup/scripts/decrypt_openpgp-*.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  
`/lib/cryptsetup/scripts/decrypt_openpgp-*.ko''.
find: warning: Unix filenames usually don't contain slashes (though  
pathnames do).  That means that '-name  
`/lib/cryptsetup/scripts/decrypt_openpgp_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  
`/lib/cryptsetup/scripts/decrypt_openpgp_generic.ko''.
find: warning: Unix filenames usually don't contain slashes (though  
pathnames do).  That means that '-name  
`/lib/cryptsetup/scripts/decrypt_openpgp.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  
`/lib/cryptsetup/scripts/decrypt_openpgp.ko''.
Adding module /lib/modules/2.6.30-heisenberg/kernel/crypto/sha256_generic.ko
Adding binary /sbin/cryptsetup
Adding library /lib/libpopt.so.0
...

This seems to have nothing to do with my custom keyscript, as it also  
happens with the other keyscripts.


Cheers,
Chris.


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-2.6.30-heisenberg root=/dev/mapper/root ro

-- /etc/fstab
/dev/mapper/root                        /               ext3            
  defaults,errors=remount-ro,data=ordered,acl

#/dev/mapper/swap                       none            swap            sw


/dev/cdrom                              /media/cdrom0   udf,iso9660     
  noauto,user
#/dev/fd0                               /media/floppy0  auto            
  noauto,user,rw

-- lsmod
Module                  Size  Used by
nvidia              10316488  38
cn                      9644  1
cpufreq_stats           5892  0
fuse                   61248  1
btusb                  14388  0
bluetooth              59172  1 btusb
joydev                 12672  0
pcmcia                 29096  0

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.






More information about the pkg-cryptsetup-devel mailing list