[pkg-cryptsetup-devel] Bug#574163: "find: warning: Unix filenames usually don't conain slashes" in hook script
Marc Haber
mh+debian-bugs at zugschlus.de
Tue Mar 16 19:46:15 UTC 2010
Package: cryptsetup
Version: 2:1.1.0-1
Severity: normal
Hi,
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.
Greetings
Marc
-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-2.6.33-zgws1 root=/dev/mapper/root ro resume=/dev/mapper/swap0 quiet splash radeon.modeset=1
-- /etc/crypttab
# <target device> <source device> <key file> <options>
root /dev/mapper/swivel-c_root none luks,keyscript=/etc/keyscript_swivel
boot /dev/mapper/swivel-c_boot none luks,keyscript=/etc/keyscript_swivel
swap0 /dev/mapper/swivel-c_swap0 none luks,keyscript=/etc/keyscript_swivel
usr /dev/mapper/swivel-c_usr none luks,keyscript=/etc/keyscript_swivel
var /dev/mapper/swivel-c_var none luks,keyscript=/etc/keyscript_swivel
home /dev/mapper/swivel-c_home none luks,keyscript=/etc/keyscript_swivel
bigstuff /dev/mapper/swivel-c_bigstuff none luks,keyscript=/etc/keyscript_swivel
vm /dev/mapper/swivel-c_vm none luks,keyscript=/etc/keyscript_swivel
scyw00225 /dev/mapper/swivel-c_scyw00225 none luks,keyscript=/etc/keyscript_swivel
-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc noatime,nodiratime 0 0
/dev/mapper/swap0 none swap sw 0 0
/dev/mapper/root / ext3 noatime,nodiratime,errors=remount-ro 0 1
/dev/mapper/boot /boot ext3 noatime,nodiratime,errors=remount-ro 0 1
/dev/mapper/home /mnt/home ext3 noatime,nodiratime 0 2
/dev/mapper/usr /mnt/usr ext3 noatime,nodiratime 0 2
/dev/mapper/var /mnt/var ext3 noatime,nodiratime 0 2
/dev/mapper/bigstuff /mnt/bigstuff ext3 noatime,nodiratime 0 2
/dev/mapper/vm /mnt/vm ext3 noatime,nodiratime 0 2
tmpfs /tmp tmpfs noatime,nodiratime 0 0
/dev/scd0 /media/cdrom0 iso9660 ro,user,noauto 0 0
UUID=c2c07498-5582-4b24-b771-6f23136559fa /media/bootstick ext3 noauto 0 0
#/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
#/dev/sda1 /media/usb auto rw,user,noauto 0 0
#/dev/sda4 /media/usb4 auto rw,user,noauto 0 0
#/dev/hde1 /media/pcmcia vfat noauto,user,umask=077 0 0
-- lsmod
Module Size Used by
vfat 6820 0
fat 36008 1 vfat
isofs 25174 0
nls_utf8 928 0
udf 62456 0
usb_storage 29897 1
snd_intel8x0m 8400 0
snd_ac97_codec 80225 1 snd_intel8x0m
ac97_bus 742 1 snd_ac97_codec
tun 8884 2
radeon 543864 1
ttm 34114 1 radeon
drm_kms_helper 18609 1 radeon
drm 116981 3 radeon,ttm,drm_kms_helper
i2c_algo_bit 3715 1 radeon
ppdev 4294 0
lp 5768 0
parport 12962 2 ppdev,lp
sco 6231 2
bnep 7203 2
l2cap 25549 3 bnep
crc16 1011 1 l2cap
bluetooth 38935 5 sco,bnep,l2cap
ipt_ULOG 4461 1
vboxnetflt 10598 0
vboxnetadp 5186 0
vboxdrv 116590 2 vboxnetflt,vboxnetadp
acpi_cpufreq 5055 1
cpufreq_powersave 606 0
cpufreq_userspace 1372 0
cpufreq_conservative 7036 0
cpufreq_ondemand 6169 2
freq_table 1743 2 acpi_cpufreq,cpufreq_ondemand
iptable_filter 1030 0
ipt_MASQUERADE 1130 10
iptable_nat 2798 1
nf_nat 10767 2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 7663 3 iptable_nat,nf_nat
nf_conntrack 39683 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 799 1 nf_conntrack_ipv4
ip_tables 7397 2 iptable_filter,iptable_nat
x_tables 9112 4 ipt_ULOG,ipt_MASQUERADE,iptable_nat,ip_tables
binfmt_misc 4883 1
8021q 14027 0
bridge 35340 0
stp 1032 1 bridge
llc 2613 2 bridge,stp
ipv6 195862 42
usbhid 19657 0
mmc_block 6589 0
snd_hda_codec_analog 46653 1
snd_hda_intel 16009 4
snd_hda_codec 42520 2 snd_hda_codec_analog,snd_hda_intel
snd_pcm_oss 28573 0
snd_mixer_oss 11983 1 snd_pcm_oss
arc4 994 2
snd_pcm 48251 5 snd_intel8x0m,snd_ac97_codec,snd_hda_intel,snd_hda_codec,snd_pcm_oss
ecb 1489 2
pcmcia 23354 0
snd_seq_dummy 959 0
snd_seq_oss 21024 0
snd_seq_midi 3496 0
snd_rawmidi 13140 1 snd_seq_midi
iwl3945 62453 0
snd_seq_midi_event 3968 2 snd_seq_oss,snd_seq_midi
sdhci_pci 5047 0
tifm_sd 6410 0
sdhci 11863 1 sdhci_pci
yenta_socket 8878 1
iwlcore 75506 1 iwl3945
snd_seq 35503 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
i2c_i801 5880 0
rsrc_nonstatic 7483 1 yenta_socket
snd_timer 13290 2 snd_pcm,snd_seq
firewire_ohci 17736 0
tg3 96667 0
mmc_core 39316 3 mmc_block,tifm_sd,sdhci
mac80211 106528 2 iwl3945,iwlcore
rtc_cmos 6858 0
snd_seq_device 3965 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
firmware_class 5326 4 radeon,pcmcia,iwl3945,tg3
pcmcia_core 22364 3 pcmcia,yenta_socket,rsrc_nonstatic
video 15566 0
tifm_7xx1 3114 0
ata_generic 2063 0
intel_agp 19857 0
rng_core 2398 0
i2c_core 12538 5 radeon,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
firewire_core 33273 1 firewire_ohci
led_class 1873 1 sdhci
rtc_core 9641 1 rtc_cmos
tifm_core 3448 2 tifm_sd,tifm_7xx1
libphy 12387 1 tg3
output 1292 1 video
rtc_lib 1349 1 rtc_core
agpgart 20836 3 ttm,drm,intel_agp
cfg80211 92531 3 iwl3945,iwlcore,mac80211
pcspkr 1259 0
uhci_hcd 16188 0
snd 36436 21 snd_intel8x0m,snd_ac97_codec,snd_hda_codec_analog,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
ata_piix 17129 0
soundcore 4143 1 snd
crc_itu_t 1015 2 udf,firewire_core
ehci_hcd 26602 0
rfkill 11140 3 bluetooth,cfg80211
snd_page_alloc 5181 3 snd_intel8x0m,snd_hda_intel,snd_pcm
evdev 5985 16
psmouse 28437 0
ext3 87857 9
jbd 33535 1 ext3
mbcache 3990 1 ext3
sha256_generic 11161 18
aes_i586 6860 21
aes_generic 25762 1 aes_i586
cbc 1995 9
dm_crypt 8931 9
dm_mirror 10125 0
dm_region_hash 5776 1 dm_mirror
dm_log 7044 2 dm_mirror,dm_region_hash
dm_snapshot 24771 9
dm_mod 46734 73 dm_crypt,dm_mirror,dm_log,dm_snapshot
raid456 40328 0
async_raid6_recov 2806 1 raid456
async_pq 1392 2 raid456,async_raid6_recov
raid6_pq 77980 2 async_raid6_recov,async_pq
async_xor 865 3 raid456,async_raid6_recov,async_pq
xor 13829 1 async_xor
async_memcpy 586 2 raid456,async_raid6_recov
async_tx 1169 5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy
raid1 16725 0
md_mod 71947 2 raid456,raid1
sd_mod 22964 4
ahci 27304 2
libata 118304 3 ata_generic,ata_piix,ahci
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.33-zgws1 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages cryptsetup depends on:
ii dmsetup 2:1.02.39-1 The Linux Kernel Device Mapper use
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libdevmapper1.02.1 2:1.02.39-1 The Linux Kernel Device Mapper use
ii libpopt0 1.15-1 lib for parsing cmdline parameters
ii libuuid1 2.16.2-0 Universally Unique ID library
cryptsetup recommends no packages.
Versions of packages cryptsetup suggests:
ii dosfstools 3.0.9-1 utilities for making and checking
ii initramfs-tools [linux-initra 0.93.4 tools for generating an initramfs
ii udev 151-3 /dev/ and hotplug management daemo
-- no debconf information
More information about the pkg-cryptsetup-devel
mailing list