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 604521 Details for
Bug 848280
SELinux is spamming about tmpwatch not being able to access files
[?]
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 report
tmpwatch-icon-cache.txt (text/plain), 3.60 KB, created by
Denys
on 2012-08-15 07:15:29 UTC
(
hide
)
Description:
SELinux report
Filename:
MIME Type:
Creator:
Denys
Created:
2012-08-15 07:15:29 UTC
Size:
3.60 KB
patch
obsolete
>SELinux is preventing /usr/sbin/tmpwatch from getattr access on the file /var/tmp/kdecache-root/icon-cache.kcache. > >***** Plugin catchall_labels (83.8 confidence) suggests ******************** > >If you want to allow tmpwatch to have getattr access on the icon-cache.kcache file >Then you need to change the label on /var/tmp/kdecache-root/icon-cache.kcache >Do ># semanage fcontext -a -t FILE_TYPE '/var/tmp/kdecache-root/icon-cache.kcache' >where FILE_TYPE is one of the following: locale_t, samba_etc_t, etc_t, file_t, sysctl_crypto_t, net_conf_t, proc_t, user_cron_spool_t, man_t, cfengine_var_log_t, non_security_file_type, tmpfile, user_tmp_t, sandbox_file_t, ld_so_t, logfile, abrt_t, lib_t, etc_t, kismet_log_t, cert_t, tmpreaper_exec_t, cpu_online_t, rpm_var_cache_t, abrt_helper_exec_t, httpd_cache_t, user_home_t, logfile, sssd_public_t, var_lib_t, user_home_type, file_type, textrel_shlib_t, httpd_sys_rw_content_t, print_spool_t, passwd_file_t, rpm_script_tmp_t, krb5_conf_t, ld_so_cache_t, tmpreaper_t, abrt_var_cache_t, machineid_t, sosreport_tmp_t, rpm_tmp_t, puppet_tmp_t, abrt_var_run_t, amavis_spool_t, admin_home_t, samba_var_t, cfengine_var_log_t, krb5_host_rcache_t. >Then execute: >restorecon -v '/var/tmp/kdecache-root/icon-cache.kcache' > > >***** Plugin catchall (17.1 confidence) suggests *************************** > >If you believe that tmpwatch should be allowed getattr access on the icon-cache.kcache 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 tmpwatch /var/log/audit/audit.log | audit2allow -M mypol ># semodule -i mypol.pp > >Additional Information: >Source Context system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 >Target Context unconfined_u:object_r:unlabeled_t:s0 >Target Objects /var/tmp/kdecache-root/icon-cache.kcache [ file ] >Source tmpwatch >Source Path /usr/sbin/tmpwatch >Port <Unknown> >Host obsidan.absu.info >Source RPM Packages tmpwatch-2.10.3-2.fc17.x86_64 >Target RPM Packages >Policy RPM selinux-policy-3.10.0-145.fc17.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Enforcing >Host Name obsidan.absu.info >Platform Linux obsidan.absu.info 3.5.1-1.fc17.x86_64 #1 SMP > Thu Aug 9 17:50:43 UTC 2012 x86_64 x86_64 >Alert Count 1 >First Seen 2012-08-15 03:34:48 BST >Last Seen 2012-08-15 03:34:48 BST >Local ID 12231ae7-78e2-4412-9b76-27f3e16afa9b > >Raw Audit Messages >type=AVC msg=audit(1344998088.930:116): avc: denied { getattr } for pid=7959 comm="tmpwatch" path="/var/tmp/kdecache-root/icon-cache.kcache" dev="dm-2" ino=262325 scontext=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:unlabeled_t:s0 tclass=file > > >type=SYSCALL msg=audit(1344998088.930:116): arch=x86_64 syscall=lstat success=no exit=EACCES a0=1a70c73 a1=7fff1f2fe400 a2=7fff1f2fe400 a3=313d57835d items=0 ppid=7956 pid=7959 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=5 comm=tmpwatch exe=/usr/sbin/tmpwatch subj=system_u:system_r:tmpreaper_t:s0-s0:c0.c1023 key=(null) > >Hash: tmpwatch,tmpreaper_t,unlabeled_t,file,getattr > >audit2allow > >#============= tmpreaper_t ============== >allow tmpreaper_t unlabeled_t:file getattr; > >audit2allow -R > >#============= tmpreaper_t ============== >allow tmpreaper_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 848280
:
604520
| 604521