Bug 1321086

Summary: man page for avcstat still contains old path to SELinux fs
Product: Red Hat Enterprise Linux 7 Reporter: Milos Malik <mmalik>
Component: libselinuxAssignee: Petr Lautrbach <plautrba>
Status: CLOSED ERRATA QA Contact: Milos Malik <mmalik>
Severity: low Docs Contact:
Priority: low    
Version: 7.3CC: dwalsh, lvrabec, mgrepl, mmalik, plautrba, ssekidde
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libselinux-2.5-3.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 02:12:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milos Malik 2016-03-24 15:57:41 UTC
Description of problem:
 * the output of "avcstat --help" mentions the correct path to SELinux fs, but the man page contains an incorrect path

Version-Release number of selected component (if applicable):
libselinux-utils-2.5-2.el7.x86_64

How reproducible:
always

Steps to Reproduce:
# strace avcstat 2>&1 | grep open
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libselinux.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libpcre.so.1", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
open("/lib64/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
open("/sys/fs/selinux/avc/cache_stats", O_RDONLY) = 3
# man avcstat | col -b | grep cache_stats
	      /selinux/avc/cache_stats.
#

Actual results:
 * the man page still contains the old path to SELinux fs (which was used in RHEL-6)

Expected results:
 * the man page contains the new path to SELinux fs

Comment 1 Daniel Walsh 2016-03-25 13:38:12 UTC
Opened up pull requests in fedora and upstream

https://github.com/SELinuxProject/selinux/pull/12
https://github.com/fedora-selinux/selinux/pull/22

Comment 2 Petr Lautrbach 2016-03-25 15:38:34 UTC
Thanks!

Comment 3 Petr Lautrbach 2016-04-10 18:42:08 UTC
Note: it's fixed in libselinux-2.5-3.fc24

Comment 7 errata-xmlrpc 2016-11-04 02:12:18 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2276.html