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 655491 Details for
Bug 882486
SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the directory /var/lib/nfs/rpc_pipefs.
[?]
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.00 KB, created by
Frank Murphy
on 2012-12-01 10:39:18 UTC
(
hide
)
Description:
File: description
Filename:
MIME Type:
Creator:
Frank Murphy
Created:
2012-12-01 10:39:18 UTC
Size:
4.00 KB
patch
obsolete
>SELinux is preventing /usr/bin/updatedb from 'getattr' accesses on the directory /var/lib/nfs/rpc_pipefs. > >***** 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 updatedb to have getattr access on the rpc_pipefs directory >Then you need to change the label on /var/lib/nfs/rpc_pipefs >Do ># semanage fcontext -a -t FILE_TYPE '/var/lib/nfs/rpc_pipefs' >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/lib/nfs/rpc_pipefs' > > >***** Plugin catchall (5.04 confidence) suggests *************************** > >If you believe that updatedb should be allowed getattr access on the rpc_pipefs 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:file_t:s0 >Target Objects /var/lib/nfs/rpc_pipefs [ dir ] >Source updatedb >Source Path /usr/bin/updatedb >Port <Unknown> >Host (removed) >Source RPM Packages mlocate-0.26-1.fc18.i686 >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.i686 #1 SMP Tue Nov > 20 20:03:18 UTC 2012 i686 i686 >Alert Count 1 >First Seen 2012-12-01 03:33:27 GMT >Last Seen 2012-12-01 03:33:27 GMT >Local ID fe6ee004-a9aa-42f5-bcb7-432c098d92b3 > >Raw Audit Messages >type=AVC msg=audit(1354332807.366:109): avc: denied { getattr } for pid=533 comm="updatedb" path="/var/lib/nfs/rpc_pipefs" dev="dm-3" ino=54611 scontext=system_u:system_r:locate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:file_t:s0 tclass=dir > > >type=SYSCALL msg=audit(1354332807.366:109): arch=i386 syscall=lstat64 success=no exit=EACCES a0=b93d2809 a1=bff27e4c a2=b7787000 a3=bff27fdc items=0 ppid=526 pid=533 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=10 comm=updatedb exe=/usr/bin/updatedb subj=system_u:system_r:locate_t:s0-s0:c0.c1023 key=(null) > >Hash: updatedb,locate_t,file_t,dir,getattr > >audit2allow > >#============= locate_t ============== >allow locate_t file_t:dir getattr; > >audit2allow -R > >#============= locate_t ============== >allow locate_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 882486
: 655491