This appears to be related to something peculiar happening to LVM, I'm
not using LVM, but /usr/share/initramfs-tools/hooks/cryptroot appears to
be trying to read a bunch of volume group data after reading
/etc/crypttab (which is empty!)...

+ grep -s ^[^#] /etc/crypttab
+ read target source key options
+ candidates=
+ devices=
+ count=0
+ [ 0 -gt 0 ]
+ return 0
+ initramfsdevs=
+ add_device 04f31c0c-8ee4-4444-a571-9c798b0f1022
+ local node nodes opts lastopts i count
+ nodes=04f31c0c-8ee4-4444-a571-9c798b0f1022
+ opts=
+ lastopts=
+ [ -z 04f31c0c-8ee4-4444-a571-9c798b0f1022 ]
+ echo   
+ grep -q \b04f31c0c-8ee4-4444-a571-9c798b0f1022\b
+ node_is_in_crypttab 04f31c0c-8ee4-4444-a571-9c798b0f1022
+ local node
+ node=04f31c0c-8ee4-4444-a571-9c798b0f1022
+ grep -q ^04f31c0c-8ee4-4444-a571-9c798b0f1022\b /etc/crypttab
+ return 1
+ get_lvm_deps 04f31c0c-8ee4-4444-a571-9c798b0f1022
+ local node deps maj min depnode
+ node=04f31c0c-8ee4-4444-a571-9c798b0f1022
+ [ -z 04f31c0c-8ee4-4444-a571-9c798b0f1022 ]
+ dmsetup --noheadings splitname 04f31c0c-8ee4-4444-a571-9c798b0f1022
+ cut -d: -f1
+ vgs --noheadings -o pv_name 04f31c0c

Running any LVM command hangs...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1662187

Title:
  apt-get upgrade hung when it comes to update initramfs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1662187/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to