Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
Firewalld failed to start.
systemd[1]: Starting firewalld - dynamic firewall daemon...
firewalld[11463]: FATAL ERROR: Fork #1 failed: 13 (Permission denied)
firewalld[11463]: ERROR: Traceback (most recent call last):
File "/usr/sbin/firewalld", line 134, in startup
os.mkdir(config.FIREWALLD_TEMPDIR, 0o750)...
systemd[1]: firewalld.service: main process exited, code=exited, status=1/FAILURE
systemd[1]: Failed to start firewalld - dynamic firewall daemon.
systemd[1]: Unit firewalld.service entered failed state.
systemd[1]: firewalld.service failed.
Version-Release number of selected component (if applicable):
firewalld-0.4.2-1.el7
selinux-policy-3.13.1-75.el7
SELinux is preventing /usr/sbin/ebtables-restore from getattr access on the file /run/firewalld/temp.gOUgl_.
***** Plugin catchall (100. confidence) suggests **************************
If you believe that ebtables-restore should be allowed getattr access on the temp.gOUgl_ file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# grep ebtables-restor /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp
Additional Information:
Source Context system_u:system_r:iptables_t:s0
Target Context system_u:object_r:firewalld_var_run_t:s0
Target Objects /run/firewalld/temp.gOUgl_ [ file ]
Source ebtables-restor
Source Path /usr/sbin/ebtables-restore
Port <Unknown>
Host hal
Source RPM Packages iptables-1.4.21-16.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-75.el7.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Permissive
Host Name hal
Platform Linux hal 3.10.0-394.el7.rhel73drm.23.x86_64 #1
SMP Tue May 24 14:03:17 EDT 2016 x86_64 x86_64
Alert Count 2
First Seen 2016-06-02 19:23:53 CEST
Last Seen 2016-06-02 19:24:04 CEST
Local ID 44728c22-da61-439f-b508-596389a9b312
Raw Audit Messages
type=AVC msg=audit(1464888244.108:4639): avc: denied { getattr } for pid=11959 comm="iptables-restor" path="/run/firewalld/temp.gOUgl_" dev="tmpfs" ino=1398216 scontext=system_u:system_r:iptables_t:s0 tcontext=system_u:object_r:firewalld_var_run_t:s0 tclass=file
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://rhn.redhat.com/errata/RHBA-2016-2283.html
Description of problem: Firewalld failed to start. systemd[1]: Starting firewalld - dynamic firewall daemon... firewalld[11463]: FATAL ERROR: Fork #1 failed: 13 (Permission denied) firewalld[11463]: ERROR: Traceback (most recent call last): File "/usr/sbin/firewalld", line 134, in startup os.mkdir(config.FIREWALLD_TEMPDIR, 0o750)... systemd[1]: firewalld.service: main process exited, code=exited, status=1/FAILURE systemd[1]: Failed to start firewalld - dynamic firewall daemon. systemd[1]: Unit firewalld.service entered failed state. systemd[1]: firewalld.service failed. Version-Release number of selected component (if applicable): firewalld-0.4.2-1.el7 selinux-policy-3.13.1-75.el7 SELinux is preventing /usr/sbin/ebtables-restore from getattr access on the file /run/firewalld/temp.gOUgl_. ***** Plugin catchall (100. confidence) suggests ************************** If you believe that ebtables-restore should be allowed getattr access on the temp.gOUgl_ file by default. Then you should report this as a bug. You can generate a local policy module to allow this access. Do allow this access for now by executing: # grep ebtables-restor /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:iptables_t:s0 Target Context system_u:object_r:firewalld_var_run_t:s0 Target Objects /run/firewalld/temp.gOUgl_ [ file ] Source ebtables-restor Source Path /usr/sbin/ebtables-restore Port <Unknown> Host hal Source RPM Packages iptables-1.4.21-16.el7.x86_64 Target RPM Packages Policy RPM selinux-policy-3.13.1-75.el7.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name hal Platform Linux hal 3.10.0-394.el7.rhel73drm.23.x86_64 #1 SMP Tue May 24 14:03:17 EDT 2016 x86_64 x86_64 Alert Count 2 First Seen 2016-06-02 19:23:53 CEST Last Seen 2016-06-02 19:24:04 CEST Local ID 44728c22-da61-439f-b508-596389a9b312 Raw Audit Messages type=AVC msg=audit(1464888244.108:4639): avc: denied { getattr } for pid=11959 comm="iptables-restor" path="/run/firewalld/temp.gOUgl_" dev="tmpfs" ino=1398216 scontext=system_u:system_r:iptables_t:s0 tcontext=system_u:object_r:firewalld_var_run_t:s0 tclass=file