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 654520 Details for
Bug 881937
SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the directory /var/log/ConsoleKit.
[?]
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), 3.86 KB, created by
leigh scott
on 2012-11-29 20:06:09 UTC
(
hide
)
Description:
File: description
Filename:
MIME Type:
Creator:
leigh scott
Created:
2012-11-29 20:06:09 UTC
Size:
3.86 KB
patch
obsolete
>SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the directory /var/log/ConsoleKit. > >***** Plugin restorecon (94.8 confidence) suggests ************************* > >If you want to fix the label. >/var/log/ConsoleKit default label should be var_log_t. >Then you can run restorecon. >Do ># /sbin/restorecon -v /var/log/ConsoleKit > >***** Plugin catchall_labels (5.21 confidence) suggests ******************** > >If you want to allow updatedb to have getattr access on the ConsoleKit directory >Then you need to change the label on /var/log/ConsoleKit >Do ># semanage fcontext -a -t FILE_TYPE '/var/log/ConsoleKit' >where FILE_TYPE is one of the following: mandb_cache_t, locate_var_lib_t, file_type, krb5_conf_t, inotifyfs_t, cfengine_var_lib_t, anon_inodefs_t, cfengine_var_lib_t, textrel_shlib_t, nscd_var_run_t, nslcd_var_run_t, samba_var_t, var_lib_t, var_run_t, rpm_script_tmp_t, smbd_var_run_t, sssd_var_lib_t, avahi_var_run_t, security_t, samba_etc_t, net_conf_t, tmp_t, var_t, noxattrfs, rpm_log_t, default_t, var_log_t, filesystem_type, device_t, locate_t, abrt_var_run_t, etc_t, var_run_t, bin_t, sysctl_crypto_t, proc_t, winbind_var_run_t, etc_t, sysctl_vm_t, cert_t, var_t, abrt_var_run_t, var_run_t, setrans_var_run_t, device_t, locale_t, sssd_public_t, etc_t, proc_t, sysfs_t, sysctl_t, abrt_t, bin_t, base_ro_file_type, lib_t, man_t, likewise_var_lib_t, mnt_t, root_t, tmp_t, usr_t, var_t, sysctl_vm_overcommit_t, cpu_online_t, nscd_var_run_t, pcscd_var_run_t, var_run_t, var_run_t, krb5_host_rcache_t, sysctl_kernel_t, var_t, var_t, proc_t, sysctl_t, bin_t. >Then execute: >restorecon -v '/var/log/ConsoleKit' > > >***** Plugin catchall (1.44 confidence) suggests *************************** > >If you believe that updatedb should be allowed getattr access on the ConsoleKit 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 updatedb /var/log/audit/audit.log | audit2allow -M mypol ># semodule -i mypol.pp > >Additional Information: >Source Context system_u:system_r:locate_t:s0-s0:c0.c1023 >Target Context system_u:object_r:unlabeled_t:s0 >Target Objects /var/log/ConsoleKit [ dir ] >Source updatedb >Source Path /usr/bin/updatedb >Port <Unknown> >Host (removed) >Source RPM Packages mlocate-0.26-1.fc18.x86_64 >Target RPM Packages >Policy RPM selinux-policy-3.11.1-57.fc18.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Enforcing >Host Name (removed) >Platform Linux (removed) 3.6.7-5.fc18.x86_64 #1 SMP Tue Nov > 20 19:40:08 UTC 2012 x86_64 x86_64 >Alert Count 1 >First Seen 2012-11-29 19:45:13 GMT >Last Seen 2012-11-29 19:45:13 GMT >Local ID 1e125dea-1abe-4e4a-8338-effdc561ce58 > >Raw Audit Messages >type=AVC msg=audit(1354218313.324:338): avc: denied { getattr } for pid=2842 comm="updatedb" path="/var/log/ConsoleKit" dev="sda1" ino=392584 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:unlabeled_t:s0 tclass=dir > > >type=SYSCALL msg=audit(1354218313.324:338): arch=x86_64 syscall=lstat success=no exit=EACCES a0=7efff51a3b49 a1=7fffbfbce4f0 a2=7fffbfbce4f0 a3=0 items=0 ppid=2836 pid=2842 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=3 comm=updatedb exe=/usr/bin/updatedb subj=system_u:system_r:locate_t:s0-s0:c0.c1023 key=(null) > >Hash: updatedb,locate_t,unlabeled_t,dir,getattr > >audit2allow > >#============= locate_t ============== >allow locate_t unlabeled_t:dir getattr; > >audit2allow -R > >#============= locate_t ============== >allow locate_t unlabeled_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 881937
: 654520