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 579953 Details for
Bug 815894
OpenShift Origin: Unable to install the Ruby on Rails sample app
[?]
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.
SELinux details
selinux.log (text/x-log), 8.39 KB, created by
Attila Nagy
on 2012-04-24 18:32:39 UTC
(
hide
)
Description:
SELinux details
Filename:
MIME Type:
Creator:
Attila Nagy
Created:
2012-04-24 18:32:39 UTC
Size:
8.39 KB
patch
obsolete
>SELinux is preventing /usr/bin/ruby from getattr access on the file /var/lib/stickshift/1f09a99ff1614ce8bfbf53eaa4efc5f5/myrubyapp/runtime/repo/vendor/bundle/ruby/1.8/gems/json-1.6.1/ext/json/ext/json/ext/generator.so. > >***** Plugin restorecon (94.8 confidence) suggests ************************* > >If you want to fix the label. >/var/lib/stickshift/1f09a99ff1614ce8bfbf53eaa4efc5f5/myrubyapp/runtime/repo/vendor/bundle/ruby/1.8/gems/json-1.6.1/ext/json/ext/json/ext/generator.so default label should be user_home_t. >Then you can run restorecon. >Do ># /sbin/restorecon -v /var/lib/stickshift/1f09a99ff1614ce8bfbf53eaa4efc5f5/myrubyapp/runtime/repo/vendor/bundle/ruby/1.8/gems/json-1.6.1/ext/json/ext/json/ext/generator.so > >***** Plugin catchall_labels (5.21 confidence) suggests ******************** > >If you want to allow ruby to have getattr access on the generator.so file >Then you need to change the label on /var/lib/stickshift/1f09a99ff1614ce8bfbf53eaa4efc5f5/myrubyapp/runtime/repo/vendor/bundle/ruby/1.8/gems/json-1.6.1/ext/json/ext/json/ext/generator.so >Do ># semanage fcontext -a -t FILE_TYPE '/var/lib/stickshift/1f09a99ff1614ce8bfbf53eaa4efc5f5/myrubyapp/runtime/repo/vendor/bundle/ruby/1.8/gems/json-1.6.1/ext/json/ext/json/ext/generator.so' >where FILE_TYPE is one of the following: dirsrvadmin_unconfined_script_exec_t, mailman_archive_t, user_cron_spool_t, bin_t, cert_t, cert_t, httpd_t, abrt_var_run_t, lib_t, locale_t, httpd_collectd_htaccess_t, httpd_unconfined_script_exec_t, usr_t, etc_t, etc_t, fonts_t, abrt_retrace_spool_t, proc_t, sysfs_t, httpd_rotatelogs_exec_t, httpd_mojomojo_htaccess_t, httpd_smokeping_cgi_htaccess_t, krb5_keytab_t, nagios_etc_t, nagios_log_t, sssd_public_t, sssd_public_t, httpd_keytab_t, sysctl_crypto_t, httpd_config_t, cluster_conf_t, tetex_data_t, httpd_mediawiki_htaccess_t, fonts_cache_t, httpd_exec_t, httpd_lock_t, logfile, httpd_log_t, user_tmp_t, dirsrv_config_t, httpd_tmp_t, smokeping_var_lib_t, krb5_conf_t, krb5_conf_t, shell_exec_t, httpd_w3c_validator_htaccess_t, mysqld_etc_t, cvs_data_t, dirsrvadmin_tmp_t, cobbler_etc_t, abrt_t, httpd_helper_exec_t, dbusd_etc_t, dirsrv_share_t, calamaris_www_t, lib_t, httpd_cache_t, httpd_tmpfs_t, ld_so_t, iso9660_t, user_home_t, sysfs_t, httpd_squirrelmail_t, abrt_helper_exec_t, var_lib_t, httpd_php_exec_t, httpd_passwd_exec_t, httpd_nagios_htaccess_t, proc_net_t, abrt_etc_t, puppet_tmp_t, samba_var_t, dirsrv_var_log_t, zarafa_var_lib_t, etc_runtime_t, stickshift_exec_t, dirsrv_var_run_t, textrel_shlib_t, puppet_var_lib_t, httpd_passenger_helper_exec_t, net_conf_t, httpd_var_lib_t, httpd_var_run_t, git_system_content_t, udev_var_run_t, rpm_script_tmp_t, public_content_t, fail2ban_var_lib_t, anon_inodefs_t, systemd_passwd_var_run_t, sysctl_kernel_t, httpd_awstats_htaccess_t, httpd_dirsrvadmin_htaccess_t, httpd_modules_t, httpd_user_htaccess_t, chroot_exec_t, httpd_sys_content_t, public_content_rw_t, ld_so_cache_t, httpd_bugzilla_htaccess_t, httpd_cobbler_htaccess_t, sosreport_tmp_t, mailman_data_t, abrt_var_cache_t, httpd_apcupsd_cgi_htaccess_t, httpd_suexec_exec_t, system_dbusd_var_lib_t, application_exec_type, rpm_tmp_t, httpd_cvs_htaccess_t, httpd_git_htaccess_t, httpd_sys_htaccess_t, squirrelmail_spool_t, httpd_nutups_cgi_htaccess_t, mailman_cgi_exec_t, abrt_retrace_worker_exec_t, gitosis_var_lib_t, dirsrvadmin_config_t, httpd_prewikka_htaccess_t, httpd_squid_htaccess_t, httpd_dspam_htaccess_t, httpd_munin_htaccess_t, cobbler_var_lib_t, httpd_awstats_script_exec_t, httpd_dirsrvadmin_content_t, httpd_dirsrvadmin_ra_content_t, httpd_dirsrvadmin_rw_content_t, httpd_squid_script_exec_t, httpd_dspam_content_t, httpd_w3c_validator_ra_content_t, httpd_w3c_validator_rw_content_t, httpd_cobbler_content_t, httpd_collectd_ra_content_t, httpd_collectd_rw_content_t, httpd_nagios_script_exec_t, httpd_awstats_content_t, root_t, httpd_user_ra_content_t, httpd_user_rw_content_t, httpd_awstats_ra_content_t, httpd_awstats_rw_content_t, httpd_cobbler_ra_content_t, httpd_cobbler_rw_content_t, httpd_bugzilla_script_exec_t, httpd_prewikka_script_exec_t, httpd_mojomojo_content_t, httpd_munin_ra_content_t, httpd_munin_rw_content_t, httpd_mojomojo_ra_content_t, httpd_mojomojo_rw_content_t, httpd_nutups_cgi_content_t, httpd_dirsrvadmin_script_exec_t, httpd_sys_script_exec_t, httpd_git_script_exec_t, httpd_mojomojo_script_exec_t, httpd_bugzilla_ra_content_t, httpd_bugzilla_rw_content_t, httpd_cvs_script_exec_t, httpd_nutups_cgi_script_exec_t, user_home_type, httpd_cvs_ra_content_t, httpd_cvs_rw_content_t, httpd_git_ra_content_t, httpd_git_rw_content_t, httpd_nagios_content_t, httpd_sys_ra_content_t, httpd_sys_rw_content_t, httpd_w3c_validator_content_t, httpd_nagios_ra_content_t, httpd_nagios_rw_content_t, httpd_apcupsd_cgi_content_t, httpd_nutups_cgi_ra_content_t, httpd_nutups_cgi_rw_content_t, httpd_cobbler_script_exec_t, httpd_mediawiki_script_exec_t, httpd_apcupsd_cgi_ra_content_t, httpd_apcupsd_cgi_rw_content_t, httpd_smokeping_cgi_script_exec_t, httpd_git_content_t, httpd_user_content_t, httpd_smokeping_cgi_content_t, httpd_cvs_content_t, httpd_sys_content_t, httpd_dspam_ra_content_t, httpd_dspam_rw_content_t, httpd_mediawiki_ra_content_t, httpd_mediawiki_rw_content_t, httpd_dspam_script_exec_t, httpd_collectd_content_t, httpd_munin_script_exec_t, httpd_squid_ra_content_t, httpd_squid_rw_content_t, httpd_w3c_validator_script_exec_t, httpd_prewikka_ra_content_t, httpd_prewikka_rw_content_t, httpd_user_script_exec_t, httpd_bugzilla_content_t, httpd_collectd_script_exec_t, httpd_mediawiki_content_t, httpd_prewikka_content_t, httpd_smokeping_cgi_ra_content_t, httpd_smokeping_cgi_rw_content_t, krb5_host_rcache_t, krb5_host_rcache_t, httpd_munin_content_t, httpd_squid_content_t, httpd_apcupsd_cgi_script_exec_t. >Then execute: >restorecon -v '/var/lib/stickshift/1f09a99ff1614ce8bfbf53eaa4efc5f5/myrubyapp/runtime/repo/vendor/bundle/ruby/1.8/gems/json-1.6.1/ext/json/ext/json/ext/generator.so' > > >***** Plugin catchall (1.44 confidence) suggests *************************** > >If you believe that ruby should be allowed getattr access on the generator.so file 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 ruby /var/log/audit/audit.log | audit2allow -M mypol ># semodule -i mypol.pp > >Additional Information: >Source Context system_u:system_r:httpd_t:s0 >Target Context system_u:object_r:default_t:s0 >Target Objects /var/lib/stickshift/1f09a99ff1614ce8bfbf53eaa4efc5 > f5/myrubyapp/runtime/repo/vendor/bundle/ruby/1.8/g > ems/json-1.6.1/ext/json/ext/json/ext/generator.so > [ file ] >Source ruby >Source Path /usr/bin/ruby >Port <Unknown> >Host localhost.localdomain >Source RPM Packages ruby-1.8.7.357-1.fc16.x86_64 >Target RPM Packages >Policy RPM selinux-policy-3.10.0-84.fc16.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Enforcing >Host Name localhost >Platform Linux localhost 3.3.2-1.fc16.x86_64 #1 SMP Sat Apr > 14 00:31:23 UTC 2012 x86_64 x86_64 >Alert Count 6 >First Seen Tue 24 Apr 2012 02:10:22 PM EDT >Last Seen Tue 24 Apr 2012 02:10:23 PM EDT >Local ID 21169aff-6892-42f5-9fd0-5cf357089e79 > >Raw Audit Messages >type=AVC msg=audit(1335291023.249:160): avc: denied { getattr } for pid=6101 comm="ruby" path="/var/lib/stickshift/1f09a99ff1614ce8bfbf53eaa4efc5f5/myrubyapp/runtime/repo/vendor/bundle/ruby/1.8/gems/json-1.6.1/ext/json/ext/json/ext/generator.so" dev="dm-0" ino=306043 scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:object_r:default_t:s0 tclass=file > > >type=SYSCALL msg=audit(1335291023.249:160): arch=x86_64 syscall=stat success=no exit=EACCES a0=7f1d7cfad160 a1=7fff834c44e0 a2=7fff834c44e0 a3=3136316666393961 items=0 ppid=1 pid=6101 auid=500 uid=500 gid=1001 euid=500 suid=500 fsuid=500 egid=1001 sgid=1001 fsgid=1001 tty=(none) ses=3 comm=ruby exe=/usr/bin/ruby subj=system_u:system_r:httpd_t:s0 key=(null) > >Hash: ruby,httpd_t,default_t,file,getattr > >audit2allow > >#============= httpd_t ============== >allow httpd_t default_t:file getattr; > >audit2allow -R > >#============= httpd_t ============== >allow httpd_t default_t:file 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 815894
: 579953