]> xenbits.xensource.com Git - libvirt.git/commitdiff
Revert "virtlockd: treat SIGHUP like SIGUSR1"
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 10 Dec 2013 14:49:06 +0000 (15:49 +0100)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 10 Dec 2013 14:49:06 +0000 (15:49 +0100)
This reverts commit 8355d42dd3df514c8584e0e5082b945b79671fc5.

After some discussion upstream [1] this patch turns out to be spurious.
It better gets reverted prior to a release.

1: https://www.redhat.com/archives/libvir-list/2013-December/msg00563.html

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
src/locking/lock_daemon.c
src/locking/virtlockd.pod.in

index ae09ef8c66688e6833b1f50ba64c27466d98b7ab..a6be43c3cee27021e154ca833b8ee04930156426 100644 (file)
@@ -592,8 +592,6 @@ virLockDaemonSetupSignals(virNetServerPtr srv)
         return -1;
     if (virNetServerAddSignalHandler(srv, SIGUSR1, virLockDaemonExecRestartHandler, NULL) < 0)
         return -1;
-    if (virNetServerAddSignalHandler(srv, SIGHUP, virLockDaemonExecRestartHandler, NULL) < 0)
-        return -1;
     return 0;
 }
 
index 022d67ffac7794e328ae854297ab10aef067f923..99612aa537b0380be168f85e19fa353aa7601306 100644 (file)
@@ -54,9 +54,9 @@ Display version information then exit.
 
 =head1 SIGNALS
 
-On receipt of B<SIGUSR1> or B<SIGHUP> virtlockd will re-exec() its
-binary, while maintaining all current locks and clients. This allows
-for live upgrades of the virtlockd service.
+On receipt of B<SIGUSR1> virtlockd will re-exec() its binary, while
+maintaining all current locks and clients. This allows for live
+upgrades of the virtlockd service.
 
 =head1 FILES