Package: cryptsetup Version: 2:1.1.3-1 Severity: important Tags: upstream When a filesystem has the noauto option configured in /etc/crypttab it is ignored by the `cryptdisks_start filesystem_name` command
I think it is due to the fact that cryptdisks_start sets: INITSTATE="remaining" and in the handle_crypttab_line_start call (from file /lib/cryptsetup/cryptdisks.functions), when handling the options of a filesystem (function parse_opts),the option noauto is treated as follows: noauto) if [ -n "$INITSTATE" ]; then IGNORE="yes" fi So as $INITSTATE is not empty, the filesystem is ignored and not mounted by the manual command. -- Package-specific info: -- /proc/cmdline root=UUID=d7fba61b-20ce-4677-83ea-e2e4fb7389be mem=2000mb acpi_osi=Linux ro -- /etc/crypttab # <target name> <source device> <key file> <options> cvs /home/antonio/cfsroot none noauto,checkargs=ext2,tries=3,cipher=aes-cbc-plain -- /etc/fstab # /etc/fstab: static file system information. # # Use 'vol_id --uuid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sdb2 during installation UUID=d7fba61b-20ce-4677-83ea-e2e4fb7389be / ext3 noatime,errors=remount-ro 0 1 # swap was on /dev/sdb1 during installation UUID=0b177ba8-9ce8-46fa-9c44-1b479179df5b none swap sw 0 0 #cryptofilesystem /dev/mapper/cvs /c ext3 noauto,noatime,user 0 0 -- lsmod Module Size Used by ipt_MASQUERADE 1134 2 iptable_nat 3519 1 nf_nat 10456 2 ipt_MASQUERADE,iptable_nat nf_conntrack_ipv4 7597 3 iptable_nat,nf_nat nf_conntrack 37775 4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4 nf_defrag_ipv4 779 1 nf_conntrack_ipv4 ip_tables 7690 1 iptable_nat x_tables 8335 3 ipt_MASQUERADE,iptable_nat,ip_tables tun 8728 2 acpi_cpufreq 4907 0 cpufreq_powersave 602 0 cpufreq_conservative 4018 0 cpufreq_stats 1940 0 cpufreq_userspace 1444 0 parport_pc 15799 0 sco 5837 2 ppdev 4058 0 bridge 32851 0 stp 996 1 bridge lp 5570 0 bnep 7376 2 parport 22554 3 parport_pc,ppdev,lp rfcomm 25063 4 l2cap 21677 16 bnep,rfcomm crc16 1027 1 l2cap vboxnetadp 5118 0 vboxnetflt 12555 0 vboxdrv 126574 2 vboxnetadp,vboxnetflt binfmt_misc 4875 1 uinput 4796 1 fuse 43554 1 loop 9721 0 btusb 7997 2 bluetooth 36259 9 sco,bnep,rfcomm,l2cap,btusb dm_crypt 9059 0 dm_mod 45854 1 dm_crypt uvcvideo 45194 0 videodev 25445 1 uvcvideo v4l1_compat 10250 2 uvcvideo,videodev snd_hda_codec_realtek 162851 1 snd_hda_intel 15263 3 snd_hda_codec 45998 2 snd_hda_codec_realtek,snd_hda_intel snd_hwdep 4054 1 snd_hda_codec snd_pcm_oss 28479 0 snd_mixer_oss 10461 1 snd_pcm_oss snd_pcm 47350 4 snd_hda_intel,snd_hda_codec,snd_pcm_oss arc4 974 2 ecb 1405 2 snd_seq_midi 3480 0 snd_rawmidi 12313 1 snd_seq_midi snd_seq_midi_event 3684 1 snd_seq_midi snd_seq 35303 2 snd_seq_midi,snd_seq_midi_event ath9k 238041 0 snd_timer 12258 3 snd_pcm,snd_seq snd_seq_device 3673 3 snd_seq_midi,snd_rawmidi,snd_seq mac80211 121381 1 ath9k ath 5982 1 ath9k i2c_isch 2690 0 uhci_hcd 15953 0 snd 33551 15 snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device cfg80211 86910 3 ath9k,mac80211,ath video 14605 0 sony_laptop 20169 0 soundcore 3450 1 snd ehci_hcd 27230 0 rfkill 10196 5 bluetooth,cfg80211,sony_laptop battery 3782 0 button 3598 0 output 1204 1 video ac 1640 0 i2c_core 12612 2 videodev,i2c_isch serio_raw 2916 0 sky2 32849 0 pcspkr 1207 0 evdev 5609 12 snd_page_alloc 4977 2 snd_hda_intel,snd_pcm usbcore 97930 5 btusb,uvcvideo,uhci_hcd,ehci_hcd psmouse 44409 0 led_class 1757 1 ath9k nls_base 4541 1 usbcore processor 25803 3 acpi_cpufreq ext3 93828 1 jbd 31965 1 ext3 mbcache 3762 1 ext3 raid10 16569 0 raid456 42372 0 async_raid6_recov 3974 1 raid456 async_pq 2575 2 raid456,async_raid6_recov raid6_pq 77468 2 async_raid6_recov,async_pq async_xor 1886 3 raid456,async_raid6_recov,async_pq xor 12418 1 async_xor async_memcpy 838 2 raid456,async_raid6_recov async_tx 1290 5 raid456,async_raid6_recov,async_pq,async_xor,async_memcpy raid1 16067 0 raid0 5553 0 multipath 4939 0 linear 3015 0 md_mod 67093 6 raid10,raid456,raid1,raid0,multipath,linear sd_mod 25717 3 crc_t10dif 1012 1 sd_mod ata_generic 2015 0 ide_pci_generic 1924 0 ide_core 63850 1 ide_pci_generic pata_sch 1542 2 libata 113728 2 ata_generic,pata_sch thermal 9206 0 thermal_sys 9378 3 video,processor,thermal scsi_mod 101073 2 sd_mod,libata -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.32-trunk-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages cryptsetup depends on: ii dmsetup 2:1.02.48-2 The Linux Kernel Device Mapper use ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libdevmapper1.02.1 2:1.02.48-2 The Linux Kernel Device Mapper use ii libpopt0 1.16-1 lib for parsing cmdline parameters ii libuuid1 2.17.2-3.1 Universally Unique ID library cryptsetup recommends no packages. Versions of packages cryptsetup suggests: ii busybox 1:1.15.3-1 Tiny utilities for small and embed ii dosfstools 3.0.9-1 utilities for making and checking ii initramfs-tools [linux-initra 0.97.2 tools for generating an initramfs ii udev 160-1 /dev/ and hotplug management daemo -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org