Re: [libvirt] [PATCH v1 01/23] virtlockd: Don't SIGSEGV on SIGUSR1

2015-10-15 Thread John Ferlan
On 10/12/2015 06:25 AM, Michal Privoznik wrote: > So we have this mechanism that on SIGUSR1 the virtlockd dumps its > internal state into a JSON file, reexec itself and the reloads > the internal state back. However, there's a bug in our > implementation: > > (gdb) signal SIGUSR1 > Continuin

[libvirt] [PATCH v1 01/23] virtlockd: Don't SIGSEGV on SIGUSR1

2015-10-12 Thread Michal Privoznik
So we have this mechanism that on SIGUSR1 the virtlockd dumps its internal state into a JSON file, reexec itself and the reloads the internal state back. However, there's a bug in our implementation: (gdb) signal SIGUSR1 Continuing with signal SIGUSR1. [Thread 0x7fd094f7b700 (LWP 10602) exit