Test III:
no extra MP and no MP stacking if already executable

Bionic
ubuntu@qemu-module-bionic:~$ sudo umount /var/run/qemu/; sudo rm -rf 
/var/run/qemu; sudo mount -o remount,exec /run
ubuntu@qemu-module-bionic:~$ find /var/run/qemu/; findmnt -T /var/run/qemu
find: ‘/var/run/qemu/’: No such file or directory
ubuntu@qemu-module-bionic:~$ sudo apt install --reinstall qemu-block-extra
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 41.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 
qemu-block-extra amd64 1:2.11+dfsg-1ubuntu7.38 [41.8 kB]
Fetched 41.8 kB in 0s (138 kB/s)           
(Reading database ... 125824 files and directories currently installed.)
Preparing to unpack .../qemu-block-extra_1%3a2.11+dfsg-1ubuntu7.38_amd64.deb ...
Unpacking qemu-block-extra:amd64 (1:2.11+dfsg-1ubuntu7.38) over 
(1:2.11+dfsg-1ubuntu7.38) ...
Setting up qemu-block-extra:amd64 (1:2.11+dfsg-1ubuntu7.38) ...
ubuntu@qemu-module-bionic:~$ find /var/run/qemu/; findmnt -T /var/run/qemu
/var/run/qemu/
/var/run/qemu/_Debian_1_2.11+dfsg-1ubuntu7.38_
/var/run/qemu/_Debian_1_2.11+dfsg-1ubuntu7.38_/block-rbd.so
/var/run/qemu/_Debian_1_2.11+dfsg-1ubuntu7.38_/block-iscsi.so
/var/run/qemu/README
/var/run/qemu/exec
TARGET SOURCE FSTYPE OPTIONS
/run   tmpfs  tmpfs  rw,nosuid,relatime,size=204068k,mode=755


Focal
ubuntu@qemu-module-focal:~$ sudo umount /var/run/qemu/; sudo rm -rf 
/var/run/qemu; sudo mount -o remount,exec /run
ubuntu@qemu-module-focal:~$ find /var/run/qemu/; findmnt -T /var/run/qemu
find: ‘/var/run/qemu/’: No such file or directory
ubuntu@qemu-module-focal:~$ sudo apt install --reinstall qemu-block-extra
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 54.8 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-proposed/main amd64 
qemu-block-extra amd64 1:4.2-3ubuntu6.18 [54.8 kB]
Fetched 54.8 kB in 0s (173 kB/s)           
(Reading database ... 142014 files and directories currently installed.)
Preparing to unpack .../qemu-block-extra_1%3a4.2-3ubuntu6.18_amd64.deb ...
Unpacking qemu-block-extra:amd64 (1:4.2-3ubuntu6.18) over (1:4.2-3ubuntu6.18) 
...
Setting up qemu-block-extra:amd64 (1:4.2-3ubuntu6.18) ...
ubuntu@qemu-module-focal:~$ find /var/run/qemu/; findmnt -T /var/run/qemu
/var/run/qemu/
/var/run/qemu/Debian_1_4.2-3ubuntu6.18
/var/run/qemu/Debian_1_4.2-3ubuntu6.18/block-ssh.so
/var/run/qemu/Debian_1_4.2-3ubuntu6.18/block-rbd.so
/var/run/qemu/Debian_1_4.2-3ubuntu6.18/block-iscsi.so
/var/run/qemu/README
/var/run/qemu/exec
TARGET SOURCE FSTYPE OPTIONS
/run   tmpfs  tmpfs  rw,nosuid,nodev,relatime,size=203516k,mode=755

Hirsute
ubuntu@qemu-module-hirsute:~$ sudo umount /var/run/qemu/; sudo rm -rf 
/var/run/qemu; sudo mount -o remount,exec /run
ubuntu@qemu-module-hirsute:~$ find /var/run/qemu/; findmnt -T /var/run/qemu
find: ‘/var/run/qemu/’: No such file or directory
ubuntu@qemu-module-hirsute:~$ sudo apt install --reinstall qemu-block-extra
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  net-tools
Use 'sudo apt autoremove' to remove it.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 50.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu hirsute-proposed/main amd64 
qemu-block-extra amd64 1:5.2+dfsg-9ubuntu3.2 [50.3 kB]
Fetched 50.3 kB in 0s (159 kB/s)           
(Reading database ... 148244 files and directories currently installed.)
Preparing to unpack .../qemu-block-extra_1%3a5.2+dfsg-9ubuntu3.2_amd64.deb ...
Unpacking qemu-block-extra (1:5.2+dfsg-9ubuntu3.2) over (1:5.2+dfsg-9ubuntu3.2) 
...
Setting up qemu-block-extra (1:5.2+dfsg-9ubuntu3.2) ...
Scanning processes...                                                           
                                                                                
                               
Scanning linux images...                                                        
                                                                                
                               

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.
ubuntu@qemu-module-hirsute:~$ find /var/run/qemu/; findmnt -T /var/run/qemu
/var/run/qemu/
/var/run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2
/var/run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2/block-ssh.so
/var/run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2/block-rbd.so
/var/run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2/block-iscsi.so
/var/run/qemu/README
/var/run/qemu/exec
TARGET SOURCE FSTYPE OPTIONS
/run   tmpfs  tmpfs  rw,nosuid,nodev,relatime,size=202588k,mode=755,inode64

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1913421

Title:
  Load of pre-upgrade qemu modules needs to avoid noexec

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1913421/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to