Bug 1169349

Summary: vmstat disk device field is not long enough
Product: Red Hat Enterprise Linux 7 Reporter: Martin Frodl <mfrodl>
Component: procps-ngAssignee: Jan Rybar <jrybar>
Status: CLOSED ERRATA QA Contact: Jan Houska <jhouska>
Severity: medium Docs Contact: Lenka Špačková <lkuprova>
Priority: high    
Version: 7.0CC: albert, bnater, cdahlin, gianluca.cecchi, isenfeld, jgorig, ovasik, qe-baseos-apps, rvokal, tumeya, vanhoof
Target Milestone: rcKeywords: Patch, Regression, Upstream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: procps-ng-3.3.10-10.el7 Doc Type: Release Note
Doc Text:
"vmstat -d" is now able to display devices with longer names When a disk statistics report is required, only the first 15 characters of the device name were previously read from the `/proc/diskstats` file. Consequently, devices with names longer than 15 characters were not shown in the output of the "vmstat -d" command. With this update, the formatting string has been changed to read up to 31 characters, and devices with longer names are now correctly displayed by "vmstat -d".
Story Points: ---
Clone Of: 586078 Environment:
Last Closed: 2016-11-04 06:35:55 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 586078    
Bug Blocks: 590060, 596948, 1203710, 1295829, 1313485    
Attachments:
Description Flags
procps-ng-3.3.10-vmstat-devlen.patch
none
Patch putting previous patch to effect none

Comment 2 Jaromír Cápík 2016-01-14 15:53:54 UTC
Created attachment 1114874 [details]
procps-ng-3.3.10-vmstat-devlen.patch

This is a blind forward-port of the procps-3.2.8-vmstat-devlen.patch from RHEL6. There's a small risk of breaking customer apps linked against the libprocps library, if they use disk_stat and partition_stat structures.

Comment 9 Jan Rybar 2016-07-26 13:34:13 UTC
Created attachment 1184275 [details]
Patch putting previous patch to effect

Additional fix to the previous patch (required).

Comment 14 errata-xmlrpc 2016-11-04 06:35:55 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-2447.html