[denyhosts] Use old lock file location to appease selinux

Jason ティビツ tibbs at fedoraproject.org
Tue Feb 10 22:09:26 UTC 2015


commit d902538b93ecc8eb6c9e6770050030d27e7d00e1
Author: Jason Tibbitts <tibbs at math.uh.edu>
Date:   Tue Feb 10 16:02:19 2015 -0600

    Use old lock file location to appease selinux

 denyhosts-2.9-config.patch |   17 +++++++++++++++--
 1 files changed, 15 insertions(+), 2 deletions(-)
---
diff --git a/denyhosts-2.9-config.patch b/denyhosts-2.9-config.patch
index 8af8dfb..7952675 100644
--- a/denyhosts-2.9-config.patch
+++ b/denyhosts-2.9-config.patch
@@ -1,5 +1,5 @@
---- denyhosts.conf.orig	2015-02-04 19:47:21.380697398 -0600
-+++ denyhosts.conf	2015-02-04 19:47:51.386975206 -0600
+--- denyhosts.conf.orig	2015-02-10 16:00:26.953106516 -0600
++++ denyhosts.conf	2015-02-10 16:00:56.423384410 -0600
 @@ -9,7 +9,7 @@
  # argument
  #
@@ -38,6 +38,19 @@
  #######################################################################
  
  #######################################################################
+@@ -208,10 +213,10 @@
+ # running at a time.
+ #
+ # Redhat/Fedora:
+-#LOCK_FILE = /var/lock/subsys/denyhosts
++LOCK_FILE = /var/lock/subsys/denyhosts
+ #
+ # Debian
+-LOCK_FILE = /var/run/denyhosts.pid
++#LOCK_FILE = /var/run/denyhosts.pid
+ #
+ # Misc
+ #LOCK_FILE = /tmp/denyhosts.lock
 @@ -329,7 +334,7 @@
  #
  # SMTP_SUBJECT: you can specify the "Subject:" of messages sent


More information about the scm-commits mailing list