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.

Bug 1698429

Summary: SElinux is preventing dnsmasq for shared vlan connection created by NetworkManager
Product: Red Hat Enterprise Linux 7 Reporter: Vladimir Benes <vbenes>
Component: selinux-policyAssignee: Lukas Vrabec <lvrabec>
Status: CLOSED DUPLICATE QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.7CC: amarecek, lvrabec, mmalik, plautrba, ssekidde, vmojzis, zpytela
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-04-18 14:37:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vladimir Benes 2019-04-10 11:01:46 UTC
Description of problem:
SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   enforcing
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      31
selinux-policy-3.14.1-61.el8.noarch
----
time->Tue Mar 19 13:33:48 2019
type=PROCTITLE msg=audit(1553016828.958:11432): proctitle=2F7573722F7362696E2F646E736D617371002D2D6C6F672D64686370002D2D6C6F672D71756572696573002D2D636F6E662D66696C653D2F6465762F6E756C6C002D2D6E6F2D686F737473002D2D6B6565702D696E2D666F726567726F756E64002D2D62696E642D696E7465726661636573002D2D6578636570742D696E7465
type=SYSCALL msg=audit(1553016828.958:11432): arch=c000003e syscall=257 success=no exit=-13 a0=ffffff9c a1=55e358dca700 a2=442 a3=1b6 items=0 ppid=13697 pid=16120 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dnsmasq" exe="/usr/sbin/dnsmasq" subj=system_u:system_r:dnsmasq_t:s0 key=(null)
type=AVC msg=audit(1553016828.958:11432): avc:  denied  { write } for  pid=16120 comm="dnsmasq" name="NetworkManager" dev="dm-0" ino=101005272 scontext=system_u:system_r:dnsmasq_t:s0 tcontext=system_u:object_r:NetworkManager_var_lib_t:s0 tclass=dir permissive=0


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

Comment 2 Zdenek Pytela 2019-04-10 12:23:15 UTC
Thank you for reporting the issue. It will be considered for inclusion in the next minor release of Red Hat Enterprise Linux 7.

Comment 6 Zdenek Pytela 2019-04-18 14:37:27 UTC

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