Your message dated Tue, 6 Oct 2009 01:36:56 +0200
with message-id <[email protected]>
and subject line Re: [pkg-cryptsetup-devel] Bug#549668: strange find errors
from cryptroot during initramfs creation
has caused the Debian Bug report #549668,
regarding strange find errors from cryptroot during initramfs creation
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
549668: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549668
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.
--- End Message ---
--- Begin Message ---
hey christoph,
On 05/10/2009 Christoph Anton Mitterer wrote:
> 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.
sorry, i'm unable to reproduce the bug. it seems like your custom
initramfs hook gives a pathname as argument to find option -name, and
this indeed is a bug. take a look at -wholename option of find.
neither a initramfs hook script from cryptsetup package nor any other
initramfs hook does this mistake, thus closing the bugreport.
in future, please try to reproduce bugs on clean setups, without your
custom changes, before actually reporting a bugreport.
greetings,
jonas
signature.asc
Description: Digital signature
--- End Message ---