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 655401 Details for
Bug 882454
SELinux is preventing /usr/bin/gnome-shell from 'getattr' accesses on the directory /run/media/grdryn/bricktwo.
[?]
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), 5.71 KB, created by
Gerard Ryan
on 2012-12-01 03:05:32 UTC
(
hide
)
Description:
File: description
Filename:
MIME Type:
Creator:
Gerard Ryan
Created:
2012-12-01 03:05:32 UTC
Size:
5.71 KB
patch
obsolete
>SELinux is preventing /usr/bin/gnome-shell from 'getattr' accesses on the directory /run/media/grdryn/bricktwo. > >***** 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 gnome-shell to have getattr access on the bricktwo directory >Then you need to change the label on /run/media/grdryn/bricktwo >Do ># semanage fcontext -a -t FILE_TYPE '/run/media/grdryn/bricktwo' >where FILE_TYPE is one of the following: user_tmp_t, cert_type, alsa_etc_rw_t, cupsd_etc_t, mandb_cache_t, root_t, postfix_etc_t, system_cronjob_var_lib_t, thumb_t, tmp_t, usr_t, var_t, abrt_var_run_t, krb5_conf_t, policykit_var_lib_t, init_var_run_t, user_tmp_t, var_run_t, semanage_store_t, device_t, file_type, etc_mail_t, cfengine_var_lib_t, user_fonts_t, tmp_t, mqueue_spool_t, cfengine_var_lib_t, textrel_shlib_t, user_tmp_t, public_content_t, public_content_rw_t, sysctl_kernel_t, nscd_var_run_t, nslcd_var_run_t, sandbox_file_t, samba_var_t, var_lib_t, var_run_t, user_fonts_config_t, rpm_script_tmp_t, smbd_var_run_t, systemd_unit_file_type, sssd_var_lib_t, user_fonts_t, avahi_var_run_t, security_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, tmp_t, var_t, home_root_t, security_t, var_spool_t, telepathy_cache_home_t, rpm_log_t, default_t, var_log_t, var_log_t, modules_object_t, unconfined_t, abrt_var_run_t, user_home_t, init_var_run_t, var_lib_t, var_run_t, var_run_t, sysctl_type, policykit_reload_t, 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_lib_t, var_run_t, proc_t, proc_type, cgroup_t, src_t, sysfs_t, tmpfs_t, user_home_dir_t, sysctl_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, gconf_home_t, usr_t, var_t, home_root_t, winbind_var_run_t, user_tmp_type, etc_t, 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, sysctl_vm_t, virt_home_t, cert_t, user_tmpfs_type, gnome_home_t, selinux_config_t, user_home_dir_t, gconf_home_t, var_t, abrt_var_run_t, home_root_t, var_run_t, setrans_var_run_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, proc_t, cgroup_t, sysfs_t, sysfs_t, tmpfs_t, device_t, sysctl_t, abrt_t, bin_t, bin_t, config_home_t, boot_t, init_t, etc_t, base_ro_file_type, lib_t, man_t, likewise_var_lib_t, mnt_t, proc_t, cgroup_t, root_t, root_t, sysfs_t, tmpfs_t, user_home_dir_t, tmp_t, tmp_t, usr_t, usr_t, var_t, var_t, bin_t, config_home_t, cert_t, unconfined_dbusd_t, sysctl_vm_overcommit_t, proc_net_t, init_t, cpu_online_t, device_t, mozilla_plugin_rw_t, nscd_var_run_t, pcscd_var_run_t, var_run_t, var_run_t, sysfs_t, mozilla_plugin_t, krb5_host_rcache_t, sysctl_kernel_t, security_t, var_t, var_t, proc_t, sysctl_t, bin_t. >Then execute: >restorecon -v '/run/media/grdryn/bricktwo' > > >***** Plugin catchall (5.04 confidence) suggests *************************** > >If you believe that gnome-shell should be allowed getattr access on the bricktwo 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 gnome-shell /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 /run/media/grdryn/bricktwo [ dir ] >Source gnome-shell >Source Path /usr/bin/gnome-shell >Port <Unknown> >Host (removed) >Source RPM Packages gnome-shell-3.6.2-2.fc18.x86_64 >Target RPM Packages >Policy RPM selinux-policy-3.11.1-57.fc18.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Permissive >Host Name (removed) >Platform Linux (removed) 3.6.6-3.fc18.x86_64 #1 SMP Mon Nov > 5 16:26:34 UTC 2012 x86_64 x86_64 >Alert Count 1 >First Seen 2012-12-01 03:02:00 GMT >Last Seen 2012-12-01 03:02:00 GMT >Local ID 72826ff4-e82c-43c8-aad6-199d16f6ea4c > >Raw Audit Messages >type=AVC msg=audit(1354330920.22:556): avc: denied { getattr } for pid=1746 comm="gnome-shell" path="/run/media/grdryn/bricktwo" 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(1354330920.22:556): arch=x86_64 syscall=stat success=yes exit=0 a0=476d6a0 a1=7fff2d5f3660 a2=7fff2d5f3660 a3=7fff2d5f3730 items=0 ppid=1508 pid=1746 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=2 comm=gnome-shell exe=/usr/bin/gnome-shell subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) > >Hash: gnome-shell,unconfined_t,file_t,dir,getattr > >audit2allow >audit2allow -R
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 882454
: 655401