[pkg-cryptsetup-devel] Bug#665494: [cryptsetup] decrypt_gnupg incorrectly assumes /usr/bin/gpg is available on root partition

LeJacq, Jean Pierre jeanpierre.lejacq at quoininc.com
Sat Mar 24 17:42:34 UTC 2012


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

--- Please enter the report below this line. ---

On systems that use separate encrypted logical volumes for "/" and "/usr', the 
decrypt_gnupg will fail due to the unavailability of gpg since it is not 
available.

Note that the gpg executable copied into the initramfs image is not available 
after the root volume is decrypted. 


--- System information. ---
Architecture: amd64
Kernel:       Linux 3.2.0-2-amd64

Debian Release: wheezy/sid
  500 unstable        ftp.us.debian.org 
  500 stable          deb.opera.com 

--- Package information. ---
Depends             (Version) | Installed
=============================-+-===========
libc6                (>= 2.8) | 2.13-27
libcryptsetup4     (>= 2:1.4) | 2:1.4.1-2
libpopt0            (>= 1.14) | 1.16-3
debconf             (>= 0.5)  | 1.5.42
 OR debconf-2.0               | 
dmsetup                       | 2:1.02.67-2


Package's Recommends field is empty.

Suggests                    (Version) | Installed
=====================================-+-===========
udev                                  | 175-3.1
initramfs-tools            (>= 0.91)  | 0.101
 OR linux-initramfs-tool              | 
busybox                               | 1:1.19.3-5
dosfstools                            | 3.0.12-1
liblocale-gettext-perl                | 1.05-7+b1



--- Output from package bug script ---
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.2.0-2-amd64 root=/dev/mapper/vg0-lv3-crypt ro quiet

-- /etc/crypttab
# <target name>	<source device>		<key file>	       <options>
vg0-lv3-crypt    /dev/mapper/vg0-lv3    /etc/keys/cryptkey.gpg 
luks,keyscript=decrypt_gnupg
vg0-lv1-crypt    /dev/mapper/vg0-lv1    /etc/keys/cryptkey.gpg 
luks,keyscript=decrypt_gnupg
vg0-lv4-crypt    /dev/mapper/vg0-lv4    /etc/keys/cryptkey.gpg 
luks,keyscript=decrypt_gnupg
vg0-lv5-crypt    /dev/mapper/vg0-lv5    /etc/keys/cryptkey.gpg 
luks,keyscript=decrypt_gnupg
vg0-lv6-crypt    /dev/mapper/vg0-lv6    /etc/keys/cryptkey.gpg 
luks,keyscript=decrypt_gnupg
vg0-lv7-crypt    /dev/mapper/vg0-lv7    /etc/keys/cryptkey.gpg 
luks,keyscript=decrypt_gnupg
vg0-lv8-crypt    /dev/mapper/vg0-lv8    /etc/keys/cryptkey.gpg 
luks,keyscript=decrypt_gnupg
vg0-lv9-crypt    /dev/mapper/vg0-lv9    /etc/keys/cryptkey.gpg 
luks,keyscript=decrypt_gnupg
vg0-lv12-crypt   /dev/mapper/vg0-lv12   /etc/keys/cryptkey.gpg 
luks,keyscript=decrypt_gnupg


-- /etc/fstab
/dev/mapper/vg0-lv3-crypt  /             ext4        defaults               0       
2
proc                       /proc     	 proc        defaults               0       
0
/dev/mapper/vg0-lv1-crypt  none      	 swap        sw                     
0       0
/dev/mapper/vg0-lv4-crypt  /tmp      	 ext4        nodev,nosuid,noexec    0       
2
/dev/mapper/vg0-lv5-crypt  /var      	 ext4        nodev,nosuid           0       
2
/dev/mapper/vg0-lv6-crypt  /var/tmp  	 ext4        nodev,nosuid,noexec    
0       2
/dev/mapper/vg0-lv7-crypt  /var/log      ext4        nodev,nosuid,noexec    0       
2
/dev/mapper/vg0-lv8-crypt  /var/mail     ext4        nodev,nosuid,noexec    0       
2
/dev/mapper/vg0-lv9-crypt  /srv          ext4        nodev,nosuid,noexec,ro 0       
2
/dev/mapper/vg0-lv10       /usr          ext4        nodev,ro               0       
2
/dev/mapper/vg0-lv11       /opt          ext4        nodev,nosuid,ro        0       
2
/dev/mapper/vg0-lv12-crypt /home         ext4        defaults,nosuid        0       
2
/dev/mapper/vg0-lv2        /boot         ext4        nodev,nosuid,ro        0       
1
/dev/scd0                  /media/cdrom0 udf,iso9660 user,noauto            0       
0

-- lsmod
Module                  Size  Used by
hidp                   22012  0 
pci_stub               12429  1 
vboxpci                19066  0 
vboxnetadp             13155  0 
vboxnetflt             23571  0 
vboxdrv               190057  3 vboxnetflt,vboxnetadp,vboxpci
parport_pc             22364  0 
ppdev                  12763  0 
lp                     17149  0 
parport                31858  3 lp,ppdev,parport_pc
rfcomm                 33656  14 
bnep                   17567  2 
binfmt_misc            12957  1 
fuse                   61981  1 
snd_hda_codec_hdmi     30783  1 
snd_hda_codec_realtek   188748  1 
joydev                 17266  0 
arc4                   12458  2 
iwlwifi               166703  0 
snd_hda_intel          26345  7 
snd_hda_codec          78031  3 
snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
uvcvideo               57744  0 
videodev               70889  1 uvcvideo
snd_hwdep              13186  1 snd_hda_codec
snd_pcm                63900  5 snd_hda_codec,snd_hda_intel,snd_hda_codec_hdmi
mac80211              192768  1 iwlwifi
snd_page_alloc         13003  2 snd_pcm,snd_hda_intel
i915                  351780  3 
drm_kms_helper         27227  1 i915
drm                   167670  4 drm_kms_helper,i915
ac                     12624  0 
dell_wmi               12477  0 
sparse_keymap          12760  1 dell_wmi
snd_seq                45093  0 
snd_seq_device         13176  1 snd_seq
snd_timer              22917  4 snd_seq,snd_pcm
snd                    52850  19 
snd_timer,snd_seq_device,snd_seq,snd_pcm,snd_hwdep,snd_hda_codec,snd_hda_intel,snd_hda_codec_realtek,snd_hda_codec_hdmi
v4l2_compat_ioctl32    16655  1 videodev
dell_laptop            17120  0 
soundcore              13065  1 snd
dcdbas                 13307  1 dell_laptop
evdev                  17562  11 
media                  18148  2 videodev,uvcvideo
psmouse                64455  0 
btusb                  17502  2 
cfg80211              137140  2 mac80211,iwlwifi
bluetooth             119406  24 btusb,bnep,rfcomm,hidp
i2c_algo_bit           12841  1 i915
battery                13109  0 
video                  17628  1 i915
i2c_i801               16870  0 
rfkill                 19012  4 bluetooth,cfg80211,dell_laptop
pcspkr                 12579  0 
serio_raw              12931  0 
button                 12937  1 i915
i2c_core               23876  6 
i2c_i801,i2c_algo_bit,drm,drm_kms_helper,i915,videodev
processor              28059  0 
power_supply           13475  3 battery,dell_laptop,ac
iTCO_wdt               17081  0 
wmi                    13243  1 dell_wmi
iTCO_vendor_support    12704  1 iTCO_wdt
ext4                  350557  11 
crc16                  12343  2 ext4,bluetooth
jbd2                   62015  1 ext4
mbcache                13065  1 ext4
sha256_generic         16797  18 
aesni_intel            50667  218 
cryptd                 14517  73 aesni_intel
aes_x86_64             16796  1 aesni_intel
aes_generic            33026  2 aes_x86_64,aesni_intel
cbc                    12754  0 
dm_crypt               22586  9 
dm_mod                 63545  55 dm_crypt
usbhid                 36379  0 
hid                    81288  2 usbhid,hidp
sr_mod                 21899  0 
sd_mod                 36136  4 
cdrom                  35401  1 sr_mod
crc_t10dif             12348  1 sd_mod
xhci_hcd               73208  0 
ahci                   24997  3 
libahci                22860  1 ahci
libata                140589  2 libahci,ahci
ehci_hcd               40215  0 
usbcore               128498  6 ehci_hcd,xhci_hcd,usbhid,btusb,uvcvideo
scsi_mod              162458  3 libata,sd_mod,sr_mod
usb_common             12354  1 usbcore
r8169                  46980  0 
mii                    12675  1 r8169
thermal                17383  0 
thermal_sys            18040  3 thermal,processor,video

-- 
JP

m: +1 609 468 6172





More information about the pkg-cryptsetup-devel mailing list