libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.5.0-0.rc1.git0.1.fc18.x86_64 time: lun. 04 juin 2012 19:22:17 CEST description: :SELinux is preventing /usr/sbin/dnsmasq from 'read' accesses on the chr_file /dev/null. : :***** Plugin restorecon (93.9 confidence) suggests ************************* : :If you want to fix the label. :/dev/null default label should be null_device_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /dev/null : :***** Plugin leaks (6.10 confidence) suggests ****************************** : :If you want to ignore dnsmasq trying to read access the null chr_file, because you believe it should not need this access. :Then you should report this as a bug. :You can generate a local policy module to dontaudit this access. :Do :# grep /usr/sbin/dnsmasq /var/log/audit/audit.log | audit2allow -D -M mypol :# semodule -i mypol.pp : :***** Plugin catchall (1.43 confidence) suggests *************************** : :If you believe that dnsmasq should be allowed read access on the null chr_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: :# grep dnsmasq /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:dnsmasq_t:s0 :Target Context system_u:object_r:default_t:s0 :Target Objects /dev/null [ chr_file ] :Source dnsmasq :Source Path /usr/sbin/dnsmasq :Port <Inconnu> :Host (removed) :Source RPM Packages dnsmasq-2.59-5.fc18.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-128.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux (removed) 3.5.0-0.rc1.git0.1.fc18.x86_64 #1 : SMP Sun Jun 3 14:07:54 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen lun. 04 juin 2012 19:17:39 CEST :Last Seen lun. 04 juin 2012 19:17:39 CEST :Local ID 5ce92460-3fd7-4e68-87e5-86a5c620b8a7 : :Raw Audit Messages :type=AVC msg=audit(1338830259.431:134): avc: denied { read } for pid=910 comm="dnsmasq" path="/dev/null" dev="devtmpfs" ino=1033 scontext=system_u:system_r:dnsmasq_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=chr_file : : :type=SYSCALL msg=audit(1338830259.431:134): arch=x86_64 syscall=execve success=yes exit=0 a0=2164470 a1=21c0a90 a2=21bc040 a3=2 items=0 ppid=1 pid=910 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,default_t,chr_file,read : :audit2allow : :#============= dnsmasq_t ============== :allow dnsmasq_t default_t:chr_file read; : :audit2allow -R : :#============= dnsmasq_t ============== :allow dnsmasq_t default_t:chr_file read; :
*** This bug has been marked as a duplicate of bug 828375 ***