View Issue Details

IDProjectCategoryView StatusLast Update
0016825CentOS-7selinux-policypublic2019-12-13 11:57
Reporterbellofils 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
PlatformOSOS Version7
Product Version 
Target VersionFixed in Version 
Summary0016825: SELinux is preventing /usr/sbin/dnsmasq from 'write' accesses on the file dnsmasq-wlp1s0.leases.
DescriptionDescription of problem:
SELinux is preventing /usr/sbin/dnsmasq from 'write' accesses on the file dnsmasq-wlp1s0.leases.

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

If you believe that dnsmasq should be allowed write access on the dnsmasq-wlp1s0.leases 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 '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-wlp1s0.leases [ file ]
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_7.6.noarch
Selinux Enabled True
Policy Type targeted
Enforcing Mode Enforcing
Host Name (removed)
Platform Linux (removed) 3.10.0-1062.9.1.el7.x86_64 #1 SMP
                              Fri Dec 6 15:49:49 UTC 2019 x86_64 x86_64
Alert Count 16
First Seen 2019-12-13 12:40:19 WAT
Last Seen 2019-12-13 12:55:19 WAT
Local ID 5c47d774-5a6e-4da1-abc8-94982fde4f8a

Raw Audit Messages
type=AVC msg=audit(1576238119.343:547): avc: denied { write } for pid=16481 comm="dnsmasq" name="dnsmasq-wlp1s0.leases" dev="dm-0" ino=160559 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(1576238119.343:547): arch=x86_64 syscall=ftruncate success=no exit=EACCES a0=3 a1=0 a2=563cb235cbd0 a3=0 items=0 ppid=1463 pid=16481 auid=4294967295 uid=99 gid=40 euid=99 suid=99 fsuid=99 egid=40 sgid=40 fsgid=40 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,write

Version-Release number of selected component:
selinux-policy-3.13.1-252.el7_7.6.noarch
Additional Informationreporter: libreport-2.1.11.1
hashmarkername: setroubleshoot
kernel: 3.10.0-1062.9.1.el7.x86_64
reproducible: Not sure how to reproduce the problem
type: libreport
TagsNo tags attached.
abrt_hashd699e36a58c950ec52b814a7439730ada3f7ce2f15253f0734c407c468923426
URL

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2019-12-13 11:57 bellofils New Issue