Bug 923475
| Summary: | SELinux is preventing /usr/libexec/nm-dhcp-client.action from 'execute' accesses on the file nm-dhcp-client.action. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Adam Williamson (Red Hat non-Fedora) <awilliam> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | dominick.grift, dwalsh, mgrepl, robatino |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:dd5b2f7d15443f949bb4824ef96a6f19318baf4833d0ec582ae6d29556b777da | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-20 00:56:00 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 834090 | ||
Final blocker: "In most cases, there must be no SELinux 'AVC: denied' messages or abrt crash notifications on initial boot and subsequent login" *** This bug has been marked as a duplicate of bug 923497 *** |
Description of problem: Occurs on boot of a Fedora 19 live image built from current repositories. SELinux is preventing /usr/libexec/nm-dhcp-client.action from 'execute' accesses on the file nm-dhcp-client.action. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that nm-dhcp-client.action should be allowed execute access on the nm-dhcp-client.action 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 nm-dhcp-client. /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:dhcpc_t:s0 Target Context unconfined_u:object_r:root_t:s0 Target Objects nm-dhcp-client.action [ file ] Source nm-dhcp-client. Source Path /usr/libexec/nm-dhcp-client.action Port <Unknown> Host (removed) Source RPM Packages NetworkManager-0.9.8.0-1.fc19.x86_64 Target RPM Packages Policy RPM selinux-policy-3.12.1-22.fc19.noarch Selinux Enabled True Policy Type targeted Enforcing Mode Permissive Host Name (removed) Platform Linux (removed) 3.9.0-0.rc3.git0.3.fc19.x86_64 #1 SMP Mon Mar 18 21:39:31 UTC 2013 x86_64 x86_64 Alert Count 1 First Seen 2013-03-19 19:40:42 EDT Last Seen 2013-03-19 19:40:42 EDT Local ID 766281ba-0c9d-43a0-af97-b9af786a95ec Raw Audit Messages type=AVC msg=audit(1363736442.396:404): avc: denied { execute } for pid=2259 comm="dhclient" name="nm-dhcp-client.action" dev="dm-0" ino=171713 scontext=system_u:system_r:dhcpc_t:s0 tcontext=unconfined_u:object_r:root_t:s0 tclass=file type=AVC msg=audit(1363736442.396:404): avc: denied { read open } for pid=2259 comm="dhclient" path="/usr/libexec/nm-dhcp-client.action" dev="dm-0" ino=171713 scontext=system_u:system_r:dhcpc_t:s0 tcontext=unconfined_u:object_r:root_t:s0 tclass=file type=AVC msg=audit(1363736442.396:404): avc: denied { execute_no_trans } for pid=2259 comm="dhclient" path="/usr/libexec/nm-dhcp-client.action" dev="dm-0" ino=171713 scontext=system_u:system_r:dhcpc_t:s0 tcontext=unconfined_u:object_r:root_t:s0 tclass=file type=SYSCALL msg=audit(1363736442.396:404): arch=x86_64 syscall=execve success=yes exit=0 a0=7fff9d301ea7 a1=7fff9d2fffd0 a2=7fb8193409a0 a3=7fb817be1b10 items=0 ppid=2256 pid=2259 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 ses=4294967295 tty=(none) comm=nm-dhcp-client. exe=/usr/libexec/nm-dhcp-client.action subj=system_u:system_r:dhcpc_t:s0 key=(null) Hash: nm-dhcp-client.,dhcpc_t,root_t,file,execute audit2allow #============= dhcpc_t ============== #!!!! This avc can be allowed using the boolean 'daemons_dump_core' allow dhcpc_t root_t:file { read open }; allow dhcpc_t root_t:file { execute execute_no_trans }; audit2allow -R require { type dhcpc_t; type root_t; class file { execute execute_no_trans }; } #============= dhcpc_t ============== allow dhcpc_t root_t:file { execute execute_no_trans }; files_manage_root_files(dhcpc_t) Additional info: hashmarkername: setroubleshoot kernel: 3.9.0-0.rc3.git0.3.fc19.x86_64 type: libreport