Test I Bionic ubuntu@qemu-module-bionic:~$ virsh start lateload Domain lateload started
ubuntu@qemu-module-bionic:~$ sudo mv /usr/lib/x86_64-linux-gnu/qemu/block-curl.so /root/block-curl.so.notherightplace ubuntu@qemu-module-bionic:~$ virsh attach-device lateload curldisk.xml Device attached successfully ubuntu@qemu-module-bionic:~$ sudo cat /proc/$(pidof qemu-system-x86_64)/maps | grep curl 7f79ee774000-7f79ee7f0000 r-xp 00000000 fc:01 6445 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.5.0 7f79ee7f0000-7f79ee9f0000 ---p 0007c000 fc:01 6445 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.5.0 7f79ee9f0000-7f79ee9f3000 r--p 0007c000 fc:01 6445 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.5.0 7f79ee9f3000-7f79ee9f4000 rw-p 0007f000 fc:01 6445 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.5.0 7f79ee9f4000-7f79ee9f8000 r-xp 00000000 00:33 14 /run/qemu/_Debian_1_2.11+dfsg-1ubuntu7.38_/block-curl.so 7f79ee9f8000-7f79eebf8000 ---p 00004000 00:33 14 /run/qemu/_Debian_1_2.11+dfsg-1ubuntu7.38_/block-curl.so 7f79eebf8000-7f79eebf9000 r--p 00004000 00:33 14 /run/qemu/_Debian_1_2.11+dfsg-1ubuntu7.38_/block-curl.so 7f79eebf9000-7f79eebfa000 rw-p 00005000 00:33 14 /run/qemu/_Debian_1_2.11+dfsg-1ubuntu7.38_/block-curl.so Focal ubuntu@qemu-module-focal:~$ virsh start lateload Domain lateload started ubuntu@qemu-module-focal:~$ sudo mv /usr/lib/x86_64-linux-gnu/qemu/block-curl.so /root/block-curl.so.notherightplace ubuntu@qemu-module-focal:~$ virsh attach-device lateload curldisk.xml Device attached successfully ubuntu@qemu-module-focal:~$ sudo cat /proc/$(pidof qemu-system-x86_64)/maps | grep curl 7f7e00243000-7f7e0024f000 r--p 00000000 fc:01 5481 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.6.0 7f7e0024f000-7f7e002b1000 r-xp 0000c000 fc:01 5481 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.6.0 7f7e002b1000-7f7e002cc000 r--p 0006e000 fc:01 5481 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.6.0 7f7e002cc000-7f7e002cd000 ---p 00089000 fc:01 5481 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.6.0 7f7e002cd000-7f7e002d1000 r--p 00089000 fc:01 5481 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.6.0 7f7e002d1000-7f7e002d2000 rw-p 0008d000 fc:01 5481 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.6.0 7f7e016a4000-7f7e016a6000 r--p 00000000 00:34 18 /run/qemu/Debian_1_4.2-3ubuntu6.18/block-curl.so 7f7e016a6000-7f7e016a9000 r-xp 00002000 00:34 18 /run/qemu/Debian_1_4.2-3ubuntu6.18/block-curl.so 7f7e016a9000-7f7e016aa000 r--p 00005000 00:34 18 /run/qemu/Debian_1_4.2-3ubuntu6.18/block-curl.so 7f7e016aa000-7f7e016ab000 ---p 00006000 00:34 18 /run/qemu/Debian_1_4.2-3ubuntu6.18/block-curl.so 7f7e016ab000-7f7e016ac000 r--p 00006000 00:34 18 /run/qemu/Debian_1_4.2-3ubuntu6.18/block-curl.so 7f7e016ac000-7f7e016ad000 rw-p 00007000 00:34 18 /run/qemu/Debian_1_4.2-3ubuntu6.18/block-curl.so Hirsute ubuntu@qemu-module-hirsute:~$ virsh start lateload Domain 'lateload' started ubuntu@qemu-module-hirsute:~$ sudo mv /usr/lib/x86_64-linux-gnu/qemu/block-curl.so /root/block-curl.so.notherightplace ubuntu@qemu-module-hirsute:~$ virsh attach-device lateload curldisk.xml Device attached successfully ubuntu@qemu-module-hirsute:~$ sudo cat /proc/$(pidof qemu-system-x86_64)/maps | grep curl 7f988c002000-7f988c010000 r--p 00000000 fc:01 5432 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.7.0 7f988c010000-7f988c07b000 r-xp 0000e000 fc:01 5432 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.7.0 7f988c07b000-7f988c095000 r--p 00079000 fc:01 5432 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.7.0 7f988c095000-7f988c099000 r--p 00092000 fc:01 5432 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.7.0 7f988c099000-7f988c09b000 rw-p 00096000 fc:01 5432 /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4.7.0 7f988ca2b000-7f988ca2e000 r--p 00000000 00:37 15 /run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2/block-curl.so 7f988ca2e000-7f988ca31000 r-xp 00003000 00:37 15 /run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2/block-curl.so 7f988ca31000-7f988ca32000 r--p 00006000 00:37 15 /run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2/block-curl.so 7f988ca32000-7f988ca33000 ---p 00007000 00:37 15 /run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2/block-curl.so 7f988ca33000-7f988ca34000 r--p 00007000 00:37 15 /run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2/block-curl.so 7f988cubuntu@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=755a34000-7f988ca35000 rw-p 00008000 00:37 15 /run/qemu/Debian_1_5.2+dfsg-9ubuntu3.2/block-curl.so -- 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