RAUC cannot create DM device: resource busy
The module affected
RAUC
What is the action to reproduce the bug?
Install a rauc bundle after a previous failed install without rebooting the board.
What is the result you see?
RAUC cannot mount verity bundle because dm device is busy?
May 10 17:38:17 raspberrypi4-64 rauc[325]: Configured loop device '/dev/loop1' for 76029952 bytes
May 10 17:38:17 raspberrypi4-64 rauc[325]: Failed mounting bundle: Failed to create dm device: Resource busy
May 10 17:38:17 raspberrypi4-64 rauc[325]: installing /tmp/bundle.raucb: Failed mounting bundle: Failed to create dm device: Resource busy
May 10 17:38:17 raspberrypi4-64 rauc[325]: installing /tmp/bundle.raucb: finished
May 10 17:38:17 raspberrypi4-64 rauc[325]: installing `/tmp/bundle.raucb` failed: 1
What is the result you expect?
(Expected behavior)
RAUC should not have any issues mounting the bundle.
Frequency?
Unclear, debugging.
Tested version
oniro-image-base on rpi4, built around 2022-05-10 16:50:05 GMT
Do you know any workaround of this issue?
No
Do you have a fix for this issue?
No