Re: [Qemu-devel] [PATCH v2 5/5] iotests: chown LUKS device before qemu-io launches

2017-01-03 Thread Eric Blake
On 01/03/2017 11:04 AM, Daniel P. Berrange wrote: > On some distros, whenever you close a block device file > descriptor there is a udev rule that resets the file > permissions. This can race with the test script when > we run qemu-io multiple times against the same block > device. Occassionally

[Qemu-devel] [PATCH v2 5/5] iotests: chown LUKS device before qemu-io launches

2017-01-03 Thread Daniel P. Berrange
On some distros, whenever you close a block device file descriptor there is a udev rule that resets the file permissions. This can race with the test script when we run qemu-io multiple times against the same block device. Occassionally the second qemu-io invokation will find udev has reset the