Comment 5 for bug 2051153

Revision history for this message
Christian Ehrhardt  (paelzer) wrote (last edit ):

Ok this works even in a full build

root@j-vm:~# apt install -y --reinstall qemu-block-extra; systemctl status run-qemu.mount; ls -laF /run/qemu/
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils
Suggested packages:
  samba vde2 debootstrap
The following packages will be upgraded:
  qemu-block-extra qemu-system-common qemu-system-data qemu-system-gui qemu-system-x86 qemu-utils
6 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Need to get 16.0 MB of archives.
After this operation, 1024 B disk space will be freed.
Get:1 https://ppa.launchpadcontent.net/paelzer/lp-2051153-fix-run-qemu-mount-restart/ubuntu jammy/main amd64 qemu-system-gui amd64 1:6.2+dfsg-2ubuntu6.17~jammyppa19 [325 kB]
Get:2 https://ppa.launchpadcontent.net/paelzer/lp-2051153-fix-run-qemu-mount-restart/ubuntu jammy/main amd64 qemu-block-extra amd64 1:6.2+dfsg-2ubuntu6.17~jammyppa19 [169 kB]
Get:3 https://ppa.launchpadcontent.net/paelzer/lp-2051153-fix-run-qemu-mount-restart/ubuntu jammy/main amd64 qemu-system-x86 amd64 1:6.2+dfsg-2ubuntu6.17~jammyppa19 [10.2 MB]
Get:4 https://ppa.launchpadcontent.net/paelzer/lp-2051153-fix-run-qemu-mount-restart/ubuntu jammy/main amd64 qemu-system-common amd64 1:6.2+dfsg-2ubuntu6.17~jammyppa19 [2147 kB]
Get:5 https://ppa.launchpadcontent.net/paelzer/lp-2051153-fix-run-qemu-mount-restart/ubuntu jammy/main amd64 qemu-utils amd64 1:6.2+dfsg-2ubuntu6.17~jammyppa19 [1624 kB]
Get:6 https://ppa.launchpadcontent.net/paelzer/lp-2051153-fix-run-qemu-mount-restart/ubuntu jammy/main amd64 qemu-system-data all 1:6.2+dfsg-2ubuntu6.17~jammyppa19 [1527 kB]
Fetched 16.0 MB in 18s (889 kB/s)
(Reading database ... 95002 files and directories currently installed.)
Preparing to unpack .../0-qemu-system-gui_1%3a6.2+dfsg-2ubuntu6.17~jammyppa19_amd64.deb ...
Unpacking qemu-system-gui (1:6.2+dfsg-2ubuntu6.17~jammyppa19) over (1:6.2+dfsg-2ubuntu6.17~jammyppa3) ...
Preparing to unpack .../1-qemu-block-extra_1%3a6.2+dfsg-2ubuntu6.17~jammyppa19_amd64.deb ...
Unpacking qemu-block-extra (1:6.2+dfsg-2ubuntu6.17~jammyppa19) over (1:6.2+dfsg-2ubuntu6.17~jammyppa3) ...
Preparing to unpack .../2-qemu-system-x86_1%3a6.2+dfsg-2ubuntu6.17~jammyppa19_amd64.deb ...
Unpacking qemu-system-x86 (1:6.2+dfsg-2ubuntu6.17~jammyppa19) over (1:6.2+dfsg-2ubuntu6.17~jammyppa3) ...
Preparing to unpack .../3-qemu-system-common_1%3a6.2+dfsg-2ubuntu6.17~jammyppa19_amd64.deb ...
Unpacking qemu-system-common (1:6.2+dfsg-2ubuntu6.17~jammyppa19) over (1:6.2+dfsg-2ubuntu6.17~jammyppa3) ...
Preparing to unpack .../4-qemu-utils_1%3a6.2+dfsg-2ubuntu6.17~jammyppa19_amd64.deb ...
Unpacking qemu-utils (1:6.2+dfsg-2ubuntu6.17~jammyppa19) over (1:6.2+dfsg-2ubuntu6.17~jammyppa3) ...
Preparing to unpack .../5-qemu-system-data_1%3a6.2+dfsg-2ubuntu6.17~jammyppa19_all.deb ...
Unpacking qemu-system-data (1:6.2+dfsg-2ubuntu6.17~jammyppa19) over (1:6.2+dfsg-2ubuntu6.17~jammyppa3) ...
Setting up qemu-system-common (1:6.2+dfsg-2ubuntu6.17~jammyppa19) ...
Setting up qemu-system-data (1:6.2+dfsg-2ubuntu6.17~jammyppa19) ...
Setting up qemu-utils (1:6.2+dfsg-2ubuntu6.17~jammyppa19) ...
Setting up qemu-block-extra (1:6.2+dfsg-2ubuntu6.17~jammyppa19) ...
Setting up qemu-system-x86 (1:6.2+dfsg-2ubuntu6.17~jammyppa19) ...
Setting up qemu-system-gui (1:6.2+dfsg-2ubuntu6.17~jammyppa19) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.10.2-1) ...
Scanning processes...
Scanning linux images...

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
● run-qemu.mount - Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there
     Loaded: loaded (/proc/self/mountinfo; enabled; vendor preset: enabled)
     Active: active (mounted) since Fri 2024-01-26 13:30:56 UTC; 2 days ago
      Where: /run/qemu
       What: tmpfs
      Tasks: 0 (limit: 1171)
     Memory: 8.0K
        CPU: 2ms
     CGroup: /system.slice/run-qemu.mount

Jan 26 13:30:56 j-vm systemd[1]: Mounting Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there...
Jan 26 13:30:56 j-vm systemd[1]: Mounted Prepare /run/qemu to allow still running qemu binaries of former builds (after package upgrades) to fallback-load modules from there.
total 0
drwxr-xr-x 3 root root 60 Jan 29 13:27 ./
drwxr-xr-x 29 root root 920 Jan 29 07:00 ../
drwxr-xr-x 2 root root 140 Jan 29 13:27 Debian_1_6.2+dfsg-2ubuntu6.17~jammyppa3/

... proposing for the team to review.