[pkg-cryptsetup-devel] Bug#861074: cryptsetup: WARNING: failed to detect canonical device of none

Thorsten Glaser tg at mirbsd.de
Mon Apr 24 11:46:06 UTC 2017


Package: cryptsetup
Version: 2:1.7.3-3
Severity: minor

I followed this advice from apt-listchanges:

>     You should set the RESUME variable in
>     /etc/initramfs-tools/conf.d/resume or

>     - none - disable use of a resume device

However, this results in a new warning:

> tglase at tglase:~ $ sudo update-initramfs -u
> update-initramfs: Generating /boot/initrd.img-4.9.0-2-amd64
> cryptsetup: WARNING: failed to detect canonical device of none

bwh indicates that this is a bug in cryptsetup.
If initramfs-tools (0.129) migrates to stretch, the fix for
cryptsetup should also target stretch.

I think this is about adding a simple string comparison and
handling the setting “none”.

-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-4.9.0-2-amd64 root=/dev/mapper/vg--tglase-lv--tglase ro rootdelay=5 net.ifnames=0 syscall.x32=y vsyscall=emulate kaslr

-- /etc/crypttab
# <target name>	<source device>		<key file>	<options>

-- /etc/fstab
/dev/vg-tglase/lv-tglase  /       ext4  relatime  0  2
#/dev/sdb3                 /Extra  ext4  noatime   0  2
/dev/md1                  /boot   ext4  noatime   0  1
/dev/vg-tglase/lv-swap    swap    swap  sw        0  0

-- lsmod
Module                  Size  Used by
nls_ascii              16384  0
nls_cp437              20480  0
vfat                   20480  0
fat                    69632  1 vfat
loop                   28672  0
snd_seq_midi           16384  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            32768  1 snd_seq_midi
snd_seq                65536  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         16384  3 snd_seq,snd_rawmidi,snd_seq_midi
binfmt_misc            20480  1
ipt_MASQUERADE         16384  4
nf_nat_masquerade_ipv4    16384  1 ipt_MASQUERADE
iptable_nat            16384  1
nf_conntrack_ipv4      16384  1
nf_defrag_ipv4         16384  1 nf_conntrack_ipv4
nf_nat_ipv4            16384  1 iptable_nat
nf_nat                 28672  2 nf_nat_masquerade_ipv4,nf_nat_ipv4
nf_conntrack          114688  4 nf_conntrack_ipv4,nf_nat_masquerade_ipv4,nf_nat_ipv4,nf_nat
ip_tables              24576  1 iptable_nat
x_tables               36864  2 ip_tables,ipt_MASQUERADE
bridge                135168  0
stp                    16384  1 bridge
llc                    16384  2 bridge,stp
lp                     20480  0
dm_crypt               24576  0
nouveau              1544192  3
snd_hda_codec_hdmi     49152  4
ppdev                  20480  0
edac_mce_amd           28672  0
edac_core              57344  0
mxm_wmi                16384  1 nouveau
kvm_amd              2179072  3
kvm                   589824  1 kvm_amd
snd_hda_codec_via      24576  1
snd_hda_codec_generic    69632  1 snd_hda_codec_via
video                  40960  1 nouveau
snd_hda_intel          36864  3
ttm                    98304  1 nouveau
snd_hda_codec         135168  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_via
evdev                  24576  20
joydev                 20480  0
snd_hda_core           81920  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_via
snd_hwdep              16384  1 snd_hda_codec
drm_kms_helper        155648  1 nouveau
irqbypass              16384  1 kvm
k10temp                16384  0
pcspkr                 16384  0
snd_pcm_oss            49152  0
drm                   360448  6 nouveau,ttm,drm_kms_helper
snd_mixer_oss          24576  1 snd_pcm_oss
snd_pcm               110592  6 snd_pcm_oss,snd_hda_intel,snd_hda_codec,snd_hda_core,snd_hda_codec_hdmi
serio_raw              16384  0
sg                     32768  0
i2c_algo_bit           16384  1 nouveau
snd_timer              32768  3 snd_seq,snd_pcm
snd                    86016  17 snd_pcm_oss,snd_hda_intel,snd_hwdep,snd_mixer_oss,snd_seq,snd_hda_codec,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_seq_device,snd_pcm,snd_hda_codec_via
soundcore              16384  1 snd
parport_pc             28672  1
asus_atk0110           20480  0
parport                49152  3 lp,parport_pc,ppdev
sp5100_tco             16384  0
button                 16384  1 nouveau
shpchp                 36864  0
wmi                    16384  2 mxm_wmi,nouveau
acpi_cpufreq           20480  1
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
tpm                    45056  2 tpm_tis,tpm_tis_core
ext4                  585728  2
crc16                  16384  1 ext4
jbd2                  106496  1 ext4
fscrypto               28672  1 ext4
ecb                    16384  0
glue_helper            16384  0
lrw                    16384  0
gf128mul               16384  1 lrw
ablk_helper            16384  0
cryptd                 24576  1 ablk_helper
aes_x86_64             20480  0
mbcache                16384  3 ext4
raid10                 49152  0
raid0                  20480  0
multipath              16384  0
linear                 16384  0
tun                    28672  8
dm_mod                118784  17 dm_crypt
raid456               106496  1
async_raid6_recov      20480  1 raid456
async_memcpy           16384  2 raid456,async_raid6_recov
async_pq               16384  2 raid456,async_raid6_recov
async_xor              16384  3 async_pq,raid456,async_raid6_recov
async_tx               16384  5 async_xor,async_pq,raid456,async_memcpy,async_raid6_recov
xor                    24576  1 async_xor
raid6_pq              110592  3 async_pq,raid456,async_raid6_recov
libcrc32c              16384  1 raid456
crc32c_generic         16384  1
raid1                  36864  1
md_mod                131072  8 raid1,raid10,multipath,linear,raid0,raid456
sd_mod                 45056  9
ata_generic            16384  0
hid_lenovo             20480  0
usbhid                 53248  0
hid                   122880  2 usbhid,hid_lenovo
ohci_pci               16384  0
psmouse               135168  0
e1000                 143360  0
pata_atiixp            16384  0
ahci                   36864  6
i2c_piix4              24576  0
libahci                32768  1 ahci
ehci_pci               16384  0
libata                249856  4 pata_atiixp,ahci,libahci,ata_generic
ohci_hcd               53248  1 ohci_pci
ehci_hcd               81920  1 ehci_pci
usbcore               249856  5 usbhid,ehci_hcd,ohci_pci,ohci_hcd,ehci_pci
scsi_mod              225280  3 sd_mod,libata,sg
usb_common             16384  1 usbcore


-- System Information:
Debian Release: 9.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'buildd-unstable'), (500, 'unstable')
Architecture: x32
 (x86_64)
Foreign Architectures: i386, amd64

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/lksh
Init: sysvinit (via /sbin/init)

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:1.7.3-3
ii  debconf [debconf-2.0]  1.5.60
ii  dmsetup                2:1.02.137-2
ii  libc6                  2.24-10

Versions of packages cryptsetup recommends:
ii  busybox                                 1:1.22.0-19
ii  console-setup                           2:8
ii  initramfs-tools [linux-initramfs-tool]  0.129
ii  kbd                                     2.0.3-2

Versions of packages cryptsetup suggests:
ii  dosfstools              4.1-1
pn  keyutils                <none>
ii  liblocale-gettext-perl  1.07-3+b1

-- debconf information:
  cryptsetup/prerm_active_mappings: true


More information about the pkg-cryptsetup-devel mailing list