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 580321 Details for
Bug 816408
SELinux is preventing /usr/bin/python from 'getattr' accesses on the file /var/cache/jockey/installed_packages.
[?]
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.70 KB, created by
Xi Yang
on 2012-04-26 01:36:18 UTC
(
hide
)
Description:
File: description
Filename:
MIME Type:
Creator:
Xi Yang
Created:
2012-04-26 01:36:18 UTC
Size:
4.70 KB
patch
obsolete
>SELinux is preventing /usr/bin/python from 'getattr' accesses on the file /var/cache/jockey/installed_packages. > >***** Plugin restorecon (94.8 confidence) suggests ************************* > >If you want to fix the label. >/var/cache/jockey/installed_packages default label should be usr_t. >Then you can run restorecon. >Do ># /sbin/restorecon -v /var/cache/jockey/installed_packages > >***** Plugin catchall_labels (5.21 confidence) suggests ******************** > >If you want to allow python to have getattr access on the installed_packages file >Then you need to change the label on /var/cache/jockey/installed_packages >Do ># semanage fcontext -a -t FILE_TYPE '/var/cache/jockey/installed_packages' >where FILE_TYPE is one of the following: firewalld_exec_t, sysctl_crypto_t, user_cron_spool_t, named_exec_t, modules_conf_t, consolekit_exec_t, gconfdefaultsm_exec_t, system_dbusd_var_lib_t, system_dbusd_var_run_t, krb5_conf_t, devicekit_exec_t, policykit_exec_t, policykit_auth_exec_t, pam_var_console_t, selinux_config_t, kerneloops_exec_t, NetworkManager_t, gnomeclock_exec_t, cgroup_t, default_context_t, abrt_t, bin_t, cert_t, init_t, lib_t, locale_t, logfile, usr_t, user_tmp_t, etc_t, var_t, setroubleshootd_exec_t, ld_so_t, sambagui_exec_t, proc_t, sysfs_t, sysfs_t, kdumpgui_exec_t, abrt_helper_exec_t, firewallgui_exec_t, NetworkManager_exec_t, devicekit_disk_exec_t, system_dbusd_tmp_t, dbusd_exec_t, samba_var_t, gnomesystemmm_exec_t, net_conf_t, cupsd_config_exec_t, accountsd_exec_t, system_dbusd_t, textrel_shlib_t, user_home_t, devicekit_power_exec_t, modules_dep_t, shell_exec_t, dhcpc_exec_t, rpm_script_tmp_t, abrt_exec_t, rpm_exec_t, security_t, pulseaudio_exec_t, dbusd_etc_t, systemd_systemctl_exec_t, logfile, ld_so_cache_t, sosreport_tmp_t, system_bus_type, init_script_file_type, cpufreqselector_exec_t, abrt_var_cache_t, icc_data_home_t, rpm_tmp_t, pppd_exec_t, NetworkManager_initrc_exec_t, NetworkManager_unit_file_t, domain, semanage_exec_t, avahi_exec_t, cert_t, debuginfo_exec_t, colord_exec_t, etc_t, gconfd_exec_t, xdm_var_lib_t, abrt_var_run_t, modemmanager_exec_t, sssd_public_t, udev_var_run_t, fprintd_exec_t, setroubleshoot_fixit_exec_t, anon_inodefs_t, admin_home_t, sysctl_kernel_t, sectoolm_exec_t, rtkit_daemon_exec_t, puppet_tmp_t, krb5_host_rcache_t. >Then execute: >restorecon -v '/var/cache/jockey/installed_packages' > > >***** Plugin catchall (1.44 confidence) suggests *************************** > >If you believe that python should be allowed getattr access on the installed_packages 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 jockey-backend /var/log/audit/audit.log | audit2allow -M mypol ># semodule -i mypol.pp > >Additional Information: >Source Context system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 >Target Context system_u:object_r:unlabeled_t:s0 >Target Objects /var/cache/jockey/installed_packages [ file ] >Source jockey-backend >Source Path /usr/bin/python >Port <Unknown> >Host (removed) >Source RPM Packages python-2.7.2-5.2.fc16.x86_64 >Target RPM Packages >Policy RPM selinux-policy-3.10.0-84.fc16.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Permissive >Host Name (removed) >Platform Linux (removed) 3.3.2-6.fc16.x86_64 #1 SMP Sat > Apr 21 12:43:20 UTC 2012 x86_64 x86_64 >Alert Count 4 >First Seen Wed 25 Apr 2012 07:33:41 PM CST >Last Seen Wed 25 Apr 2012 07:49:29 PM CST >Local ID 3e70e9a5-ce02-48fd-8aaf-4342db878317 > >Raw Audit Messages >type=AVC msg=audit(1335354569.278:87): avc: denied { getattr } for pid=2358 comm="jockey-backend" path="/var/cache/jockey/installed_packages" dev="sda6" ino=4669926 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=file > > >type=SYSCALL msg=audit(1335354569.278:87): arch=x86_64 syscall=fstat success=yes exit=0 a0=8 a1=7fa9a003c7f0 a2=7fa9a003c7f0 a3=238 items=0 ppid=1 pid=2358 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=jockey-backend exe=/usr/bin/python subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null) > >Hash: jockey-backend,system_dbusd_t,unlabeled_t,file,getattr > >audit2allow > >#============= system_dbusd_t ============== >allow system_dbusd_t unlabeled_t:file getattr; > >audit2allow -R > >#============= system_dbusd_t ============== >allow system_dbusd_t unlabeled_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 816408
: 580321