Hi,

I can confirm the issue. We have several virtual machines with 22.04
(upgraded from 18.04) with the same issue on each qemu-guest-agent
upgrade. In the follow example the service is stopped with he upgrade of
the package at '2023-07-17 13:21:02'


root@vm1:~# grep -i qemu /var/log/dpkg.log
2023-07-03 20:58:18 upgrade qemu-guest-agent:amd64 1:4.2-3ubuntu6.27 
1:6.2+dfsg-2ubuntu6.11
2023-07-03 20:58:18 status half-configured qemu-guest-agent:amd64 
1:4.2-3ubuntu6.27
2023-07-03 20:58:18 status unpacked qemu-guest-agent:amd64 1:4.2-3ubuntu6.27
2023-07-03 20:58:18 status half-installed qemu-guest-agent:amd64 
1:4.2-3ubuntu6.27
2023-07-03 20:59:18 status unpacked qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.11
2023-07-03 21:00:06 configure qemu-guest-agent:amd64 1:6.2+dfsg-2ubuntu6.11 
<none>
2023-07-03 21:00:06 status unpacked qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.11
2023-07-03 21:00:06 status half-configured qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.11
2023-07-03 21:00:06 status installed qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.11
2023-07-17 13:21:02 upgrade qemu-guest-agent:amd64 1:6.2+dfsg-2ubuntu6.11 
1:6.2+dfsg-2ubuntu6.12
2023-07-17 13:21:02 status half-configured qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.11
2023-07-17 13:21:02 status unpacked qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.11
2023-07-17 13:21:02 status half-installed qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.11
2023-07-17 13:21:02 status unpacked qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.12
2023-07-17 13:21:05 configure qemu-guest-agent:amd64 1:6.2+dfsg-2ubuntu6.12 
<none>
2023-07-17 13:21:05 status unpacked qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.12
2023-07-17 13:21:05 status half-configured qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.12
2023-07-17 13:21:05 status installed qemu-guest-agent:amd64 
1:6.2+dfsg-2ubuntu6.12

root@vm1:~# systemctl status qemu-guest-agent.service
○ qemu-guest-agent.service - QEMU Guest Agent
Loaded: loaded (/lib/systemd/system/qemu-guest-agent.service; static)
Active: inactive (dead) since Mon 2023-07-17 13:21:02 CEST; 2 days ago
Main PID: 763 (code=exited, status=0/SUCCESS)
CPU: 58ms

Jul 11 05:42:42 vm1 qemu-ga[763]: info: guest-fsfreeze called
Jul 12 05:44:36 vm1 qemu-ga[763]: info: guest-fsfreeze called
Jul 13 04:43:06 vm1 qemu-ga[763]: info: guest-fsfreeze called
Jul 14 05:57:13 vm1 qemu-ga[763]: info: guest-fsfreeze called
Jul 15 05:46:10 vm1 qemu-ga[763]: info: guest-fsfreeze called
Jul 16 06:22:59 vm1 qemu-ga[763]: info: guest-fsfreeze called
Jul 17 05:40:00 vm1 qemu-ga[763]: info: guest-fsfreeze called
Jul 17 13:21:02 vm1 systemd[1]: Stopping QEMU Guest Agent...
Jul 17 13:21:02 vm1 systemd[1]: qemu-guest-agent.service: Deactivated 
successfully.
Jul 17 13:21:02 vm1 systemd[1]: Stopped QEMU Guest Agent.

Kind regards, 
Achim

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2028124

Title:
  apt dist-upgrade does not restart package qemu-guest-agent

Status in apt package in Ubuntu:
  Confirmed

Bug 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2028124/+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