(In reply to Stanislav Brabec from comment #1) > With a correct "losetup -d" in the script, error rate increased to 55 of > 20000 attempts. (losetup -d is faster, as it attempts to detach only a > single loop device > [...] Did you perhaps intend to write the above to a different bug?