You are not logged in.
Hello,
I have just updated my system (which runs in a virtual machine). When booting, after remotely unlocking the root partition via dropbear, I get the following:
Enter passphrase for /dev/vda2:
[97] Jan 14 09:30:47 Child connection from xxx.xxx.xxx.xxx:xxxx
[97] Jan 14 09:30:48 Pubkey auth succeeded for 'root' with key md5 ... from xxx.xxx.xxx.xxx:xxxx
Terminated
[97] Jan 14 09:31:17 syslogin_perform_logout: logout(pts/0) returned an error: No such file or directory
[84] Jan 14 09:31:17 Premature exit: Terminated by signal
[84] Jan 14 09:31:17 Exit (root): Terminated by signal
ERROR: Unable to find root device '/dev/mapper/envda2'
The line
syslogin_perform_logout: logout(pts/0) returned an error: No such file or directory
appears every time that an ssh client disconnects.
Where do I even start troubleshooting? Is this a dropbear problem? Any help/comments/input appreciated!
Last edited by ffcitatos (2013-01-15 21:59:57)
Offline
Well, but that's the whole point!
The missing device /dev/mapper/envda2 is the device which is created by
cryptsetup luksOpen /dev/vda2 envda2 (or some equivalent inside dropbear). I am sure that /dev/vda2 exists, as dropbear can tell the correct key from a wrong one.
Offline
Offline
falconindy, thanks for the patience. Indeed, I should have written that I am using dropbear_initrd_encrypt ( https://aur.archlinux.org/packages/drop … d_encrypt/ ), the latest
version from AUR. I still do not know, what error files to look at.
Offline
So what excactly did you update prior to rebooting? Did you run mkinitcpio? Without errors?
Offline
I am very sorry for the hassle, everything works now.
The problem was a wrong name of the encrypted partition in grub's config. I am not sure why it changed in the first place (part of the upgrade procedure by pacman?), but the only actions I performed were:
1) changed it in /etc/default/grub ;
2) ran grub config ( grub-mkconfig -o /boot/grub/grub.cfg ) ;
3) reran mkinitcpio -p linux .
falconindy and not_sure -- thanks!
Offline
I believe this also applies to virtio block devices: https://wiki.archlinux.org/index.php/Pe … ice_naming
If this is solved, please mark it as such by editing the first post and prepending "[SOLVED]" to the title.
Offline