iotop is broken in edge
kitten:~# iotop
Traceback (most recent call last):
File “/usr/sbin/iotop”, line 10, in
from iotop.ui import main
File “/usr/lib/python2.7/site-packages/iotop/ui.py”, line 33, in
from iotop.data import find_uids, TaskStatsNetlink, ProcessList,
Stats
File “/usr/lib/python2.7/site-packages/iotop/data.py”, line 58, in
from iotop.netlink import Connection, NETLINK_GENERIC, U32Attr,
NLM_F_REQUEST
File “/usr/lib/python2.7/site-packages/iotop/netlink.py”, line 15, in
_dummysock = socket.socket(socket.AF_NETLINK, socket.SOCK_RAW, 0)
AttributeError: ‘module’ object has no attribute ‘AF_NETLINK’
(from redmine: issue id 4451, created on 2015-07-16, closed on 2017-04-07)
- Changesets:
- Revision aa2844ca on 2015-09-17T07:43:35Z:
main/python: depend on linux-headers
Without installing linux-headers a bunch of linux specific features are
disabled during compile time. An example of this is netlink(7) support.
With this commit netlink and (possibly) other features are detected and
enabled at compile time correctly.
fixes #4451