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 623454 Details for
Bug 864060
fix firewall-cmd calling
[?]
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]
patch
0001-Fix-calling-of-firewall-cmd-in-ifup-post-ifdown-post.patch (text/plain), 1.55 KB, created by
Jiri Popelka
on 2012-10-08 13:26:10 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Jiri Popelka
Created:
2012-10-08 13:26:10 UTC
Size:
1.55 KB
patch
obsolete
>From a1f80c69c76070e33bd2c0228738115f2c9c1473 Mon Sep 17 00:00:00 2001 >From: Jiri Popelka <jpopelka@redhat.com> >Date: Fri, 5 Oct 2012 16:57:32 +0200 >Subject: [PATCH] Fix calling of firewall-cmd in ifup-post/ifdown-post. > >firewall-cmd has been using combined longopts since 0.2.6 >--- > sysconfig/network-scripts/ifdown-post | 2 +- > sysconfig/network-scripts/ifup-post | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > >diff --git a/sysconfig/network-scripts/ifdown-post b/sysconfig/network-scripts/ifdown-post >index 68354de..bcf4765 100755 >--- a/sysconfig/network-scripts/ifdown-post >+++ b/sysconfig/network-scripts/ifdown-post >@@ -48,7 +48,7 @@ fi > > # Inform firewall > if [ -x /usr/bin/firewall-cmd -a "${REALDEVICE}" != "lo" ]; then >- /usr/bin/firewall-cmd --remove --interface="${DEVICE}" > /dev/null 2>&1 >+ /usr/bin/firewall-cmd --remove-interface="${DEVICE}" > /dev/null 2>&1 > fi > > # Notify programs that have requested notification >diff --git a/sysconfig/network-scripts/ifup-post b/sysconfig/network-scripts/ifup-post >index 1ebb9c2..ca14acf 100755 >--- a/sysconfig/network-scripts/ifup-post >+++ b/sysconfig/network-scripts/ifup-post >@@ -95,7 +95,7 @@ fi > > # Inform firewall which network zone (empty means default) this interface belongs to > if [ -x /usr/bin/firewall-cmd -a "${REALDEVICE}" != "lo" ]; then >- /usr/bin/firewall-cmd --zone="${ZONE}" --change --interface="${DEVICE}" > /dev/null 2>&1 >+ /usr/bin/firewall-cmd --zone="${ZONE}" --change-interface="${DEVICE}" > /dev/null 2>&1 > fi > > # Notify programs that have requested notification >-- >1.7.11.4 >
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 864060
: 623454