[libvirt] [PATCH] util: Fix deadlock in virLogReset
Peter Krempa
pkrempa at redhat.com
Thu Jun 7 13:48:36 UTC 2012
On 06/07/12 15:29, Jiri Denemark wrote:
> When libvirtd forks off a new child, the child then calls virLogReset(),
> which ends up closing file descriptors used as log outputs. However, we
> recently started logging closed file descriptors, which means we need to
> lock logging mutex which was already logged by virLogReset(). We don't
s/logged/locked/ :)
> really want to log anything when we are in the process of closing log
> outputs.
> ---
ACK
Peter
More information about the libvir-list
mailing list