lvmetad (cryptsetup?) problem after updating to 15.10

Asked by Gareth Bloomfield

I just upgraded my laptop, with full disk encryption, to 15.10, and on rebooting it now hangs after the decryption passphrase is entered. It looks similar to Bug #148712, so might also involve cryptsetup, but it's not clear to me what the cause here is.

When hanging the screen reads:

/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
Reading all physical volumes. This may take a while...
Found volume group "xubuntu-vg" using metadata type lvm2
/run/lvm/lvmetad.socket: connect failed: No such file or directory
WARNING: Failed to connect to lvmetad. Falling back to internal scanning.
2 logical volume(s) in volume group "xubuntu-vg" now active
fsck from util-linux 2.26.2
/dev/mapper/xubuntu--vg-root: clean, [etc...]

It then never gets to the login screen (waiting > 1 hour).

If I switch to the command line & login, I can see lvmetad.socket is there. So I don't know what to try - if the problem is the same as
Bug #148712 the fix is not clear to me either...

System is x86_64 with 4.2.0-16-generic (and Ubuntu 15.10).

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Gareth Bloomfield
Solved:
Last query:
Last reply:
Revision history for this message
Josaphat Valdivia (josaphat-valdivia) said :
#1

Seeing this as well. Saw a similar screen when upgrading an Ubuntu GNOME upgrade, but in that instance the boot processed continued after a couple of seconds.

Revision history for this message
Gareth Bloomfield (gareth-bloomfield) said :
#2

I figured the greeter might be the issue because the disk encryption was set up during an xubuntu install, but recently I'd been using gdm.

I tried

sudo dpkg-reconfigure lightdm

and it's fixed. Boots fine & gives the lightdm greeter.

Revision history for this message
John (jberrywjc1969) said :
#3

Good Kung-Fu!!! sudo-dpkg-reconfigure lightdm worked for me. Thanks very much!