Bug 1722405 - SELinux is preventing ebtables from 'read' accesses on the file ebtables.lock.
Summary: SELinux is preventing ebtables from 'read' accesses on the file ebtables.lock.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 30
Hardware: x86_64
OS: Unspecified
medium
medium
Target Milestone: ---
Assignee: Lukas Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:7fe3b6df34a3e29434f6cf65f09...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-06-20 09:19 UTC by dani
Modified: 2019-07-13 01:06 UTC (History)
5 users (show)

Fixed In Version: selinux-policy-3.14.3-40.fc30
Clone Of:
Environment:
Last Closed: 2019-07-13 01:06:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description dani 2019-06-20 09:19:29 UTC
Description of problem:
SELinux is preventing ebtables from 'read' accesses on the file ebtables.lock.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that ebtables should be allowed read access on the ebtables.lock 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:
# ausearch -c 'ebtables' --raw | audit2allow -M my-ebtables
# semodule -X 300 -i my-ebtables.pp

Additional Information:
Source Context                system_u:system_r:firewalld_t:s0
Target Context                system_u:object_r:iptables_var_run_t:s0
Target Objects                ebtables.lock [ file ]
Source                        ebtables
Source Path                   ebtables
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.3-39.fc30.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 5.1.11-300.fc30.x86_64 #1 SMP Mon
                              Jun 17 19:33:15 UTC 2019 x86_64 x86_64
Alert Count                   1
First Seen                    2019-06-20 12:14:48 IDT
Last Seen                     2019-06-20 12:14:48 IDT
Local ID                      abd2b997-063a-4654-9895-9a386443bead

Raw Audit Messages
type=AVC msg=audit(1561022088.70:321): avc:  denied  { read } for  pid=5378 comm="ebtables" name="ebtables.lock" dev="tmpfs" ino=32285 scontext=system_u:system_r:firewalld_t:s0 tcontext=system_u:object_r:iptables_var_run_t:s0 tclass=file permissive=0


Hash: ebtables,firewalld_t,iptables_var_run_t,file,read

Version-Release number of selected component:
selinux-policy-3.14.3-39.fc30.noarch

Additional info:
component:      selinux-policy
reporter:       libreport-2.10.0
hashmarkername: setroubleshoot
kernel:         5.1.11-300.fc30.x86_64
type:           libreport

Comment 1 Lukas Vrabec 2019-06-20 15:18:17 UTC
commit ce24fc7af974abf9fb9eb4181c12844d8ee652e2 (HEAD -> rawhide)
Author: Lukas Vrabec <lvrabec>
Date:   Thu Jun 20 17:18:00 2019 +0200

    Allow firewalld_t domain to read iptables_var_run_t files BZ(1722405)

Comment 2 Fedora Update System 2019-07-10 12:46:30 UTC
FEDORA-2019-9c513c4cf8 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-9c513c4cf8

Comment 3 Fedora Update System 2019-07-11 00:50:30 UTC
selinux-policy-3.14.3-40.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-9c513c4cf8

Comment 4 Fedora Update System 2019-07-13 01:06:47 UTC
selinux-policy-3.14.3-40.fc30 has been pushed to the Fedora 30 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.