Activity log for bug #2028124

Date Who What changed Old value New value Message
2023-07-19 07:24:29 Jan Kratochvíl bug added bug
2023-07-20 12:51:36 Launchpad Janitor apt (Ubuntu): status New Confirmed
2023-07-20 12:51:59 boe bug added subscriber boe
2023-07-20 13:17:59 David Kalnischkies affects apt (Ubuntu) qemu (Ubuntu)
2023-07-21 18:10:15 Lena Voytek nominated for series Ubuntu Lunar
2023-07-21 18:10:15 Lena Voytek bug task added qemu (Ubuntu Lunar)
2023-07-21 18:10:15 Lena Voytek nominated for series Ubuntu Jammy
2023-07-21 18:10:15 Lena Voytek bug task added qemu (Ubuntu Jammy)
2023-07-21 18:10:21 Lena Voytek qemu (Ubuntu Jammy): status New Triaged
2023-07-21 18:10:23 Lena Voytek qemu (Ubuntu Lunar): status New Triaged
2023-07-21 18:10:26 Lena Voytek qemu (Ubuntu): status Confirmed Triaged
2023-07-21 18:10:46 Lena Voytek tags server-triage-discuss
2023-07-21 18:10:57 Lena Voytek bug added subscriber Ubuntu Server
2023-07-21 18:33:15 Sergio Durigan Junior qemu (Ubuntu): assignee Sergio Durigan Junior (sergiodj)
2023-07-21 18:33:18 Sergio Durigan Junior qemu (Ubuntu Lunar): assignee Sergio Durigan Junior (sergiodj)
2023-07-21 18:33:19 Sergio Durigan Junior qemu (Ubuntu Jammy): assignee Sergio Durigan Junior (sergiodj)
2023-07-21 18:33:24 Sergio Durigan Junior tags server-triage-discuss server-todo
2023-08-08 20:56:40 Kamil bug added subscriber Kamil
2023-08-26 13:53:32 Launchpad Janitor qemu (Ubuntu): status Triaged Fix Released
2023-08-30 15:17:46 Robie Basak qemu (Ubuntu Jammy): assignee Sergio Durigan Junior (sergiodj) Mitchell Dzurick (mitchdz)
2023-08-30 15:17:52 Robie Basak qemu (Ubuntu Lunar): assignee Sergio Durigan Junior (sergiodj) Mitchell Dzurick (mitchdz)
2023-09-07 00:39:25 Mitchell Dzurick description When my system Ubuntu 22.04.2 LTS performs apt dist-upgrade (manually or from unattended upgrades) and there is an upadte on package qemu-guest-agent, the agent gets stopped, updated, but is not started. I observed this behaviour on two machines with same result. After I run the apt I see this in syslog, no errors: Jul 19 07:04:02 micro systemd[1]: Stopping QEMU Guest Agent... Jul 19 07:04:02 micro systemd[1]: qemu-guest-agent.service: Deactivated successfully. Jul 19 07:04:02 micro systemd[1]: Stopped QEMU Guest Agent. Jul 19 07:04:02 micro systemd[1]: qemu-guest-agent.service: Consumed 31min 49.962s CPU time. [Impact] When upgrading qemu-guest-agent, the service is not restarted. This can cause an issue in certain scenarios such as using Terraform where the servers get automatically updated, and then get lost due to qemu-guest-agent not restarting. [Fix] The fix is to remove --no-start from dh_installsystemd [Test Case] set of steps to reproduce the issue. With the fix, qemu-guest-agent should be active after reinstalling. $ lxc launch ubuntu:jammy j --vm -c limits.memory=8GB $ lxc shell j # apt update && apt install -y uvtool uvtool-libvirt # su - ubuntu $ ssh-keygen $ uvt-simplestreams-libvirt sync release=jammy arch=amd64 $ uvt-kvm create test release=jammy --memory 2024 $ uvt-kvm wait test $ uvt-kvm ssh test # apt install qemu-guest-agent # systemctl start qemu-guest-agent # apt install --reinstall qemu-guest-agent # systemctl status qemu-guest-agent [Things that can go wrong] - Security considerations of automatically starting qemu-guest-agent. It should be presumed that users understand the package they are installing. - If the hypervisor can change settings to no longer support qemu-guest-agent service, then attempting to start the service will fail. I'm not sure if this scenario is possible.
2023-09-07 00:39:48 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchdz/ubuntu/+source/qemu/+git/qemu/+merge/450829
2023-09-07 00:40:25 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchdz/ubuntu/+source/qemu/+git/qemu/+merge/450830
2023-09-07 00:55:12 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchdz/ubuntu/+source/qemu/+git/qemu/+merge/450831
2023-09-07 17:34:23 Mitchell Dzurick description [Impact] When upgrading qemu-guest-agent, the service is not restarted. This can cause an issue in certain scenarios such as using Terraform where the servers get automatically updated, and then get lost due to qemu-guest-agent not restarting. [Fix] The fix is to remove --no-start from dh_installsystemd [Test Case] set of steps to reproduce the issue. With the fix, qemu-guest-agent should be active after reinstalling. $ lxc launch ubuntu:jammy j --vm -c limits.memory=8GB $ lxc shell j # apt update && apt install -y uvtool uvtool-libvirt # su - ubuntu $ ssh-keygen $ uvt-simplestreams-libvirt sync release=jammy arch=amd64 $ uvt-kvm create test release=jammy --memory 2024 $ uvt-kvm wait test $ uvt-kvm ssh test # apt install qemu-guest-agent # systemctl start qemu-guest-agent # apt install --reinstall qemu-guest-agent # systemctl status qemu-guest-agent [Things that can go wrong] - Security considerations of automatically starting qemu-guest-agent. It should be presumed that users understand the package they are installing. - If the hypervisor can change settings to no longer support qemu-guest-agent service, then attempting to start the service will fail. I'm not sure if this scenario is possible. [Impact] When upgrading qemu-guest-agent, the service is not restarted. This can cause an issue in certain scenarios such as using Terraform where the servers get automatically updated, and then get lost due to qemu-guest-agent not restarting. [Fix] The fix is to remove --no-start from dh_installsystemd This is a backport from the following debian commit - https://salsa.debian.org/qemu-team/qemu/-/commit/eb0eba431ad4524a768a4e5cef4d4f6f1ad8a649 [Test Case] set of steps to reproduce the issue. With the fix, qemu-guest-agent should be active after reinstalling. $ lxc launch ubuntu:jammy j --vm -c limits.memory=8GB $ lxc shell j # apt update && apt install -y uvtool uvtool-libvirt # su - ubuntu $ ssh-keygen $ uvt-simplestreams-libvirt sync release=jammy arch=amd64 $ uvt-kvm create test release=jammy --memory 2024 $ uvt-kvm wait test $ uvt-kvm ssh test # apt install qemu-guest-agent # systemctl start qemu-guest-agent # apt install --reinstall qemu-guest-agent # systemctl status qemu-guest-agent [Things that can go wrong] - Security considerations of automatically starting qemu-guest-agent. It should be presumed that users understand the package they are installing. - If the hypervisor can change settings to no longer support qemu-guest-agent service, then attempting to start the service will fail. I'm not sure if this scenario is possible.
2023-09-12 15:42:55 Ubuntu Archive Robot bug added subscriber Paride Legovini
2023-09-12 15:57:18 Sergio Durigan Junior qemu (Ubuntu Jammy): status Triaged In Progress
2023-09-12 15:57:20 Sergio Durigan Junior qemu (Ubuntu Lunar): status Triaged In Progress
2023-09-15 12:19:09 Timo Aaltonen qemu (Ubuntu Lunar): status In Progress Fix Committed
2023-09-15 12:19:11 Timo Aaltonen bug added subscriber Ubuntu Stable Release Updates Team
2023-09-15 12:19:13 Timo Aaltonen bug added subscriber SRU Verification
2023-09-15 12:19:17 Timo Aaltonen tags server-todo server-todo verification-needed verification-needed-lunar
2023-09-15 18:42:37 Launchpad Janitor merge proposal linked https://code.launchpad.net/~mitchdz/ubuntu/+source/qemu/+git/qemu/+merge/451472
2023-09-15 19:22:48 Mitchell Dzurick tags server-todo verification-needed verification-needed-lunar server-todo verification-done-lunar verification-needed
2023-09-19 03:45:43 Ubuntu Archive Robot bug added subscriber Bryce Harrington
2023-09-27 15:35:27 Christian Ehrhardt  tags server-todo verification-done-lunar verification-needed server-todo verification-done verification-done-lunar
2023-09-28 00:28:33 Brian Murray removed subscriber Ubuntu Stable Release Updates Team
2023-09-28 00:30:26 Launchpad Janitor qemu (Ubuntu Lunar): status Fix Committed Fix Released
2023-09-28 17:43:28 Andreas Hasenack qemu (Ubuntu Jammy): status In Progress Fix Committed
2023-09-28 17:43:30 Andreas Hasenack bug added subscriber Ubuntu Stable Release Updates Team
2023-09-28 17:43:37 Andreas Hasenack tags server-todo verification-done verification-done-lunar server-todo verification-done-lunar verification-needed verification-needed-jammy
2023-09-29 16:15:44 Paride Legovini removed subscriber Paride Legovini
2023-10-05 00:45:40 Mitchell Dzurick tags server-todo verification-done-lunar verification-needed verification-needed-jammy server-todo verification-done verification-done-jammy verification-done-lunar
2023-10-18 07:02:46 Launchpad Janitor qemu (Ubuntu Jammy): status Fix Committed Fix Released