Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 293666 Details for
Bug 429281
SElinux preventing fail2ban from starting
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Change the defaul location of the socket file to /var/run
fail2ban-0.8.1-sock.patch (text/plain), 1.35 KB, created by
Jonathan Underwood
on 2008-01-31 23:15:44 UTC
(
hide
)
Description:
Change the defaul location of the socket file to /var/run
Filename:
MIME Type:
Creator:
Jonathan Underwood
Created:
2008-01-31 23:15:44 UTC
Size:
1.35 KB
patch
obsolete
>diff -up fail2ban-0.8.1/server/ssocket.py.sock fail2ban-0.8.1/server/ssocket.py >--- fail2ban-0.8.1/server/ssocket.py.sock 2008-01-31 22:44:43.000000000 +0000 >+++ fail2ban-0.8.1/server/ssocket.py 2008-01-31 22:45:31.000000000 +0000 >@@ -41,11 +41,11 @@ class SSocket(Thread): > Thread.__init__(self) > self.__transmit = transmitter > self.__isRunning = False >- self.__socket = "/tmp/fail2ban.sock" >+ self.__socket = "/var/run/fail2ban.sock" > self.__ssock = None > logSys.debug("Created SSocket") > >- def initialize(self, sock = "/tmp/fail2ban.sock", force = False): >+ def initialize(self, sock = "/var/run/fail2ban.sock", force = False): > self.__socket = sock > # Remove socket > if os.path.exists(sock): >diff -up fail2ban-0.8.1/config/fail2ban.conf.sock fail2ban-0.8.1/config/fail2ban.conf >--- fail2ban-0.8.1/config/fail2ban.conf.sock 2008-01-31 22:46:01.000000000 +0000 >+++ fail2ban-0.8.1/config/fail2ban.conf 2008-01-31 22:46:23.000000000 +0000 >@@ -28,7 +28,7 @@ logtarget = /var/log/fail2ban.log > # Notes.: Set the socket file. This is used to communicate with the daemon. Do > # not remove this file when Fail2ban runs. It will not be possible to > # communicate with the server afterwards. >-# Values: FILE Default: /tmp/fail2ban.sock >+# Values: FILE Default: /var/run/fail2ban.sock > # >-socket = /tmp/fail2ban.sock >+socket = /var/run/fail2ban.sock >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 429281
:
293664
|
293665
| 293666 |
298458
|
298461