| Summary: | SELinux is preventing /sbin/dhclient from 'getattr' accesses on the None /run/nm-dhclient-wlan0.conf. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Markus <unclemarcus91> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 16 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:2fc95546731a3c80ac4c9eccb3367dfe603911b607765b79581281309a6f0f0d | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-17 14:33:51 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Any idea how nm-dhclient-wlan0.conf got created? Did you run some commands by hand that could have created this file. If you run restorecon -R -v /run It will fix the label. No idea how the file got created. I have not been able to reproduce this bug since last system reboot, should this be marked as closed? Yes reopen if it happens again. |
libreport version: 2.0.8 executable: /usr/bin/python hashmarkername: setroubleshoot kernel: 3.2.3-2.fc16.x86_64 reason: SELinux is preventing /sbin/dhclient from 'getattr' accesses on the None /run/nm-dhclient-wlan0.conf. time: Sun 12 Feb 2012 06:33:33 PM EST description: :SELinux is preventing /sbin/dhclient from 'getattr' accesses on the None /run/nm-dhclient-wlan0.conf. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that dhclient should be allowed getattr access on the nm-dhclient-wlan0.conf <Unknown> 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-s0:c0.c1023 :Target Context unconfined_u:object_r:var_run_t:s0 :Target Objects /run/nm-dhclient-wlan0.conf [ None ] :Source dhclient :Source Path /sbin/dhclient :Port <Unknown> :Host (removed) :Source RPM Packages dhclient-4.2.3-6.P2.fc16.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-75.fc16.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.2.3-2.fc16.x86_64 #1 SMP : Fri Feb 3 20:08:08 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen Sun 12 Feb 2012 12:19:33 PM EST :Last Seen Sun 12 Feb 2012 06:24:18 PM EST :Local ID e59de35f-d540-42d6-b58c-18a3415ac58b : :Raw Audit Messages :type=AVC msg=audit(1329031458.359:1858): avc: denied { getattr } for pid=9344 comm="dhclient" path="/run/nm-dhclient-wlan0.conf" dev=tmpfs ino=12161342 scontext=unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:var_run_t:s0 tclass=filenode=(removed) type=SYSCALL msg=audit(1329031458.359:1858): arch=c000003e syscall=5 success=no exit=-13 a0=4 a1=7fff96433450 a2=7fff96433450 a3=0 items=0 ppid=9335 pid=9344 auid=1000 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=69 comm="dhclient" exe="/sbin/dhclient" subj=unconfined_u:system_r:dhcpc_t:s0-s0:c0.c1023 key=(null) : : :Hash: dhclient,dhcpc_t,var_run_t,None,getattr : :audit2allow : : :audit2allow -R : :