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 655296 Details for
Bug 882416
Can't access a drive mounted at /media/Sea500 after selinux-policy-targeted-3.11.1-57.fc18.noarch
[?]
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.
sealert output
sealert (text/plain), 5.76 KB, created by
Adam Williamson
on 2012-11-30 22:10:51 UTC
(
hide
)
Description:
sealert output
Filename:
MIME Type:
Creator:
Adam Williamson
Created:
2012-11-30 22:10:51 UTC
Size:
5.76 KB
patch
obsolete
>SELinux is preventing /usr/bin/bash from getattr access on the directory /media/Sea500/images. > >***** 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 bash to have getattr access on the images directory >Then you need to change the label on /media/Sea500/images >Do ># semanage fcontext -a -t FILE_TYPE '/media/Sea500/images' >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 '/media/Sea500/images' > > >***** Plugin catchall (5.04 confidence) suggests *************************** > >If you believe that bash should be allowed getattr access on the images 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 bash /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 unconfined_u:object_r:file_t:s0 >Target Objects /media/Sea500/images [ dir ] >Source bash >Source Path /usr/bin/bash >Port <Unknown> >Host adam.localdomain >Source RPM Packages coreutils-8.17-6.fc18.x86_64 >Target RPM Packages >Policy RPM selinux-policy-3.11.1-58.fc18.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Enforcing >Host Name adam.localdomain >Platform Linux adam.localdomain 3.6.7-5.fc18.x86_64 #1 SMP > Tue Nov 20 19:40:08 UTC 2012 x86_64 x86_64 >Alert Count 8 >First Seen 2012-11-30 13:54:52 PST >Last Seen 2012-11-30 14:07:37 PST >Local ID 7a65d862-312a-4f92-9bc2-4383e0d8ebf5 > >Raw Audit Messages >type=AVC msg=audit(1354313257.597:2986): avc: denied { getattr } for pid=14170 comm="ls" path="/media/Sea500/images" dev="sdb1" ino=12 scontext=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:file_t:s0 tclass=dir > > >type=SYSCALL msg=audit(1354313257.597:2986): arch=x86_64 syscall=lstat success=no exit=EACCES a0=7fff27e4bd30 a1=2481820 a2=2481820 a3=7fff27e4bac0 items=0 ppid=13182 pid=14170 auid=1001 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=pts0 ses=2 comm=ls exe=/usr/bin/ls subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 key=(null) > >Hash: bash,unconfined_t,file_t,dir,getattr > >audit2allow > >#============= unconfined_t ============== >allow unconfined_t file_t:dir getattr; > >audit2allow -R > >#============= unconfined_t ============== >allow unconfined_t file_t:dir getattr; > >
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 882416
: 655296 |
655698
|
655766