Package: samhain
Version: 3.1.0-7
Severity: minor
Tags: patch

The problem affects manually started instances and instances inside
/lxc/'s containers (if /samhain/ is installed on host and guests) when
the log rotation occurs on host.

The patch have an other side effect: the child process isn't killed yet.
I'm not sure that the configuration is really reloaded for it and maybe
log on the old file still.

Best regards,
diff -Naur samhain-3.1.0/debian/samhain.init samhain-3.1.0-patched/debian/samhain.init
--- samhain-3.1.0/debian/samhain.init	2015-12-20 12:46:12.000000000 +0100
+++ samhain-3.1.0-patched/debian/samhain.init	2015-12-20 12:51:46.637027832 +0100
@@ -78,7 +78,7 @@
   reload)
   	log_begin_msg "Reloading $DESC configuration files: $NAME"
 	if running ; then
-		start-stop-daemon --stop --signal 1 --quiet --exec $DAEMON
+		start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --exec $DAEMON
 		log_end_msg $?
 	else
             	log_daemon_msg " ERROR: $DAEMON is not running."

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to