Unable disable iptables service on system have iptables
Bug #1656148 reported by
leehom
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
diskimage-builder |
In Progress
|
Undecided
|
leehom |
Bug Description
In order to prevent diskimage-builder from executing fail
when base image uses systemd but the iptables service is not
present, we merged below patch.
In above patch we use "systemctl --no-pager list-unit-files iptables =~ 'enabled'"
to check if iptables service present and enabled.
But with "systemctl --no-pager list-unit-files iptables" we can not get the STATE of
iptables service.
The output of above command is
# systemctl --no-pager list-unit-files iptables
UNIT FILE STATE
0 unit files listed.
In order to get the proper state we should use
# systemctl --no-pager list-unit-files iptables*
or
# systemctl --no-pager list-unit-files iptables.service
instead.
Changed in diskimage-builder: | |
assignee: | nobody → leehom (feli5) |
summary: |
- Unable to disable iptables service with system have iptables + Unable disable iptables service on system have iptables |
Changed in diskimage-builder: | |
assignee: | leehom (feli5) → Ben Nemec (bnemec) |
Changed in diskimage-builder: | |
assignee: | Ben Nemec (bnemec) → leehom (feli5) |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/419703
Review: https:/