Blob Blame History Raw
diff -U0 fail2ban-0.8.7.1/ChangeLog.notmp fail2ban-0.8.7.1/ChangeLog
--- fail2ban-0.8.7.1/ChangeLog.notmp	2012-07-31 19:45:04.000000000 -0600
+++ fail2ban-0.8.7.1/ChangeLog	2012-10-11 11:49:16.317481660 -0600
@@ -511 +511 @@
-- Changed default PID lock file location from /tmp to /var/run
+- Changed default PID lock file location from /var/lib/fail2ban to /var/run
diff -up fail2ban-0.8.7.1/client/fail2banreader.py.notmp fail2ban-0.8.7.1/client/fail2banreader.py
--- fail2ban-0.8.7.1/client/fail2banreader.py.notmp	2012-07-31 19:45:04.000000000 -0600
+++ fail2ban-0.8.7.1/client/fail2banreader.py	2012-10-11 11:49:16.318481661 -0600
@@ -42,7 +42,7 @@ class Fail2banReader(ConfigReader):
 		ConfigReader.read(self, "fail2ban")
 	
 	def getEarlyOptions(self):
-		opts = [["string", "socket", "/tmp/fail2ban.sock"]]
+		opts = [["string", "socket", "/var/lib/fail2ban/fail2ban.sock"]]
 		return ConfigReader.getOptions(self, "Definition", opts)
 	
 	def getOptions(self):
diff -up fail2ban-0.8.7.1/config/action.d/dshield.conf.notmp fail2ban-0.8.7.1/config/action.d/dshield.conf
diff -up fail2ban-0.8.7.1/config/action.d/mail-buffered.conf.notmp fail2ban-0.8.7.1/config/action.d/mail-buffered.conf
diff -up fail2ban-0.8.7.1/config/action.d/mynetwatchman.conf.notmp fail2ban-0.8.7.1/config/action.d/mynetwatchman.conf
diff -up fail2ban-0.8.7.1/config/action.d/sendmail-buffered.conf.notmp fail2ban-0.8.7.1/config/action.d/sendmail-buffered.conf
diff -up fail2ban-0.8.7.1/files/nagios/f2ban.txt.notmp fail2ban-0.8.7.1/files/nagios/f2ban.txt
--- fail2ban-0.8.7.1/files/nagios/f2ban.txt.notmp	2012-07-31 19:45:04.000000000 -0600
+++ fail2ban-0.8.7.1/files/nagios/f2ban.txt	2012-10-11 11:53:32.323532817 -0600
@@ -6,7 +6,7 @@ HELP:
 /etc/init.d/fail2ban stop
 
 2.) delete the socket if available
-rm /tmp/fail2ban.sock
+rm /var/run/fail2ban/fail2ban.sock
 
 3.) start the Service 
 /etc/init.d/fail2ban start
diff -up fail2ban-0.8.7.1/testcases/actiontestcase.py.notmp fail2ban-0.8.7.1/testcases/actiontestcase.py