View Issue Details

IDProjectCategoryView StatusLast Update
0016559CentOS-7selinux-policypublic2019-10-09 07:12
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016559: SELinux is preventing /usr/sbin/dnsmasq from 'create' accesses on the file dnsmasq-wlp2s0.leases.
DescriptionDescription of problem:
SELinux is preventing /usr/sbin/dnsmasq from 'create' accesses on the file dnsmasq-wlp2s0.leases.

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

If you believe that dnsmasq should be allowed create access on the dnsmasq-wlp2s0.leases file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
allow this access for now by executing:
# ausearch -c 'dnsmasq' --raw | audit2allow -M my-dnsmasq
# semodule -i my-dnsmasq.pp

Additional Information:
Source Context system_u:system_r:dnsmasq_t:s0
Target Context system_u:object_r:NetworkManager_var_lib_t:s0
Target Objects dnsmasq-wlp2s0.leases [ file ]
Source dnsmasq
Source Path /usr/sbin/dnsmasq
Port <Unknown>
Host (removed)
Source RPM Packages dnsmasq-2.76-9.el7.x86_64
Target RPM Packages
Policy RPM selinux-policy-3.13.1-252.el7.1.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-957.12.1.el7.x86_64 #1 SMP
                              Mon Apr 29 14:59:59 UTC 2019 x86_64 x86_64
Alert Count 4
First Seen 2019-10-09 12:06:01 IST
Last Seen 2019-10-09 12:34:41 IST
Local ID 50383eb3-d4af-4b18-97fd-8eb2f66da3eb

Raw Audit Messages
type=AVC msg=audit(1570604681.139:288): avc: denied { create } for pid=13581 comm="dnsmasq" name="dnsmasq-wlp2s0.leases" scontext=system_u:system_r:dnsmasq_t:s0 tcontext=system_u:object_r:NetworkManager_var_lib_t:s0 tclass=file permissive=0

type=SYSCALL msg=audit(1570604681.139:288): arch=x86_64 syscall=open success=no exit=EACCES a0=56201baa1070 a1=442 a2=1b6 a3=24 items=0 ppid=2476 pid=13581 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)

Hash: dnsmasq,dnsmasq_t,NetworkManager_var_lib_t,file,create

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-957.12.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-10-09 07:12 sanjay45 New Issue