Slow reported boot in VM
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
systemd-analyze reports a slow boot in a virtual machine. Steps to reproduce:
1. Install ubuntu-
2. Reboot and install all updates
3. Reboot the virtual machine. The machine will take several seconds to boot and login
4. Open a terminal and enter systemd-analyze
Expected total reported boot time on my hardware: around 3.5 seconds
But I got:
$ systemd-analyze
Bootup is not yet finished (org.freedeskto
Please try again later.
Hint: Use 'systemctl list-jobs' to see active jobs
$ systemctl list-jobs
JOB UNIT TYPE STATE
170 systemd-
156 system-getty.slice start waiting
1 graphical.target start waiting
104 plymouth-
2 multi-user.target start waiting
40 setvtrgb.service start waiting
6 jobs listed.
$ sleep 20 && systemd-analyze
Startup finished in 1.603s (kernel) + 21.500s (userspace) = 23.103s
graphical.target reached after 21.436s in userspace.
ProblemType: Bug
DistroRelease: Ubuntu 23.04
Package: systemd 252.5-2ubuntu3.1
ProcVersionSign
Uname: Linux 6.2.0-33-generic x86_64
ApportVersion: 2.26.1-0ubuntu2
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Tue Sep 19 12:47:49 2023
InstallationDate: Installed on 2023-09-19 (0 days ago)
InstallationMedia: Ubuntu 23.04 "Lunar Lobster" - Release amd64 (20230418)
Lsusb:
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0627:0001 Adomax Technology Co., Ltd QEMU USB Tablet
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Lsusb-t:
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
MachineType: QEMU Standard PC (Q35 + ICH9, 2009)
ProcEnviron:
LANG=de_DE.UTF-8
PATH=(custom, no user)
SHELL=/bin/bash
TERM=xterm-
XDG_RUNTIME_
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: systemd
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/01/2014
dmi.bios.release: 0.0
dmi.bios.vendor: SeaBIOS
dmi.bios.version: 1.16.0-
dmi.chassis.type: 1
dmi.chassis.vendor: QEMU
dmi.chassis.
dmi.modalias: dmi:bvnSeaBIOS:
dmi.product.name: Standard PC (Q35 + ICH9, 2009)
dmi.product.
dmi.sys.vendor: QEMU