nethogs needs to be updated to 0.8.1 on kernel 4.3.3-2+

Bug #1531847 reported by PeterPablo
66
This bug affects 16 people
Affects Status Importance Assigned to Milestone
Raspbian
Confirmed
Undecided
Unassigned
nethogs (Debian)
Fix Released
Unknown
nethogs (Fedora)
Fix Released
High
nethogs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I updated my Raspberry Pi B using sudo BRANCH=next rpi-update to Linux rpi 4.4.0-rc7+ #831 PREEMPT Mon Dec 28 19:09:59 GMT 2015 armv6l GNU/Linux.

Nethogs fails to start:

root@rpi:~# nethogs eth0
creating socket failed while establishing local IP - are you root?
nethogs -V
 version 0.8.0

Debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=808433
Related bug report:
https://bugzilla.redhat.com/show_bug.cgi?id=1294363

According to https://<email address hidden>/msg1380919.html, version 0.8.1 (https://github.com/raboof/nethogs/releases/tag/v0.8.1) fixes the issue. Could somebody please ping the proper person handling the raspbian apt repository and close this report? Thank you!

Tags: trusty
Revision history for this message
In , srakitnican (srakitnican-redhat-bugs) wrote :

Description of problem:

$ sudo nethogs enp4s0
creating socket failed while establishing local IP - are you root?

Version-Release number of selected component (if applicable):
kernel-4.2.8-300.fc23.x86_64
nethogs-0.8.0-10.fc23.x86_64

How reproducible: Always

Steps to Reproduce:
1.
2.
3.

Actual results: nethogs doesn't start

Expected results:

Additional info: Possible related issue and fix: https://<email address hidden>/msg1380676.html

Seems like it's fixed in nethogs version 0.8.1

Revision history for this message
In , Anderson (anderson-redhat-bugs) wrote :

Thanks for the heads up. I just contacted upstream because I didn't even know 0.8.1 was out since their main web site hasn't been updated in years.

It seems 0.8.2 maybe coming out very soon as per: https://github.com/raboof/nethogs

So, I may just package that up...

Revision history for this message
In , Anderson (anderson-redhat-bugs) wrote :

never mind on 0.8.2, I will package up 0.8.1

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.1-1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a18ee78ca9

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.1-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-008e3ee033

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-1.20160101snap.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-8c0609023e

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-1.20160101snap.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-95ea41d759

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-1.20160101snap.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-95ea41d759

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-1.20160101snap.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-8c0609023e

PeterPablo (peter-ploss)
description: updated
description: updated
Revision history for this message
In , Clodoaldo (clodoaldo-redhat-bugs) wrote :

Why not Fedora 22?

Revision history for this message
In , Anderson (anderson-redhat-bugs) wrote :

(In reply to Clodoaldo Pinto Neto from comment #9)
> Why not Fedora 22?

Is it broken in Fedora 22? I don't have any F22 install to test it on. If it is, I can build for it.

Revision history for this message
In , Clodoaldo (clodoaldo-redhat-bugs) wrote :

Yes it is broken in 22. 0.8.2 works when built from source.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-1.20160101snap.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-687fddd5ea

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-1.20160101snap.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-1.20160101snap.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-687fddd5ea

Revision history for this message
In , Clodoaldo (clodoaldo-redhat-bugs) wrote :

The new 0.8.2 Fedora 22 package works for me.

Revision history for this message
Diederik (didi-debian) wrote :

The best chance of achieving that is making sure that the Debian bug gets fixed and possibly even in Jessie as it then (normally) trickles down into Raspbian.
Normally getting a new version into Jessie is a no-go, but at least 1 person reported it stopped working in Debian Jessie, so there may be a chance (or another solution).

summary: - nethogs needs to be updated to 0.8.1
+ nethogs needs to be updated to 0.8.1 on kernel 4.3.3-2+
Changed in raspbian:
status: New → Confirmed
Revision history for this message
Diederik (didi-debian) wrote :

Changed the status to Confirmed as several ppl in the upstream bug reported it too.

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-2.20160101snap.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-9f9e3a8229

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-2.20160101snap.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-75915b8111

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-1.20160101snap.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Changed in nethogs (Debian):
status: Unknown → New
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-2.20160101snap.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-75915b8111

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-2.20160101snap.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-9f9e3a8229

Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-2.20160101snap.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in nethogs (Ubuntu):
status: New → Confirmed
Changed in nethogs (Debian):
status: New → Confirmed
Revision history for this message
In , Fedora (fedora-redhat-bugs) wrote :

nethogs-0.8.2-2.20160101snap.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.

Changed in nethogs (Debian):
status: Confirmed → Fix Released
Revision history for this message
Mirzet Kadic (caracal-enl) wrote :

I hope you can add this version to 16.04 or we will have a LTS w/o nethogs....

Revision history for this message
Erik Nasaroff (erik-nasaroff) wrote :

Package has been updated in Ubuntu 16.04. It is working now.

Changed in nethogs (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
TomaszChmielewski (mangoo-wpkg) wrote :

Interestingly, nethogs 0.8.0 works for me with 64 bit Ubuntu 14.04 running "3.13.0-77-generic #121-Ubuntu" kernel, however, fails to start on Ubuntu 14.04 running "3.13.0-86-generic #130-Ubuntu" kernel (64 bit).

# nethogs eth0
creating socket failed while establishing local IP - are you root?

Revision history for this message
Amr Ibrahim (amribrahim1987) wrote :

Please, this needs to be fixed in Trusty 14.04.5 w/ Xenial HWE stack.

tags: added: trusty
Revision history for this message
Andy Brody (abrody) wrote :

Hi folks,

This seems like a good candidate for an SRU for Trusty: nethogs is completely broken by this bug because it crashes at startup.

Attached is a debdiff with a no-change backport from Xenial (nethogs 0.8.1-0.3) to Trusty (currently nethogs 0.8.0-1).

I've tested that the backport solves this bug. I tested both kernels available on Trusty: the original linux-image-generic (3.13.0-121) and the linux-image-generic-lts-xenial (4.4.0-83) are both affected by the bug and fixed by the update to nethogs 0.8.1.

You can also find the backported package in my PPA:
https://launchpad.net/~abrody/+archive/ubuntu/ppa/+packages?field.name_filter=nethogs&field.status_filter=published&field.series_filter=trusty

I don't really know what I'm doing with the debdiff, so please let me know if I can make corrections. It seems like the UDD import for nethogs has been failing for quite some time: http://package-import.ubuntu.com/status/nethogs.html#2016-02-22 20:07:41.198487

I did test that the debdiff applies cleanly:

$ pull-lp-source nethogs trusty
$ pull-lp-source -d nethogs xenial
$ cd nethogs-0.8.0
$ quilt pop -a
$ patch -p1 < ../trusty-backport.debdiff
$ debuild -S

[Regression potential]

Since the package is already entirely nonfunctional in trusty (as far as I can tell) the regression potential seems low. The updated version also has had a long time to be tested in Xenial, and this same upstream version is available in Debian Jessie backports.

Changed in nethogs (Fedora):
importance: Unknown → High
status: Unknown → Fix Released
Revision history for this message
Pander (pander) wrote :

Is this still an issue for Raspbian? Otherwise, please update the status of this issue.

Revision history for this message
Diederik (didi-debian) wrote :

It is for Raspbian Jessie as the Jessie version never got updated, but it is fixed in Stretch.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.