| Summary: | SELinux is preventing /usr/libexec/gvfs-gdu-volume-monitor from 'read' accesses on the directory /media/DISK_IMG. | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew Potter <agpotter> |
| Component: | gvfs | Assignee: | Ondrej Holy <oholy> |
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 19 | CC: | alexl, bnocera, cschalle, dwalsh, mgrepl, michael.wiktowy, rstrode, vaughn.jayson |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | setroubleshoot_trace_hash:cb9a1aa40f04032f8eb33f30647111ff7fd8a3df212851f0742939a82fefaae6 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-02-17 13:36:28 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Why is gdm executing the /usr/libexec/gvfs-gdu-volume-monitor? This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Thank you for the bug report. However, the correct component for /usr/libexec/gvfs-gdu-volume-monitor is gvfs. I will re-assign this bug to the gvfs component for you. Thanks. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. This message is a notice that Fedora 19 is now at end of life. Fedora has stopped maintaining and issuing updates for Fedora 19. It is Fedora's policy to close all bug reports from releases that are no longer maintained. Approximately 4 (four) weeks from now this bug will be closed as EOL if it remains open with a Fedora 'version' of '19'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 19 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. |
Booting off the GNOME3 test day live cd, I happened to have a USB thumb drive plugged in during boot. Either the GNOME 3 volume applet shouldn't even try to look at usb sticks, or the mounting utility should (I guess?) set the appropriate SELinux label (mnt_t) automatically. Error Output Follows: ---------------------------------------- SELinux is preventing /usr/libexec/gvfs-gdu-volume-monitor from 'read' accesses on the directory /media/DISK_IMG. ***** Plugin restorecon (99.5 confidence) suggests ************************* If you want to fix the label. /media/DISK_IMG default label should be mnt_t. Then you can run restorecon. Do # /sbin/restorecon -v /media/DISK_IMG ***** Plugin catchall (1.49 confidence) suggests *************************** If you believe that gvfs-gdu-volume-monitor should be allowed read access on the DISK_IMG directory 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 gvfs-gdu-volume /var/log/audit/audit.log | audit2allow -M mypol # semodule -i mypol.pp Additional Information: Source Context system_u:system_r:xdm_t:s0-s0:c0.c1023 Target Context system_u:object_r:dosfs_t:s0 Target Objects /media/DISK_IMG [ dir ] Source gvfs-gdu-volume Source Path /usr/libexec/gvfs-gdu-volume-monitor Port <Unknown> Host (removed) Source RPM Packages gvfs-1.7.2-1.fc15 Target RPM Packages Policy RPM selinux-policy-3.9.13-8.fc15 Selinux Enabled True Policy Type targeted Enforcing Mode Enforcing Host Name (removed) Platform Linux (removed) 2.6.38-0.rc3.git0.1.fc15.x86_64 #1 SMP Wed Feb 2 03:34:17 UTC 2011 x86_64 x86_64 Alert Count 23 First Seen Thu 03 Feb 2011 11:18:45 PM EST Last Seen Thu 03 Feb 2011 11:18:45 PM EST Local ID 7200c816-236f-4869-a9b6-497754c0b667 Raw Audit Messages type=AVC msg=audit(1296793125.452:70): avc: denied { read } for pid=1729 comm="gvfs-gdu-volume" name="/" dev=sde1 ino=1 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:dosfs_t:s0 tclass=dir type=SYSCALL msg=audit(1296793125.452:70): arch=x86_64 syscall=access success=no exit=EACCES a0=25f1d00 a1=5 a2=7fff0fda3a80 a3=1 items=0 ppid=1 pid=1729 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm=gvfs-gdu-volume exe=/usr/libexec/gvfs-gdu-volume-monitor subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null) Hash: gvfs-gdu-volume,xdm_t,dosfs_t,dir,read audit2allow #============= xdm_t ============== allow xdm_t dosfs_t:dir read; audit2allow -R #============= xdm_t ============== allow xdm_t dosfs_t:dir read;