Package: cryptsetup
Version: 2:1.4.1-2
Severity: critical

Note that although this bug was introduced at version 2:1.4.1-1, it is
different from #659235: my PVs and LVs and VGs don't have dashes in
their name.

The current sequence: grub loads the kernel and the initramfs; the
kernel boots; the initramfs looks for the root filesystem but cannot
find it because it's not available yet; cryptsetup asks for a
passphrase, which I type; "cryptsetup: lvm fs found but no lvm
configured".  After some time I get dropped into a shell.  In that
shell, I can see the LVs as inactive, and I enable them with "lvm
lvchange -P -a y vg_mirexpress/root" (and ditto for vg_mirexpress/swap),
then ^D and the boot sequence starts again normally (it reloads my
hibernated system).

It's possible that the problem comes from the need for -P (--partial) in
the commands I quote: as may be found in the configuration snippets
below, the LUKS key to one of the PVs used in LVM is stored on the
filesystem on another LV of the same VG; this means that the first
activation of the VG needs to be done with the -P/--partial flag, so
the available LVs (including root) are activated and the boot sequence
may proceed.

For extra reference, my setup looks like this: three physical drives
(one "smallish" SSD, two "big" rotating disks).  Partitions 1 on the SSD
and the disks are assembled into /dev/md/boot, which is ext4 and used as
/boot.  Partitions 2 on the SSD and the disks are assembled into
/dev/md/triple_patte, which is encrypted (with a passphrase) and then
used as a PV for LVM.  Partitions 3 only exist on the disks, are
assembled into /dev/md/obelix, which is encrypted (with a keyfile) and
used as another PV.

Roland.

-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-1-686-pae root=/dev/mapper/vg_mirexpress-root ro 
modeset=1 quiet

-- /etc/crypttab
# <target name>         <source device>         <key file>                      
<options>
raid_crypt              /dev/md/main            /etc/private/raid_obelix.key    
luks,size=128,cipher=aes-cbc-essiv:sha256
obelix_crypt            /dev/md/obelix          /etc/private/raid_obelix.key    
luks,size=128,cipher=aes-cbc-essiv:sha256
triple-patte_crypt      /dev/md/triple-patte    none                            
luks,size=128,cipher=aes-cbc-essiv:sha256

-- /etc/fstab
# /etc/fstab: static file system information.
#
# <file system>                 <mount point>           <type>  <options>       
<dump>  <pass>
/dev/vg_mirexpress/root         /                       ext4    defaults        
0       1
/dev/md/boot                    /boot                   ext4    defaults        
0       2
/dev/vg_mirexpress/tmp          /tmp                    ext4    defaults        
0       2
/dev/vg_mirexpress/usr          /usr                    ext4    defaults        
0       2
/dev/vg_mirexpress/var          /var                    ext4    defaults        
0       2
/dev/vg_mirexpress/var_cache    /var/cache              ext4    defaults        
0       2
/dev/vg_mirexpress/home         /home                   ext4    defaults        
0       2
/dev/vg_mirexpress/home_roland  /home/roland            ext4    defaults        
0       2
/dev/vg_mirexpress/gnurandal    /home/roland/gnurandal  ext4    defaults        
0       2
/dev/vg_mirexpress/musique      /home/roland/musique    ext4    defaults        
0       2
/dev/vg_mirexpress/photos       /home/roland/photos     ext4    defaults        
0       2
/dev/vg_mirexpress/backups      /space/backups          ext4    defaults        
0       2
/dev/vg_mirexpress/srv_maildir  /srv/maildir            ext4    defaults        
0       2
/dev/vg_mirexpress/cd_dvd       /space/cd_dvd           ext4    defaults        
0       2
/dev/vg_mirexpress/pbuilder     /srv/pbuilder           ext4    defaults        
0       2
/dev/vg_mirexpress/virtualbox   /srv/virtualbox         ext4    defaults        
0       2
/dev/vg_mirexpress/rushes       /space/rushes           ext4    defaults        
0       2
/dev/vg_mirexpress/scratch      /space/scratch          ext4    defaults        
0       2

/dev/vg_mirexpress/swap         none    swap    defaults

# sshfs#roland@mirenboite:/srv/musique/rips /home/roland/musique/rips fuse 
rw,nosuid,nodev,max_read=65536,user=roland,IdentityFile=/home/roland/.ssh/id_dsa,ServerAliveInterval=60,uid=1000,allow_other,gid=1000


/dev/fd0        /floppy         auto    defaults,user,noauto            0       0
/dev/cdrom      /cdrom          iso9660 defaults,ro,user,noauto         0       0
none            /selinux        selinuxfs       noauto  0 0

-- lsmod
Module                  Size  Used by
nls_utf8               12416  0 
isofs                  34672  0 
loop                   17810  0 
usb_storage            35183  1 
uas                    13096  0 
pci_stub               12397  1 
vboxpci                18713  0 
vboxnetadp             13143  0 
vboxnetflt             23231  0 
vboxdrv               164892  3 vboxpci,vboxnetadp,vboxnetflt
ip6table_filter        12492  0 
ip6_tables             17185  1 ip6table_filter
iptable_filter         12488  0 
ip_tables              17079  1 iptable_filter
ebtable_nat            12516  0 
ebtables               17088  1 ebtable_nat
x_tables               18121  5 
ip6table_filter,ip6_tables,iptable_filter,ip_tables,ebtables
mperf                  12421  0 
cpufreq_userspace      12520  0 
cpufreq_stats          12762  0 
cpufreq_conservative    12987  0 
cpufreq_powersave      12422  0 
ppdev                  12651  0 
lp                     12797  0 
bnep                   17288  2 
rfcomm                 28590  0 
bluetooth             103750  10 bnep,rfcomm
rfkill                 18516  2 bluetooth
binfmt_misc            12813  1 
fuse                   52153  2 
w83627hf               17894  0 
hwmon_vid              12398  1 w83627hf
eeprom                 12481  0 
autofs4                22746  5 
sg                     21476  0 
ide_cd_mod             30253  0 
ide_core               65911  1 ide_cd_mod
snd_via82xx            22653  0 
snd_ac97_codec         84201  1 snd_via82xx
ac97_bus               12462  1 snd_ac97_codec
snd_usb_audio          71309  2 
snd_pcm_oss            36181  0 
snd_mixer_oss          17668  1 snd_pcm_oss
snd_pcm                53390  5 
snd_via82xx,snd_ac97_codec,snd_usb_audio,snd_pcm_oss
snd_page_alloc         12867  2 snd_via82xx,snd_pcm
radeon                570912  2 
snd_mpu401_uart        13299  1 snd_via82xx
snd_hwdep              12943  1 snd_usb_audio
snd_usbmidi_lib        18844  1 snd_usb_audio
snd_seq_midi           12744  0 
snd_seq_midi_event     13124  1 snd_seq_midi
snd_rawmidi            18376  3 snd_mpu401_uart,snd_usbmidi_lib,snd_seq_midi
snd_seq                39487  2 snd_seq_midi,snd_seq_midi_event
ttm                    42997  1 radeon
snd_timer              22356  2 snd_pcm,snd_seq
snd_seq_device         13016  3 snd_seq_midi,snd_rawmidi,snd_seq
drm_kms_helper         22699  1 radeon
drm                   134178  4 radeon,ttm,drm_kms_helper
i2c_viapro             12451  0 
i2c_algo_bit           12713  1 radeon
via_ircc               21884  0 
i2c_core               19116  6 
eeprom,radeon,drm_kms_helper,drm,i2c_viapro,i2c_algo_bit
irda                   78603  1 via_ircc
power_supply           13283  1 radeon
snd                    42691  16 
snd_via82xx,snd_ac97_codec,snd_usb_audio,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_hwdep,snd_usbmidi_lib,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
shpchp                 26717  0 
pci_hotplug            26600  1 shpchp
soundcore              12921  1 snd
crc_ccitt              12331  1 irda
pcspkr                 12515  0 
ns558                  12431  0 
evdev                  17225  6 
gameport               13375  3 snd_via82xx,ns558
parport_pc             22036  1 
processor              27483  0 
parport                31254  3 ppdev,lp,parport_pc
button                 12817  0 
thermal_sys            17752  1 processor
ext4                  302787  18 
mbcache                12897  1 ext4
jbd2                   52246  1 ext4
crc16                  12327  2 bluetooth,ext4
sha256_generic         16709  6 
cryptd                 14125  0 
aes_i586               16608  6 
aes_generic            32970  1 aes_i586
cbc                    12666  3 
dm_crypt               18039  3 
dm_mod                 57278  66 dm_crypt
raid1                  26218  3 
md_mod                 85719  4 raid1
sr_mod                 17468  0 
cdrom                  34813  2 ide_cd_mod,sr_mod
sd_mod                 35425  13 
crc_t10dif             12332  1 sd_mod
ata_generic            12439  0 
usbhid                 31523  0 
hid                    60120  1 usbhid
pata_via               12727  0 
sata_promise           13300  8 
libata                124981  3 ata_generic,pata_via,sata_promise
uhci_hcd               22337  0 
floppy                 48121  0 
ehci_hcd               35509  0 
usbcore               104352  8 
usb_storage,uas,snd_usb_audio,snd_usbmidi_lib,usbhid,uhci_hcd,ehci_hcd
scsi_mod              135161  6 usb_storage,uas,sg,sr_mod,sd_mod,libata
firewire_ohci          30880  0 
8139too                22028  0 
8139cp                 22245  0 
mii                    12595  2 8139too,8139cp
firewire_core          42815  1 firewire_ohci
crc_itu_t              12331  1 firewire_core
usb_common             12338  1 usbcore

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages cryptsetup depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  dmsetup                2:1.02.67-2
ii  libc6                  2.13-26
ii  libcryptsetup4         2:1.4.1-2
ii  libpopt0               1.16-3

cryptsetup recommends no packages.

Versions of packages cryptsetup suggests:
ii  busybox                                 1:1.19.3-5
ii  dosfstools                              3.0.12-1
ii  initramfs-tools [linux-initramfs-tool]  0.99
ii  liblocale-gettext-perl                  1.05-7+b1
ii  udev                                    175-3

-- debconf information:
  cryptsetup/prerm_active_mappings: true

-- 
Roland Mas

When I eat a biscuit, it stays eaten!
  -- Arthur Dent, in So Long, and Thanks for All the Fish (Douglas Adams)

Reply via email to