The fix for https://github.com/canonical/subiquity/pull/2182 introduced
a regression for installs on any OS not using at least systemd 257. In
our case, we're autoinstalling Ubuntu 20.04, and because of an unrelated
bug related to package management installs, we are using the `refresh-
installer` configuration to update to the most recent installer.

I would propose instead of using `--check-inhibitors=no` that it should
instead use `-i` / `--ignore-inhibitors` which appears to have
functional equivalency and is backwards compatible.

Relevant systemd code:
https://github.com/systemd/systemd/blob/caecff5fa2ebc4ad7470aebd564cf7c1a705f184/src/systemctl/systemctl.c#L484
https://github.com/systemd/systemd/blob/caecff5fa2ebc4ad7470aebd564cf7c1a705f184/src/systemctl/systemctl.c#L280
https://github.com/systemd/systemd/blob/caecff5fa2ebc4ad7470aebd564cf7c1a705f184/src/systemctl/systemctl.c#L849

I've written up a PR for this change:
https://github.com/canonical/subiquity/pull/2207

Please let me know if there's anything I can help with or if this isn't
the right venue for this. Thanks!

-- 
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/2092438

Title:
  System fails to restart after install

Status in gnome-session:
  Fix Released
Status in subiquity:
  Fix Released
Status in systemd:
  Fix Released
Status in ubuntu-desktop-provision:
  New
Status in gnome-session package in Ubuntu:
  Confirmed
Status in subiquity package in Ubuntu:
  Fix Released
Status in systemd package in Ubuntu:
  Fix Released

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/gnome-session/+bug/2092438/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to