In the move from 2.28-5ubuntu2 and 2.28.1-1ubuntu1 of util-linux we see a regression when asking kpartx to remove kernel partition mappings where the appear to remain.
Context: We create and modify disk images heavily. The example recreate creates a 2GB disk image with a single partition. From that 2GB image we will resize it to 8GB and grow the partition/filesystem. This stopped working in yakkety with 2.28.1-1ubuntu1.
We do have a work-around which is call growpart on the file rather on the loopback device.
In the move from 2.28-5ubuntu2 and 2.28.1-1ubuntu1 of util-linux we see a regression when asking kpartx to remove kernel partition mappings where the appear to remain.
Context: We create and modify disk images heavily. The example recreate creates a 2GB disk image with a single partition. From that 2GB image we will resize it to 8GB and grow the partition/ filesystem. This stopped working in yakkety with 2.28.1-1ubuntu1.
We do have a work-around which is call growpart on the file rather on the loopback device.
Recreate script is attached.