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 153730 Details for
Bug 238320
Update to 0.8 release series (patches attached)
[?]
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]
Fix up init file
fail2ban-0.7.9-init.patch (text/plain), 1.29 KB, created by
Jonathan Underwood
on 2007-04-29 10:26:37 UTC
(
hide
)
Description:
Fix up init file
Filename:
MIME Type:
Creator:
Jonathan Underwood
Created:
2007-04-29 10:26:37 UTC
Size:
1.29 KB
patch
obsolete
>--- files/redhat-initd 2006-12-10 16:34:28.000000000 +0000 >+++ files/fail2ban 2007-04-29 11:01:07.000000000 +0100 >@@ -20,14 +20,14 @@ > RETVAL=0 > > getpid() { >- #pid=`ps -ef | grep fail2ban-|grep -v grep|grep -v bash|awk '{print $2}'` >- pid=`ps -ef | grep fail2ban-|grep -v grep|awk '{print $2}'` >+ pid=`ps -ef | grep fail2ban-|grep -v grep|awk '{print $2}'` > } > > start() { > echo -n $"Starting fail2ban: " > getpid > if [ -z "$pid" ]; then >+ rm -rf /tmp/fail2ban.sock # in case of unclean shutdown > $FAIL2BAN start > /dev/null > RETVAL=$? > fi >@@ -47,12 +47,14 @@ > RETVAL=$? > if [ -n "$pid" ]; then > $FAIL2BAN stop > /dev/null >- fi >- sleep 1 >- getpid >- if [ -z "$pid" ]; then >- rm -f /var/lock/subsys/fail2ban >- echo_success >+ sleep 1 >+ getpid >+ if [ -z "$pid" ]; then >+ rm -f /var/lock/subsys/fail2ban >+ echo_success >+ else >+ echo_failure >+ fi > else > echo_failure > fi >@@ -72,13 +74,14 @@ > getpid > if [ -n "$pid" ]; then > echo "Fail2ban (pid $pid) is running..." >+ $FAIL2BAN status > else > RETVAL=1 > echo "Fail2ban is stopped" > fi > ;; > restart) >- stop >+ stop > start > ;; > *)
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 238320
:
153729
| 153730 |
153731