| Summary: | SELinux is preventing /usr/sbin/modem-manager from 'read' accesses on the file c188:2. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Hicham HAOUARI <hicham.haouari> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 15 | CC: | dwalsh, mgrepl, michael.wiktowy |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:d60c54746b4882f232be820e7dbdc905eb3ea7effe8d89137d28b461cc10fc0b | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-03-31 13:06:34 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
*** This bug has been marked as a duplicate of bug 692459 *** |
SELinux is preventing /usr/sbin/modem-manager from 'read' accesses on the file c188:2. ***** Plugin catchall_labels (83.8 confidence) suggests ******************** If you want to allow modem-manager to have read access on the c188:2 file Then you need to change the label on c188:2 Do # semanage fcontext -a -t FILE_TYPE 'c188:2' where FILE_TYPE is one of the following: abrt_var_run_t, sysctl_crypto_t, modemmanager_exec_t, abrt_t, lib_t, afs_cache_t, abrt_helper_exec_t, system_dbusd_var_lib_t, modemmanager_t, ld_so_t, textrel_shlib_t, rpm_script_tmp_t, device_t, locale_t, etc_t, proc_t, sysfs_t, ld_so_cache_t, udev_tbl_t, dbusd_etc_t, userdomain. Then execute: restorecon -v 'c188:2' ***** Plugin catchall (17.1 confidence) suggests *************************** If you believe that modem-manager should be allowed read access on the c188:2 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 modem-manager /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:modemmanager_t:s0-s0:c0.c1023 Target Context system_u:object_r:default_t:s0 Target Objects c188:2 [ file ] Source modem-manager Source Path /usr/sbin/modem-manager Port <Unknown> Host (removed) Source RPM Packages ModemManager-0.4-7.git20110201.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-6.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.2-8.fc15.i686 #1 SMP Mon Mar 28 02:28:47 UTC 2011 i686 i686 Alert Count 25 First Seen Thu 31 Mar 2011 12:59:57 PM WET Last Seen Thu 31 Mar 2011 01:00:25 PM WET Local ID 23ae9f6c-aae1-4cee-8afb-79136c8cc0c4 Raw Audit Messages type=AVC msg=audit(1301576425.70:148): avc: denied { read } for pid=27134 comm="modem-manager" name="c188:2" dev=tmpfs ino=1068179 scontext=system_u:system_r:modemmanager_t:s0-s0:c0.c1023 tcontext=system_u:object_r:default_t:s0 tclass=file type=SYSCALL msg=audit(1301576425.70:148): arch=i386 syscall=open success=no exit=EACCES a0=bff79a5c a1=88000 a2=1b6 a3=0 items=0 ppid=1 pid=27134 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=modem-manager exe=/usr/sbin/modem-manager subj=system_u:system_r:modemmanager_t:s0-s0:c0.c1023 key=(null) Hash: modem-manager,modemmanager_t,default_t,file,read audit2allow #============= modemmanager_t ============== allow modemmanager_t default_t:file read; audit2allow -R #============= modemmanager_t ============== allow modemmanager_t default_t:file read;