Your message dated Mon, 8 Aug 2022 14:47:42 +0200
with message-id <[email protected]>
and subject line Re: Bug#720340: cryptsetup: Encrypted LVM with root partition: 
Stopping crypto disk at shutdown fails
has caused the Debian Bug report #720340,
regarding cryptsetup: Encrypted LVM with root partition: Stopping crypto disk 
at shutdown fails
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
720340: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720340
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cryptsetup
Version: 2:1.6.1-1
Severity: minor

Dear Maintainer,

since I changed my setup such that / lives in an LVM inside an encrytped 
physical volume,
I get an error message on each system shutdown. Unfortunately I found no 
logfile for
this phase of shutdown, so I can only paraphrase what I see:
During "Stopping early crypto disks", stopping the disk with the physical 
volume seems to
fail, so there's this alarming red "failed" message on each shutdown.

I suspect this is caused by executing these commands while root is still 
mounted, but still
such false alarms should not be triggered.

Kind regards
Ralf


-- Package-specific info:
-- /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.10-2-amd64 root=/dev/mapper/cryptvg-rootlv ro quiet

-- /etc/crypttab
# <target name> <source device>                                         <key 
file>      <options>
# this was /dev/sdb3 during installation
cryptpv         UUID=406e399c-e7b1-42b4-8a2f-f35346797b8f               none    
        luks,discard
# this was /dev/sda4 during installation
store           UUID=931f27b2-2a68-41f5-8108-104d494cd284               none    
        luks

-- /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' 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>

# mount LVM logical volumes
/dev/cryptvg/rootlv             /               ext4    
errors=remount-ro,discard       0       1
/dev/cryptvg/homelv             /home           ext4    
errors=remount-ro,discard       0       2
/dev/cryptvg/swaplv             none            swap    discard                 
        0       0

# /boot is extra
UUID=d0e82ae9-cb7a-4dd5-859c-b375daa9cb2f /boot ext4    
errors=remount-ro,discard       0       2

# encrypted store on HDD
/dev/mapper/store               /mnt/store      ext4    errors=remount-ro       
        0       2

-- lsmod
Module                  Size  Used by
cpuid                  12708  0 
btrfs                 641507  0 
raid6_pq               95431  1 btrfs
zlib_deflate           25638  1 btrfs
xor                    16985  1 btrfs
ufs                    58989  0 
qnx4                   13069  0 
hfsplus                81760  0 
hfs                    45904  0 
minix                  27669  0 
ntfs                  161077  0 
msdos                  17077  0 
jfs                   137973  0 
xfs                   628913  0 
libcrc32c              12426  2 xfs,btrfs
ext3                  152391  0 
jbd                    53455  1 ext3
ext2                   59601  0 
efivars                13205  0 
nls_utf8               12456  0 
nls_cp437              16553  0 
vfat                   17365  0 
fat                    46450  2 vfat,msdos
usb_storage            48158  0 
bbswitch               12866  0 
parport_pc             22409  0 
ppdev                  12763  0 
lp                     13025  0 
parport                31901  3 lp,ppdev,parport_pc
pci_stub               12429  1 
vboxpci                19094  0 
vboxnetadp             25443  0 
cuse                   12971  3 
vboxnetflt             23697  0 
nf_conntrack_ipv6      13649  1 
nf_defrag_ipv6         29270  1 nf_conntrack_ipv6
ip6table_filter        12540  1 
ip6_tables             22050  1 ip6table_filter
xt_tcpudp              12570  2 
nf_conntrack_ipv4      18549  1 
nf_defrag_ipv4         12483  1 nf_conntrack_ipv4
vboxdrv               217395  3 vboxnetadp,vboxnetflt,vboxpci
xt_conntrack           12681  2 
nf_conntrack           59788  3 xt_conntrack,nf_conntrack_ipv4,nf_conntrack_ipv6
iptable_filter         12536  1 
ip_tables              22036  1 iptable_filter
x_tables               19041  6 
ip6table_filter,ip_tables,xt_tcpudp,xt_conntrack,iptable_filter,ip6_tables
binfmt_misc            12925  1 
fuse                   67503  2 cuse
sha256_generic         16804  2 
rts5139               199252  0 
joydev                 17278  0 
arc4                   12543  2 
iTCO_wdt               12831  0 
iTCO_vendor_support    12704  1 iTCO_wdt
asus_nb_wmi            16568  0 
asus_wmi               19015  1 asus_nb_wmi
sparse_keymap          12760  1 asus_wmi
snd_hda_codec_hdmi     31720  1 
mxm_wmi                12515  0 
snd_hda_codec_realtek    32712  1 
snd_hda_intel          35718  3 
snd_hda_codec         122850  3 
snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
snd_hwdep              13189  1 snd_hda_codec
snd_pcm                68525  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         13018  2 snd_pcm,snd_hda_intel
snd_seq                45186  0 
snd_seq_device         13176  1 snd_seq
ath9k                  75023  0 
snd_timer              22773  2 snd_pcm,snd_seq
ath9k_common           12687  1 ath9k
ath9k_hw              341687  2 ath9k_common,ath9k
ath                    21417  3 ath9k_common,ath9k,ath9k_hw
coretemp               12898  0 
mac80211              358182  1 ath9k
kvm_intel             123583  0 
kvm                   301458  1 kvm_intel
snd                    53068  15 
snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_device
mperf                  12453  0 
microcode              30413  0 
lpc_ich                16757  0 
mfd_core               12601  1 lpc_ich
cfg80211              319971  3 ath,ath9k,mac80211
soundcore              13026  1 snd
i2c_i801               17045  0 
pcspkr                 12632  0 
rfkill                 19242  3 cfg80211,asus_wmi
psmouse                74832  0 
mei_me                 13568  0 
serio_raw              12940  0 
mei                    45886  1 mei_me
wmi                    13243  2 mxm_wmi,asus_wmi
battery                13101  0 
evdev                  17611  23 
ac                     12668  0 
processor              28526  0 
ext4                  381419  4 
crc16                  12343  1 ext4
jbd2                   76205  1 ext4
mbcache                13082  3 ext2,ext3,ext4
hid_generic            12393  0 
hid_cherry             12528  0 
usbhid                 40964  0 
hid                    81894  3 hid_cherry,hid_generic,usbhid
dm_crypt               18457  2 
dm_mod                 64008  14 dm_crypt
sg                     26095  0 
sd_mod                 40541  5 
crc_t10dif             12348  1 sd_mod
crc32c_intel           21850  1 
ghash_clmulni_intel    13062  0 
i915                  494628  4 
r8169                  52872  0 
mii                    12675  1 r8169
aesni_intel            50895  8 
aes_x86_64             16719  1 aesni_intel
ablk_helper            12572  1 aesni_intel
cryptd                 14560  5 ghash_clmulni_intel,aesni_intel,ablk_helper
lrw                    12871  1 aesni_intel
gf128mul               13047  1 lrw
glue_helper            12768  1 aesni_intel
video                  17792  2 i915,asus_wmi
ahci                   25148  3 
ehci_pci               12472  0 
xhci_hcd               78280  0 
ehci_hcd               40590  1 ehci_pci
libahci                23136  1 ahci
libata                141969  2 ahci,libahci
scsi_mod              158249  5 sg,rts5139,usb_storage,libata,sd_mod
usbcore               134993  6 
rts5139,usb_storage,ehci_hcd,ehci_pci,usbhid,xhci_hcd
usb_common             12440  1 usbcore
thermal                17468  0 
i2c_algo_bit           12841  1 i915
drm_kms_helper         31837  1 i915
drm                   211856  5 i915,drm_kms_helper
i2c_core               24353  5 drm,i915,i2c_i801,drm_kms_helper,i2c_algo_bit
thermal_sys            23137  3 video,thermal,processor
button                 12944  1 i915


-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (100, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.10-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cryptsetup depends on:
ii  cryptsetup-bin         2:1.6.1-1
ii  debconf [debconf-2.0]  1.5.50
ii  dmsetup                2:1.02.74-7
ii  libc6                  2.17-92
ii  sysv-rc                2.88dsf-43

Versions of packages cryptsetup recommends:
ii  busybox                                 1:1.20.0-8.1
ii  console-setup                           1.94
ii  initramfs-tools [linux-initramfs-tool]  0.113
ii  kbd                                     1.15.5-1

Versions of packages cryptsetup suggests:
ii  dosfstools              3.0.16-2
ii  liblocale-gettext-perl  1.05-7+b1

-- debconf information:
  cryptsetup/prerm_active_mappings: true

--- End Message ---
--- Begin Message ---
Version: 2:2.3.0-1
Control: tag -1 - wontfix

On Tue, 20 Aug 2013 at 20:24:43 +0200, Ralf Jung wrote:
> When shuting down my Devuan LVM + LUKS install, it hangs just at the end
> of the shutdown sequence presenting messages like "sda5_crypt is busy"
> and "sdb_crypt is busy". Only after 30 seconds or so pass, it acatully
> shuts down.

I believe this is the same as #916649 and was implemented in 2:2.3.0-1.

-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to