| Summary: | SELinux is preventing /sbin/mount.cifs from unix_read, unix_write access on the semaphore Unknown. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | adriano <adrigiga> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:a79434b238ecb8471c95b004f0458800411b697223bb14ba8b51547a62519615 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-11 16:22:50 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
What were you doing when this happened? What processes are running as kernel_t on your machine? ps -eZ | grep kernel_t I apologize. I've disabled selinux because very annoyed by these continuous security reports. I can't help you anymore. You can close bug. Sorry |
SELinux is preventing /sbin/mount.cifs from unix_read, unix_write access on the semaphore Unknown. ***** Plugin catchall (100. confidence) suggests *************************** If you believe that mount.cifs should be allowed unix_read unix_write access on the Unknown sem 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 mount.cifs /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mount_t:s0 Target Context system_u:system_r:kernel_t:s0 Target Objects Unknown [ sem ] Source mount.cifs Source Path /sbin/mount.cifs Port <Sconosciuto> Host (removed) Source RPM Packages cifs-utils-4.8.1-1.fc14 Target RPM Packages Policy RPM selinux-policy-3.9.7-28.fc14 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.35.10-74.fc14.i686.PAE #1 SMP Thu Dec 23 16:10:47 UTC 2010 i686 i686 Alert Count 3 First Seen mar 08 feb 2011 13:16:20 CET Last Seen mar 08 feb 2011 13:42:46 CET Local ID be27ba17-e650-4d5a-b7b5-131ced5e23da Raw Audit Messages type=AVC msg=audit(1297168966.505:35322): avc: denied { unix_read unix_write } for pid=5228 comm="mount.cifs" key=180885 scontext=system_u:system_r:mount_t:s0 tcontext=system_u:system_r:kernel_t:s0 tclass=sem type=SYSCALL msg=audit(1297168966.505:35322): arch=i386 syscall=ipc success=no exit=EACCES a0=2 a1=2c295 a2=1 a3=3ff items=0 ppid=5222 pid=5228 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=mount.cifs exe=/sbin/mount.cifs subj=system_u:system_r:mount_t:s0 key=(null) Hash: mount.cifs,mount_t,kernel_t,sem,unix_read,unix_write audit2allow #============= mount_t ============== allow mount_t kernel_t:sem { unix_read unix_write }; audit2allow -R #============= mount_t ============== allow mount_t kernel_t:sem { unix_read unix_write };