[Bug 2092438] Re: System fails to restart after install

Olivier Gayot 2092438 at bugs.launchpad.net
Wed Mar 19 11:29:22 UTC 2025


I compared the behavior with oracular, where the inhibit exists as well:

on oracular
-----------
* ubuntu at ubuntu:~$ reboot        -> fails (inhibited)
* ubuntu at ubuntu:~$ sudo reboot   -> succeeds


on plucky
---------
* ubuntu at ubuntu:~$ reboot        -> fails (inhibited)
* ubuntu at ubuntu:~$ sudo reboot   -> fails (inhibited)



Indeed, the behavior has changed in systemd 257. quote from the release notes [1]:

        * systemd-logind now always obeys block inhibitor locks, where previously
          it ignored locks taken by the caller or when the caller was root. A
          privileged caller can always close the other sessions, remove the
          inhibitor locks, or use --force or --check-inhibitors=no to ignore the
          inhibitors. This change thus doesn't affect security, since everything
          that was possible before at a given privilege level is still possible,
          but it should make the inhibitor logic easier to use and understand,
          and also help avoiding accidental reboots and shutdowns. New 'block-weak'
          inhibitor modes were added, if taken they will make the inhibitor lock
          work as in the previous versions. Inhibitor locks can also be taken by
          remote users (subject to polkit policy).

[1] https://lwn.net/Articles/1001657/

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

Title:
  System fails to restart after install

Status in subiquity:
  New
Status in subiquity package in Ubuntu:
  In Progress

Bug description:
  Testing Ubuntu Plucky Desktop daily ISO dated 24-12-24

  Upon completion of the installation the system fails to restart -
  instead it re-enters the desktop.

  If the system is then restarted by selecting "restart" (in the upper
  right-hand corner)then all works as normal - a message appears to
  remove the media and the system reboots.

  ProblemType: Bug
  DistroRelease: Ubuntu 25.04
  Package: subiquity (295 of snap /snap/ubuntu-desktop-bootstrap/295 of version 0+git.1db71a4e2)
  ProcVersionSignature: Ubuntu 6.11.0-8.8-generic 6.11.0
  Uname: Linux 6.11.0-8-generic x86_64
  NonfreeKernelModules: zfs
  ApportVersion: 2.31.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.502
  CloudArchitecture: x86_64
  CloudID: nocloud
  CloudName: unknown
  CloudPlatform: nocloud
  CloudSubPlatform: seed-dir (/var/lib/cloud/seed/nocloud)
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Dec 24 08:42:41 2024
  DesktopInstallerRev: 295
  LiveMediaBuild: Ubuntu 25.04 "Plucky Puffin" - Daily amd64 (20241224)
  MachineType: Dell Inc. OptiPlex 7090 UFF
  ProcEnviron:
   LANG=C.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   TERM=xterm-256color
   XDG_RUNTIME_DIR=<set>
  ProcKernelCmdLine: BOOT_IMAGE=/casper/vmlinuz --- quiet splash
  SnapUpdated: False
  SnapVersion: 295 of snap /snap/ubuntu-desktop-bootstrap/295 of version 0+git.1db71a4e2
  SourcePackage: subiquity
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/14/2024
  dmi.bios.release: 1.32
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.32.0
  dmi.board.name: 0X6NW1
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 35
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: dmi:bvnDellInc.:bvr1.32.0:bd11/14/2024:br1.32:svnDellInc.:pnOptiPlex7090UFF:pvr:rvnDellInc.:rn0X6NW1:rvrA00:cvnDellInc.:ct35:cvr:sku0A2E:
  dmi.product.family: OptiPlex
  dmi.product.name: OptiPlex 7090 UFF
  dmi.product.sku: 0A2E
  dmi.sys.vendor: Dell Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/subiquity/+bug/2092438/+subscriptions




More information about the foundations-bugs mailing list