[Bug 1931077] Re: emergency shell ignores all keyboard input

Marius Gedminas 1931077 at bugs.launchpad.net
Mon Jun 7 19:50:51 UTC 2021


Ideally, I'd wish it not to stop sshd when /boot/efi becomes
unavailable.  Or at least bring back the services it stopped when the
emergency shell is canceled.

More practically, and more on topic to the original reason for this bug
report, I'd like it if stopping the emergency shell would print a
message on the console, so the instructions to press Enter or Ctrl-D do
not appear to still be relevant.

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

Title:
  emergency shell ignores all keyboard input

Status in systemd package in Ubuntu:
  Incomplete

Bug description:
  An SSD that held my /boot/efi partition failed, took down local-fs.target, which brought up emergency.target.  I ended up with no ssh access, and a message on the local console telling me
  to press Enter to get a root shell, or press Ctrl-D to continue booting normally.  The system did not react to either Enter or Ctrl-D.  I could switch between virtual consoles (but nothing was running on them, e.g. no getty), toggle Caps Lock, or reboot with Ctrl+Alt+Del.

  An emergency console that doesn't accept keyboard input is not a
  useful emergency console.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: systemd 237-3ubuntu10.47
  ProcVersionSignature: Ubuntu 4.15.0-144.148-generic 4.15.18
  Uname: Linux 4.15.0-144-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.24
  Architecture: amd64
  Date: Mon Jun  7 11:18:39 2021
  MachineType: System manufacturer System Product Name
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.15.0-144-generic root=/dev/mapper/hostname-root ro
  SourcePackage: systemd
  UpgradeStatus: Upgraded to bionic on 2019-08-12 (664 days ago)
  dmi.bios.date: 08/14/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 2204
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: P8Z77-V LX
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: Rev X.0x
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2204:bd08/14/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8Z77-VLX:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.family: To be filled by O.E.M.
  dmi.product.name: System Product Name
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer

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



More information about the foundations-bugs mailing list