Red Hat Bugzilla – Bug 846699
nfsiostat - two binaries with the same name
Last modified: 2016-11-03 23:47:15 EDT
I'm not sure if this component or nfs-utils will have to solve this, so feel free to re-assign. Description of problem: Curently we have two utilities with the same name on RHEL-7 systems: /usr/bin/nfsiostat from sysstat package and /sbin/nfsiostat from nfs-utils package. When running "nfsiostat" as root, we are running different utility than regular user, which is confusing. Also man nfsiostat points to one from sysstat package. What can we do about this? Thanks. Version-Release number of selected component (if applicable): sysstat-10.0.3-2.el7 nfs-utils-1.2.6-0.el7
We agreed with Steve to address this issue in nfs-utils package.
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.
The comment above is incorrect. The correct version is bellow. I'm sorry for any inconvenience. --------------------------------------------------------------- This request was NOT resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you need to escalate this bug.
This also affects nfsometer, which is also shipped in rhel7. nfsometer expects the nfsiostat output format to match that of the nfs-utils version of the command, not the sysstat version of the command. As a result, nfsometer will log errors like this: nfsometer_trace-cthon-redhat-82.nfsv4bat.org-1433341725.03/: More than one NFS mount found, this will skew global stats like nfsstats nfsometer_trace-cthon-redhat-82.nfsv4bat.org-1433341665.4/: More than one NFS mount found, this will skew global stats like nfsstats nfsometer_trace-cthon-redhat-82.nfsv4bat.org-1433341695.29/: More than one NFS mount found, this will skew global stats like nfsstats and the throughput stats (Read KB/s, Write KB/s, Read Operations/s, Write operations/s, Read Average KB per Operation, Write Average KB per Operation, Read Average RTT, Write Average RTT) will be completely missing from the report.
(In reply to Branislav Náter from comment #0) > I'm not sure if this component or nfs-utils will have to solve this, so feel > free to re-assign. > > Description of problem: > Curently we have two utilities with the same name on RHEL-7 systems: > > /usr/bin/nfsiostat from sysstat package and > /sbin/nfsiostat from nfs-utils package. > > When running "nfsiostat" as root, we are running different utility than > regular user, which is confusing. Also man nfsiostat points to one from > sysstat package. > > What can we do about this? Thanks. > > Version-Release number of selected component (if applicable): > sysstat-10.0.3-2.el7 > nfs-utils-1.2.6-0.el7 Looking at the upstream version (f23) of sysstat it seemes they have changed the name of nfsiostat to nfsiostat-sysstat. See sysstat-11.1.5-1.fc23
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-2327.html