Hi folks,
Addition of pkg/{UN}MESSAGE with workarounds to sshguard's death on boot
Sorry I don't know the root cause of the problem...
Index: Makefile
===================================================================
RCS file: /cvs/ports/security/sshguard/Makefile,v
retrieving revision 1.8
diff -u -p -r1.8 Makefile
--- Makefile 25 Mar 2014 12:31:50 -0000 1.8
+++ Makefile 12 Jan 2015 20:17:18 -0000
@@ -3,7 +3,7 @@
COMMENT= protect against brute force attacks on sshd and others
DISTNAME= sshguard-1.5
-REVISION= 1
+REVISION= 2
CATEGORIES= security
# BSD
Index: pkg/MESSAGE
===================================================================
RCS file: pkg/MESSAGE
diff -N pkg/MESSAGE
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/MESSAGE 12 Jan 2015 20:17:18 -0000
@@ -0,0 +1,13 @@
+
+sshguard is reported to die on boot:
+http://marc.info/?l=openbsd-ports&w=2&r=1&s=sshguard+boot
+
+Known workarounds are EITHER:
+
+1) a root cron job (will operate everytime cron starts):
+@reboot sleep 5; /etc/rc.d/sshguard
start
+
+2) an addition to /etc/rc.local (will operate once on boot):
+print "unset INRC\nprint -n -- '$0 start '\n/etc/rc.d/sshguard start" |
+ at -q a 'now + 2 minutes'
+
Index: pkg/UNMESSAGE
===================================================================
RCS file: pkg/UNMESSAGE
diff -N pkg/UNMESSAGE
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ pkg/UNMESSAGE 12 Jan 2015 20:17:18 -0000
@@ -0,0 +1 @@
+Remove boot re-starter from root's crontab or /etc/rc.local