Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 655560 Details for
Bug 882502
SELinux is preventing /usr/libexec/gvfsd-trash from 'read' accesses on the directory /.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
File: description
description (text/plain), 4.83 KB, created by
Gerard Ryan
on 2012-12-01 14:26:04 UTC
(
hide
)
Description:
File: description
Filename:
MIME Type:
Creator:
Gerard Ryan
Created:
2012-12-01 14:26:04 UTC
Size:
4.83 KB
patch
obsolete
>SELinux is preventing /usr/libexec/gvfsd-trash from 'read' accesses on the directory /. > >***** Plugin file (36.8 confidence) suggests ******************************* > >If you think this is caused by a badly mislabeled machine. >Then you need to fully relabel. >Do >touch /.autorelabel; reboot > >***** Plugin file (36.8 confidence) suggests ******************************* > >If you think this is caused by a badly mislabeled machine. >Then you need to fully relabel. >Do >touch /.autorelabel; reboot > >***** Plugin catchall_labels (23.2 confidence) suggests ******************** > >If you want to allow gvfsd-trash to have read access on the directory >Then you need to change the label on / >Do ># semanage fcontext -a -t FILE_TYPE '/' >where FILE_TYPE is one of the following: user_tmp_t, cert_type, alsa_etc_rw_t, cupsd_etc_t, root_t, postfix_etc_t, thumb_t, tmp_t, usr_t, device_t, file_type, etc_mail_t, user_fonts_t, tmp_t, mqueue_spool_t, textrel_shlib_t, user_tmp_t, public_content_t, public_content_rw_t, sysctl_kernel_t, sandbox_file_t, var_lib_t, user_fonts_config_t, systemd_unit_file_type, user_fonts_t, systemd_logind_sessions_t, cache_home_t, samba_etc_t, data_home_t, telepathy_data_home_t, nx_server_var_lib_t, systemd_unit_file_type, net_conf_t, security_t, var_spool_t, telepathy_cache_home_t, var_log_t, modules_object_t, unconfined_t, user_home_t, init_var_run_t, var_lib_t, var_run_t, var_run_t, sysctl_type, virt_var_run_t, device_t, devpts_t, security_t, domain, init_var_run_t, cache_home_t, etc_t, unlabeled_t, data_home_t, var_run_t, proc_type, cgroup_t, src_t, user_home_dir_t, user_home_type, bin_t, fsadm_var_run_t, sysctl_crypto_t, boolean_type, lib_t, mnt_t, httpd_sys_content_t, chrome_sandbox_t, filesystem_type, systemd_logind_var_run_t, systemd_passwd_var_run_t, usr_t, var_t, home_root_t, user_tmp_type, httpd_user_content_t, admin_home_t, httpd_user_script_exec_t, systemd_logind_var_run_t, systemd_passwd_var_run_t, home_root_t, etc_t, krb5kdc_conf_t, krb5_host_rcache_t, virt_home_t, cert_t, user_tmpfs_type, gnome_home_t, user_home_dir_t, gconf_home_t, mail_spool_t, user_home_dir_t, sysctl_type, device_t, device_t, devpts_t, locale_t, sssd_public_t, readable_t, etc_t, etc_t, cgroup_t, device_t, abrt_t, bin_t, config_home_t, boot_t, etc_t, base_ro_file_type, lib_t, man_t, cgroup_t, root_t, root_t, tmpfs_t, user_home_dir_t, tmp_t, usr_t, usr_t, var_t, bin_t, config_home_t, cert_t, unconfined_dbusd_t, init_t, device_t, mozilla_plugin_rw_t, nscd_var_run_t, mozilla_plugin_t, sysctl_kernel_t, security_t. >Then execute: >restorecon -v '/' > > >***** Plugin catchall (5.04 confidence) suggests *************************** > >If you believe that gvfsd-trash should be allowed read access on the 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 gvfsd-trash /var/log/audit/audit.log | audit2allow -M mypol ># semodule -i mypol.pp > >Additional Information: >Source Context unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1 > 023 >Target Context system_u:object_r:file_t:s0 >Target Objects / [ dir ] >Source gvfsd-trash >Source Path /usr/libexec/gvfsd-trash >Port <Unknown> >Host (removed) >Source RPM Packages gvfs-1.14.2-1.fc18.x86_64 >Target RPM Packages filesystem-3.1-2.fc18.x86_64 >Policy RPM selinux-policy-3.11.1-57.fc18.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Enforcing >Host Name (removed) >Platform Linux (removed) 3.6.7-5.fc18.x86_64 #1 SMP Tue Nov > 20 19:40:08 UTC 2012 x86_64 x86_64 >Alert Count 45 >First Seen 2012-12-01 14:22:32 GMT >Last Seen 2012-12-01 14:25:37 GMT >Local ID 9d472056-156b-4385-9286-5535111a31bc > >Raw Audit Messages >type=AVC msg=audit(1354371937.203:817): avc: denied { read } for pid=1994 comm="gvfsd-trash" name="/" dev="sdb1" ino=2 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=dir > > >type=SYSCALL msg=audit(1354371937.203:817): arch=x86_64 syscall=inotify_add_watch success=no exit=EACCES a0=6 a1=1383bf0 a2=1002fce a3=1 items=0 ppid=1 pid=1994 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=gvfsd-trash exe=/usr/libexec/gvfsd-trash subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) > >Hash: gvfsd-trash,unconfined_t,file_t,dir,read > >audit2allowunable to open /sys/fs/selinux/policy: Device or resource busy > > >audit2allow -R > >#============= unconfined_t ============== >allow unconfined_t file_t:dir read; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 882502
: 655560