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 203201 Details for
Bug 295611
iptables setup broken with non-modular kernels
[?]
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]
Suggested fix to /etc/init.d/iptables script
iptables-diff (text/plain), 902 bytes, created by
Linus Torvalds
on 2007-09-22 19:16:57 UTC
(
hide
)
Description:
Suggested fix to /etc/init.d/iptables script
Filename:
MIME Type:
Creator:
Linus Torvalds
Created:
2007-09-22 19:16:57 UTC
Size:
902 bytes
patch
obsolete
>--- /etc/init.d/iptables 2007-09-19 09:33:34.000000000 -0700 >+++ good-iptables 2007-09-22 12:11:45.000000000 -0700 >@@ -257,18 +257,21 @@ > } > > status() { >- tables=$(cat $PROC_IPTABLES_NAMES 2>/dev/null) >+ if [ ! -f "$VAR_SUBSYS_IPTABLES" ]; then >+ echo $"Firewall is not running." >+ return 3 >+ fi > >- # Do not print status if lockfile is missing and iptables modules are not >- # loaded. > # Check if iptable modules are loaded >- if [ ! -f "$VAR_SUBSYS_IPTABLES" -a -z "$tables" ]; then >- echo $"Firewall is stopped." >+ if [ ! -e "$PROC_IPTABLES_NAMES" ]; then >+ echo $"Firewall modules not loaded." > return 3 > fi > >+ tables=$(cat $PROC_IPTABLES_NAMES 2>/dev/null) >+ > # Check if firewall is configured (has tables) >- if [ ! -e "$PROC_IPTABLES_NAMES" -o -z "$tables" ]; then >+ if [ -z "$tables" ]; then > echo $"Firewall is not configured. " > return 3 > fi
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 295611
: 203201 |
204061
|
204311