On upgrade, systemctl and lightdm stop working, leaving the system in a degraded state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When updating systemd on Jammy or when upgrading Focal to Jammy, it was noticed that when systemd restarts, it will crash lightdm. What is strange is that lightdm never restarts, new ttys don't start and systemctl stops working.
I would tell the system get in a degraded state with this particular crash: no easy way to restore the graphical interface, no way to start new ttys and systemctl don't work.
When trying to restart lightdm using systemctl, I get the following:
Failed to get properties: Failed to activate service 'org.freedeskto
The upgrade process is still running in the background, but it's hard to return to the graphical interface. I believe this can be a dangerous situation, as the user would be compelled to reboot the system to get the graphical interface back, cancelling the upgrade in the middle of the process and very likely breaking the system.
This happened on three different computers, with three different installs. I'm reporting from the computer where this happened first.
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: systemd 249.10-0ubuntu1
ProcVersionSign
Uname: Linux 5.15.0-22-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.11-0ubuntu78
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: XFCE
Date: Thu Mar 3 23:42:03 2022
InstallationDate: Installed on 2017-06-13 (1724 days ago)
InstallationMedia: Xubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
MachineType: LENOVO 80UG
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
SystemdFailedUnits:
Error: command ['systemctl', 'status', '--full', '●'] failed with exit code 4: Invalid unit name "●" escaped as "\xe2\x97\x8f" (maybe you should use systemd-escape?).
Unit \xe2\x97\
UpgradeStatus: Upgraded to jammy on 2019-12-22 (802 days ago)
dmi.bios.date: 08/09/2018
dmi.bios.release: 1.45
dmi.bios.vendor: LENOVO
dmi.bios.version: 0XCN45WW
dmi.board.
dmi.board.name: Toronto 4A2
dmi.board.vendor: LENOVO
dmi.board.version: SDK0J40679 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.ec.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.family: IDEAPAD
dmi.product.name: 80UG
dmi.product.sku: LENOVO_
dmi.product.
dmi.sys.vendor: LENOVO
modified.