RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1151067 - firewalld is running, but firewall-cmd reports that daemon process is not running
Summary: firewalld is running, but firewall-cmd reports that daemon process is not run...
Keywords:
Status: CLOSED DUPLICATE of bug 1161745
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: firewalld
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Thomas Woerner
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On: 1156411
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-09 14:22 UTC by Michal Sekletar
Modified: 2019-08-15 04:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-11-14 12:43:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
firewalld debug log (5.23 KB, text/plain)
2014-10-09 14:23 UTC, Michal Sekletar
no flags Details

Description Michal Sekletar 2014-10-09 14:22:24 UTC
Description of problem:
$subject

Version-Release number of selected component (if applicable):
firewalld-0.3.9-7.el7.noarch

How reproducible:
sometimes

Steps to Reproduce:
Not really sure tough. I had firewalld disabled because I was doing some debugging hence didn't want firewalld interfering. After reboot 'firewall-cmd --state' prints out that firewalld is not running, but after consulting output of systemctl I can see firewalld daemon process is running.

Actual results:
firewalld is running as per output of 'systemctl status firewalld.service' but 'firewall-cmd --state' reports "not-running".

Expected results:
firewalld is running as per output of 'systemctl status firewalld.service' and 'firewall-cmd --state' reports "running".

Additional info:
/var/log/firewalld attached

Comment 1 Michal Sekletar 2014-10-09 14:23:33 UTC
Created attachment 945329 [details]
firewalld debug log

Comment 3 Jiri Popelka 2014-10-09 14:42:15 UTC
Something seems to be using iptables command at the same moment as firewalld.

I tried:

while true;
do
  lsof -U | grep xtables
done

to catch the culprit with no luck (but I guess it's libvirtd).

We might use a patch [1] for iptables and then add for example -w2 to each iptables call in firewalld. I tried that some time ago and it worked nicely (I actually created that patch for this reason).

[1] https://git.netfilter.org/iptables/commit/?id=aaa4ace72ba1d195bbf436134a336816c33f7bd0

Comment 4 Jiri Popelka 2014-10-09 14:43:10 UTC
(In reply to Jiri Popelka from comment #3)
> I tried:

Some time ago when I was also seeing this.

Comment 5 Jiri Popelka 2014-10-27 17:01:18 UTC
(In reply to Jiri Popelka from comment #3)
> ... add for example -w2 to each
> iptables call in firewalld. I tried that some time ago and it worked nicely

Upstream commit:
https://git.fedorahosted.org/cgit/firewalld.git/commit/?id=b3b451d6f8946986b8f50c8bcddeef50ed7a5f8f

Comment 6 Jiri Popelka 2014-11-14 12:43:28 UTC

*** This bug has been marked as a duplicate of bug 1161745 ***


Note You need to log in before you can comment on or make changes to this bug.