| Summary: | SELinux is preventing /sbin/mount.ecryptfs_private from 'write' accesses on the key Unknown. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | hkoba <buribullet> |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15 | CC: | dominick.grift, dwalsh, mgrepl |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:976852a349bd7ebdc217a74bb9d28abc06bfa3c1e4ab475a524e70612814b932 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-06-20 08:03:15 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 712048 *** |
SELinux is preventing /sbin/mount.ecryptfs_private from 'write' accesses on the key Unknown. ***** Plugin catchall (100. confidence) suggests *************************** If mount.ecryptfs_private に、 Unknown key の write アクセスがデフォルトで許可されるべきです。 Then これをバグをして報告すべきです。 このアクセスを許可するために、ローカルポリシーモジュールを生成することができます。 Do このアクセスを一時的に許可するには、以下を実行してください。: # grep umount.ecryptfs /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:mount_t:s0-s0:c0.c1023 Target Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Objects Unknown [ key ] Source umount.ecryptfs Source Path /sbin/mount.ecryptfs_private Port <不明> Host (removed) Source RPM Packages ecryptfs-utils-86-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.16-26.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38.7-30.fc15.x86_64 #1 SMP Fri May 27 05:15:53 UTC 2011 x86_64 x86_64 Alert Count 10 First Seen 2011年06月16日 17時16分11秒 Last Seen 2011年06月16日 23時04分36秒 Local ID ea8d9009-cdbc-4a62-811a-e7314959f9b9 Raw Audit Messages type=AVC msg=audit(1308233076.810:66): avc: denied { write } for pid=3298 comm="umount.ecryptfs" scontext=system_u:system_r:mount_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tclass=key type=SYSCALL msg=audit(1308233076.810:66): arch=x86_64 syscall=keyctl success=no exit=EACCES a0=9 a1=3a319f59 a2=fffffffc a3=34b68dc399 items=0 ppid=1845 pid=3298 auid=1000 uid=1000 gid=1000 euid=1000 suid=0 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=1 comm=umount.ecryptfs exe=/sbin/mount.ecryptfs_private subj=system_u:system_r:mount_t:s0-s0:c0.c1023 key=(null) Hash: umount.ecryptfs,mount_t,xdm_t,key,write audit2allow #============= mount_t ============== allow mount_t xdm_t:key write; audit2allow -R #============= mount_t ============== allow mount_t xdm_t:key write;