From 083c0a47ec1c5e0eccedff1756bac931556842ec Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 9 Dec 2014 20:59:05 +0100 Subject: [PATCH] samhain moved its statefile --- input/howto/new-machine.creole | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/input/howto/new-machine.creole b/input/howto/new-machine.creole index 66e65f0..a8cb69c 100644 --- a/input/howto/new-machine.creole +++ b/input/howto/new-machine.creole @@ -30,6 +30,7 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup * on the host, run ud-replicate and check if it worked {{{ + apt-get update && apt-get install -y --no-install-recommends userdir-ldap && ud-replicate && id weasel @@ -76,7 +77,7 @@ Note: this has recently been changed to rely more on [[puppet|howto/puppet-setup apt-get install -y samhain && ( puppet agent --no-daemonize --onetime || true ) && service samhain stop && - rm /var/state/samhain/samhain_file && + rm -f /var/state/samhain/samhain_file /var/lib/samhain/samhain_file && samhain --foreground -t init -p none -s none -l none -m none && service samhain start }}} -- 2.20.1