yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #08820
[Bug 1261475] Re: Nova should disable libguestfs' automatic cleanup
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1261475
Title:
Nova should disable libguestfs' automatic cleanup
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
By default libguestfs will register an atexit() handler to cleanup any
open libguestfs handles when the process exits. Since libguestfs does
not provide any mutex locking in its APIs, the atexit handlers are not
safe in multi-threaded processes. If they run they are liable to cause
memory corruption as multiple threads access the same libguestfs
handle. As such at atexit handlers should be disabled in any multi-
threaded program using libguestfs. eg by using
guestfs.GuestFS (close_on_exit = False)
instead of
guestfs.GuestFS()
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1261475/+subscriptions
References