Received: from eggs.gnu.org ([2001:4830:134:3::10]:39956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cOUdM-00061q-D3 for qemu-devel@nongnu.org; Tue, 03 Jan 2017 14:20:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cOUdL-0000Dr-9c for qemu-devel@nongnu.org; Tue, 03 Jan 2017 14:20:32 -0500 References: <20170103170459.27662-1-berrange@redhat.com> <20170103170459.27662-6-berrange@redhat.com> From: Eric Blake Message-ID: Date: Tue, 3 Jan 2017 13:20:24 -0600 MIME-Version: 1.0 In-Reply-To: <20170103170459.27662-6-berrange@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vqHwXq48gVtScnEBsTTSDVHMD0mtmgJAh" Subject: Re: [Qemu-devel] [PATCH v2 5/5] iotests: chown LUKS device before qemu-io launches List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, Max Reitz This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vqHwXq48gVtScnEBsTTSDVHMD0mtmgJAh From: Eric Blake To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: Kevin Wolf , qemu-block@nongnu.org, Max Reitz Message-ID: Subject: Re: [Qemu-devel] [PATCH v2 5/5] iotests: chown LUKS device before qemu-io launches References: <20170103170459.27662-1-berrange@redhat.com> <20170103170459.27662-6-berrange@redhat.com> In-Reply-To: <20170103170459.27662-6-berrange@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 the second qemu-io invokation s/Occassionally/Occasionally/ s/invokation/invocation/ > will find udev has reset the permissions causing failure. >=20 > Signed-off-by: Daniel P. Berrange > --- > tests/qemu-iotests/149 | 13 +- > tests/qemu-iotests/149.out | 344 ++++++++++++++++++++++---------------= -------- > 2 files changed, 178 insertions(+), 179 deletions(-) >=20 Reviewed-by: Eric Blake --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --vqHwXq48gVtScnEBsTTSDVHMD0mtmgJAh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJYa/l4AAoJEKeha0olJ0NqbQsH/ikcPmkn+OzO88jCMO3w/ZL3 94wv8DNfbUNqoRowhhpm8jrFNxaEjst/YdGjxUHJizgczk0c2AEARijj/Ajk3wqm g9DIWJqrOP/OtkArTEhqIR6tenQc8OyQMybkAypJbXt/PKEIwgrPJUCwZ+JG32J5 UO3eYybsjglgM0xXsxjmPolIPJOQxLVP2wll/t7g/rLwoS+jF9oAycZVHdOngv57 yTEgvWP+FiaHvmioaqFSiOQg2mT1eynqFlYI/jfc2vyvtXmpYnu63SmTg3x0IA1k kp0qRtMS8mbUH0ng3Nw7gjizIwvlTM9kkQtwS3ys7bwmW+fTCQcCMQBUl1nhbYs= =kdXy -----END PGP SIGNATURE----- --vqHwXq48gVtScnEBsTTSDVHMD0mtmgJAh--