[libvirt] [PATCH] build: prefer mkostemp for multi-thread safety

Eric Blake eblake at redhat.com
Fri Nov 2 15:16:51 UTC 2012


On 11/02/2012 03:39 AM, Leonardo Arena wrote:
>>> It worked.
>>> I've closed BZ871756.
>>>
>>> Thanks to all.
>>>
>>> - leonardo
>>>
>>
>> And thanks to you as well.  Let us know how the 1.0.0 turns out as it is
>> already released.
> 
> I've already pushed it to Alpine "edge" repository this morning. It will be included in Alpine 2.5 release, scheduled next week.

Alas, 1.0.0 is slightly broken on Alpine.  You need to manually remove
the mistaken __UCLIBC__ hunk in src/util/logging.c, so that you are
properly using mkostemp from gnulib and not discarding O_CLOEXEC.  It
has since been fixed in libvirt.git (this regression cost us three
additional commits to get straightened out: 30b398d, bd0cb27, d055498).

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 617 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20121102/1c466eec/attachment-0001.sig>


More information about the libvir-list mailing list