[Slackbuilds-users] Fix for iotop issue with 4.4.144 kernel

Jason Graham jgraham at compukix.net
Sun Aug 19 04:34:07 UTC 2018


Hi,

iotop is broken with the latest Slackware kernel. I've included the
maintainer here, but also posting the note and a patch for the iotop
SlackBuild to the list for further review.

A few comments regarding the issue and patch: Recent kernels, including
Slackware's 4.4.144 kernel, have introduced at least one blank line in
/proc/<pid>/status which breaks the parse_proc_pid_status() function in
iotop/data.py. The added patch fix-proc-status-read.patch updates this
function to skip empty lines.

Additional reports of this issue can be found here: 

    [1] https://bugzilla.redhat.com/show_bug.cgi?id=1584612 
    [2]
https://unix.stackexchange.com/questions/446624/error-with-command-iotop-on-centos 

    [3] https://bugs.launchpad.net/pkg-website/+bug/1773383

The fix is based on the report in [2].

Best,
Jason

-- 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-for-iotop-issue-with-4.4.144-kernel.patch
Type: text/x-patch
Size: 2252 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20180819/72f012fd/attachment-0001.bin>


More information about the SlackBuilds-users mailing list