From: Peter Palfrader Date: Tue, 9 Dec 2014 19:59:05 +0000 (+0100) Subject: samhain moved its statefile X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fdsa-wiki.git;a=commitdiff_plain;h=083c0a47ec1c5e0eccedff1756bac931556842ec samhain moved its statefile --- 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 }}}