Summary: SELinux is preventing /bin/hostname access to a leaked /dev/null file descriptor. Detailed Description: [dnsdomainname has a permissive type (hostname_t). This access was not denied.] SELinux denied access requested by the dnsdomainname command. It looks like this is either a leaked descriptor or dnsdomainname output was redirected to a file it is not allowed to access. Leaks usually can be ignored since SELinux is just closing the leak and reporting the error. The application does not use the descriptor, so it will run properly. If this is a redirection, you will not get output in the /dev/null. You should generate a bugzilla on selinux-policy, and it will get routed to the appropriate package. You can safely ignore this avc. Allowing Access: You can generate a local policy module to allow this access - see FAQ (http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385) Additional Information: Source Context system_u:system_r:hostname_t:s0 Target Context system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 Target Objects /dev/null [ fd ] Source dnsdomainname Source Path /bin/hostname Port <Unknown> Host (removed) Source RPM Packages net-tools-1.60-99.fc12 Target RPM Packages Policy RPM selinux-policy-3.6.32-84.fc12 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Plugin Name leaks Host Name (removed) Platform Linux (removed) 2.6.31.12-174.2.3.fc12.i686.PAE #1 SMP Mon Jan 18 20:06:44 UTC 2010 i686 i686 Alert Count 3 First Seen Sun 07 Feb 2010 15:35:58 GMT Last Seen Sat 13 Feb 2010 17:37:04 GMT Local ID 0f735d96-cfeb-4569-9088-2393b63ae39f Line Numbers Raw Audit Messages node=(removed) type=AVC msg=audit(1266082624.28:46490): avc: denied { use } for pid=3845 comm="dnsdomainname" path="/dev/null" dev=tmpfs ino=2273 scontext=system_u:system_r:hostname_t:s0 tcontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tclass=fd node=(removed) type=SYSCALL msg=audit(1266082624.28:46490): arch=40000003 syscall=11 success=yes exit=0 a0=842bed8 a1=844fb70 a2=842bfe0 a3=844fb70 items=0 ppid=3815 pid=3845 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="dnsdomainname" exe="/bin/hostname" subj=system_u:system_r:hostname_t:s0 key=(null) Hash String generated from leaks,dnsdomainname,hostname_t,system_dbusd_t,fd,use audit2allow suggests: #============= hostname_t ============== #!!!! This avc can be allowed using the boolean 'allow_domain_fd_use' allow hostname_t system_dbusd_t:fd use;
*** Bug 565482 has been marked as a duplicate of this bug. ***
Could you update your selinux-policy # yum update --enablerepo=updates-testing selinux-policy-targeted
This message is a reminder that Fedora 12 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 12. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '12'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 12's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 12 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping