← Back to team overview

touch-packages team mailing list archive

[Bug 1511065] [NEW] systemd hangs while booting because unable to ask for password

 

Public bug reported:

Hi, this is a splitoff of bug #1506139

I'm usually using a setup with three partitions on a disk

Partition 1: plain ext4 boot partition mounted on /boot
Partition 2: luks-encrypted swap
Partition 3: luks-encrypted btrfs for / /home ...


but on one of my systems the boot process hangs at the point where it would ask for the password for the second time (first password prompt is for /-partition 3, which works). 

Using the debug shell shows that a process like

/lib/systemd/systemd-cryptsetup attach sda2_crypt /dev/disk/by-id/ata-
SanDisk_SDSSDHII480G_*****-part2 none luks,swap,discard is alive and has
send it's password-query to /run/systemd/ask-password/sck.*

but there is no process to listen for it and query for the password, so
it waits forever.

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: systemd 225-1ubuntu9
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu4
Architecture: amd64
CurrentDesktop: XFCE
Date: Wed Oct 28 18:47:14 2015
InstallationDate: Installed on 2015-10-08 (19 days ago)
InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150924)
MachineType: Medion G24
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-16-generic root=UUID=9b9831d9-62f5-4fe0-872a-704bd66d5f7f ro rootflags=subvol=@ nosplash
SourcePackage: systemd
UdevLog: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/log/udev'
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/12/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: H61TIW08.111
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: H61H2-TI2
dmi.board.vendor: Medion
dmi.board.version: 1.0
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Medion
dmi.chassis.version: 1.0
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrH61TIW08.111:bd10/12/2012:svnMedion:pnG24:pvr1.0:rvnMedion:rnH61H2-TI2:rvr1.0:cvnMedion:ct3:cvr1.0:
dmi.product.name: G24
dmi.product.version: 1.0
dmi.sys.vendor: Medion

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1511065

Title:
  systemd hangs while booting because unable to ask for password

Status in systemd package in Ubuntu:
  New

Bug description:
  Hi, this is a splitoff of bug #1506139

  I'm usually using a setup with three partitions on a disk

  Partition 1: plain ext4 boot partition mounted on /boot
  Partition 2: luks-encrypted swap
  Partition 3: luks-encrypted btrfs for / /home ...

  
  but on one of my systems the boot process hangs at the point where it would ask for the password for the second time (first password prompt is for /-partition 3, which works). 

  Using the debug shell shows that a process like

  /lib/systemd/systemd-cryptsetup attach sda2_crypt /dev/disk/by-id/ata-
  SanDisk_SDSSDHII480G_*****-part2 none luks,swap,discard is alive and
  has send it's password-query to /run/systemd/ask-password/sck.*

  but there is no process to listen for it and query for the password,
  so it waits forever.

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: systemd 225-1ubuntu9
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  ApportVersion: 2.19.1-0ubuntu4
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Wed Oct 28 18:47:14 2015
  InstallationDate: Installed on 2015-10-08 (19 days ago)
  InstallationMedia: Xubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150924)
  MachineType: Medion G24
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.2.0-16-generic root=UUID=9b9831d9-62f5-4fe0-872a-704bd66d5f7f ro rootflags=subvol=@ nosplash
  SourcePackage: systemd
  UdevLog: Error: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/var/log/udev'
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/12/2012
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: H61TIW08.111
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: H61H2-TI2
  dmi.board.vendor: Medion
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Medion
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrH61TIW08.111:bd10/12/2012:svnMedion:pnG24:pvr1.0:rvnMedion:rnH61H2-TI2:rvr1.0:cvnMedion:ct3:cvr1.0:
  dmi.product.name: G24
  dmi.product.version: 1.0
  dmi.sys.vendor: Medion

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1511065/+subscriptions