Kernel 5.15.0-97.107 resolves the issue for the test case documented in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2052842
However, I still see a regression with the following test case:
$ fallocate -l 1G /tmp/blob
$ sudo losetup $LOOPDEV /tmp/blob
$ sudo /usr/sbin/parted -s -m -a optimal $LOOPDEV -- unit KiB mklabel gpt
mkpart primary 0% 100%
Error: Partition(s) 1 on /dev/loop3 have been written, but we have been unable
to inform the kernel of the change, probably because it/they are in use. As a
result, the old partition(s) will remain in use. You should reboot now before
making further changes.
Expected results: parted return code is 0, partition is available at
${LOOPDEV}p1
Actual results: parted return code is 1, partition is not available at
${LOOPDEV}p1
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2049689
Title:
partprobe is broken on empty loopback device
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2049689/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs