View Issue Details

IDProjectCategoryView StatusLast Update
0016767CentOS-7selinux-policypublic2019-11-26 16:34
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016767: SELinux is preventing /usr/sbin/dnsmasq from 'search' accesses on the directory /var/lib/NetworkManager/dnsmasq-wlp2s0.leases.
DescriptionDescription of problem:
SELinux is preventing /usr/sbin/dnsmasq from 'search' accesses on the directory /var/lib/NetworkManager/dnsmasq-wlp2s0.leases.

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

If you believe that dnsmasq should be allowed search access on the dnsmasq-wlp2s0.leases directory 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 /var/lib/NetworkManager/dnsmasq-wlp2s0.leases [
                              dir ]
Source dnsmasq
Source Path /usr/sbin/dnsmasq
Port <Unknown>
Host (removed)
Source RPM Packages dnsmasq-2.76-10.el7_7.1.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-1062.4.1.el7.x86_64 #1 SMP
                              Fri Oct 18 17:15:30 UTC 2019 x86_64 x86_64
Alert Count 1
First Seen 2019-11-26 21:57:16 IST
Last Seen 2019-11-26 21:57:16 IST
Local ID 275bc850-175a-4053-bd75-01f19f21c762

Raw Audit Messages
type=AVC msg=audit(1574785636.133:2182): avc: denied { search } for pid=9777 comm="dnsmasq" name="NetworkManager" dev="dm-0" ino=34810610 scontext=system_u:system_r:dnsmasq_t:s0 tcontext=system_u:object_r:NetworkManager_var_lib_t:s0 tclass=dir permissive=0

type=SYSCALL msg=audit(1574785636.133:2182): arch=x86_64 syscall=open success=no exit=EACCES a0=55c9ce121070 a1=442 a2=1b6 a3=24 items=1 ppid=1602 pid=9777 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=CWD msg=audit(1574785636.133:2182): cwd=/

type=PATH msg=audit(1574785636.133:2182): item=0 name=/var/lib/NetworkManager/dnsmasq-wlp2s0.leases objtype=UNKNOWN cap_fp=0000000000000000 cap_fi=0000000000000000 cap_fe=0 cap_fver=0

Hash: dnsmasq,dnsmasq_t,NetworkManager_var_lib_t,dir,search

Version-Release number of selected component:
Additional Informationreporter: libreport-
hashmarkername: setroubleshoot
kernel: 3.10.0-1062.4.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-11-26 16:34 rakesh4osdd New Issue