Bug 1321086 - man page for avcstat still contains old path to SELinux fs
Summary: man page for avcstat still contains old path to SELinux fs
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libselinux
Version: 7.3
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Petr Lautrbach
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-24 15:57 UTC by Milos Malik
Modified: 2016-11-04 02:12 UTC (History)
6 users (show)

Fixed In Version: libselinux-2.5-3.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 02:12:18 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2276 0 normal SHIPPED_LIVE libselinux bug fix and enhancement update 2016-11-03 13:35:22 UTC

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


Note You need to log in before you can comment on or make changes to this bug.