This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 987403 - with 'Lockdown=yes' firewall-cmd --reload does not work (shows warning: ALREADY_ENABLED)
with 'Lockdown=yes' firewall-cmd --reload does not work (shows warning: ALRE...
Product: Fedora
Classification: Fedora
Component: firewalld (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Thomas Woerner
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2013-07-23 06:55 EDT by Petr Sklenar
Modified: 2013-08-03 20:09 EDT (History)
2 users (show)

See Also:
Fixed In Version: firewalld-0.3.4-1.fc19
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2013-08-03 20:09:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Petr Sklenar 2013-07-23 06:55:29 EDT
Description of problem:
reload of firewall-cmd reports some issue and its hard to recognize whats wrong.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
0. /etc/firewalld/firewalld.conf with 'Lockdown=yes'

1.firewall-cmd --reload

Actual results:
its due to:
grep Lock /etc/firewalld/firewalld.conf
# Lockdown

and combination with 'firewall-cmd --lockdown-on'

Expected results:
firewall-cmd --reload
Warning: Lockdown ALREADY_ENABLED

Additional info:
anyway it looks somehow strange:
[root@masox ~]# firewall-cmd --lockdown-off
[root@masox ~]# firewall-cmd --reload
Error: ''
## now its completely unknow ^
[root@masox ~]# firewall-cmd --reload
Comment 1 Petr Sklenar 2013-07-23 07:17:03 EDT
with the 'Lockdown=yes' in the config file. There is an issue that it stop to show active zone:

[root@masox ~]# service firewalld restart
Redirecting to /bin/systemctl restart  firewalld.service
[root@masox ~]# firewall-cmd --query-lockdown
[root@masox ~]# echo $?
[root@masox ~]# firewall-cmd --get-active-zones
  interfaces: enp0s25
  interfaces: br0
[root@masox ~]# firewall-cmd --reload
[root@masox ~]# firewall-cmd --get-active-zones
[root@masox ~]# firewall-cmd --query-lockdown
[root@masox ~]# echo $?
Comment 2 Jiri Popelka 2013-07-23 11:34:31 EDT
Thanks Peter

(In reply to Petr Sklenar from comment #0)
> [root@masox ~]# firewall-cmd --lockdown-off
> [root@masox ~]# firewall-cmd --reload
> Error: ''

I can't reproduce this with current upstream code so I believe this has already been fixed somehow.

(In reply to Petr Sklenar from comment #1)
> with the 'Lockdown=yes' in the config file. There is an issue that it stop
> to show active zone:

eeek, that's been a nasty bug, but I believe It's been fixed with
Comment 3 Fedora Update System 2013-07-30 15:14:00 EDT
firewalld-0.3.4-1.fc19 has been submitted as an update for Fedora 19.
Comment 4 Fedora Update System 2013-08-01 23:48:53 EDT
Package firewalld-0.3.4-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing firewalld-0.3.4-1.fc19'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
Comment 5 Fedora Update System 2013-08-03 20:09:28 EDT
firewalld-0.3.4-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

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