| Summary: | SELinux is preventing /sbin/dhclient from 'read' accesses on the file dhclient-br0.pid. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jeff MacDonald <jam> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dominick.grift, dwalsh, jam, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:0dd3d8946fa1d3fae8ae36dd0ddba5487e234314d0c82ebbbce433e385003c3b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-30 13:40:29 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Execute # restorecon -R -v /var/run/dhclient-br0.pid will fix. Please reopen if this happens again. Thank you. |
SELinux is preventing /sbin/dhclient from 'read' accesses on the file dhclient-br0.pid. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that dhclient should be allowed read access on the dhclient-br0.pid 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 dhclient /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context unconfined_u:system_r:dhcpc_t:s0 Target Context unconfined_u:object_r:virt_var_run_t:s0 Target Objects dhclient-br0.pid [ file ] Source dhclient Source Path /sbin/dhclient Port <Unknown> Host (removed) Source RPM Packages dhclient-4.2.0-21.P2.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-40.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.13-91.fc14.i686 #1 SMP Tue May 3 13:36:36 UTC 2011 i686 i686 Alert Count 1 First Seen Thu 26 May 2011 04:47:38 PM EDT Last Seen Thu 26 May 2011 04:47:38 PM EDT Local ID 47346c7f-c753-4bba-96cd-1281e5dd040f Raw Audit Messages type=AVC msg=audit(1306442858.418:199): avc: denied { read } for pid=7507 comm="dhclient" name="dhclient-br0.pid" dev=dm-1 ino=58641 scontext=unconfined_u:system_r:dhcpc_t:s0 tcontext=unconfined_u:object_r:virt_var_run_t:s0 tclass=file type=SYSCALL msg=audit(1306442858.418:199): arch=i386 syscall=open success=no exit=EACCES a0=bff73f2e a1=80000 a2=1b6 a3=79241e items=0 ppid=7471 pid=7507 auid=500 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=1 comm=dhclient exe=/sbin/dhclient subj=unconfined_u:system_r:dhcpc_t:s0 key=(null) Hash: dhclient,dhcpc_t,virt_var_run_t,file,read audit2allow #============= dhcpc_t ============== allow dhcpc_t virt_var_run_t:file read; audit2allow -R #============= dhcpc_t ============== allow dhcpc_t virt_var_run_t:file read;