Bug 844027
| Summary: | SELinux is preventing /usr/bin/kmod from 'getattr' accesses on the file /usr/lib/modules/3.4.6-2.fc17.x86_64/modules.dep.bin. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Cody Dostal <dostalcody> |
| 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: | 17 | CC: | distro.ru, dominick.grift, dwalsh, glihaenator, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Unspecified | ||
| Whiteboard: | abrt_hash:6f55bed02d8890b8c204bed7aa80c1809c59096237804bf67c7ba24a14c76bd7 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-10-17 07:02:25 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: | |||
What were you doing when this happened? try to activate bradcom bcm43xx via additional drivers interface. Package: (null) OS Release: Fedora release 17 (Beefy Miracle) *** This bug has been marked as a duplicate of bug 866749 *** |
libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.4.6-2.fc17.x86_64 time: Fri 27 Jul 2012 07:23:36 PM MDT description: :SELinux is preventing /usr/bin/kmod from 'getattr' accesses on the file /usr/lib/modules/3.4.6-2.fc17.x86_64/modules.dep.bin. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that kmod should be allowed getattr access on the modules.dep.bin 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 modinfo /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 :Target Context system_u:object_r:modules_object_t:s0 :Target Objects /usr/lib/modules/3.4.6-2.fc17.x86_64/modules.dep.b : in [ file ] :Source modinfo :Source Path /usr/bin/kmod :Port <Unknown> :Host (removed) :Source RPM Packages kmod-7-2.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-140.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Permissive :Host Name (removed) :Platform Linux cody-linux 3.4.6-2.fc17.x86_64 #1 SMP Thu : Jul 19 22:54:16 UTC 2012 x86_64 x86_64 :Alert Count 1 :First Seen Fri 27 Jul 2012 07:19:52 PM MDT :Last Seen Fri 27 Jul 2012 07:19:52 PM MDT :Local ID 405c7ac7-4a03-4e50-9d21-1d3159fe435f : :Raw Audit Messages :type=AVC msg=audit(1343438392.617:61): avc: denied { getattr } for pid=1458 comm="modinfo" path="/usr/lib/modules/3.4.6-2.fc17.x86_64/modules.dep.bin" dev="sda2" ino=266343 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:modules_object_t:s0 tclass=file : : :type=SYSCALL msg=audit(1343438392.617:61): arch=x86_64 syscall=fstat success=yes exit=0 a0=4 a1=7fffd5d45710 a2=7fffd5d45710 a3=238 items=0 ppid=1317 pid=1458 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=modinfo exe=/usr/bin/kmod subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null) : :Hash: modinfo,system_dbusd_t,modules_object_t,file,getattr : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :