ufw crashed with IOError in get_ip_from_if(): [Errno 19] No such device

Bug #840500 reported by Felix Geyer
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ufw (Ubuntu)
Fix Released
Low
Jamie Strandboge

Bug Description

"ufw show listening" fails when there are ufw rules for network interfaces that don't exist when it is run.
For example I have a rule for a VirtualBox network interface which is only created when the first VM is started.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: ufw 0.30.1-2ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-9.15-generic 3.0.3
Uname: Linux 3.0.0-9-generic x86_64
Architecture: amd64
Date: Sat Sep 3 19:26:41 2011
ExecutablePath: /usr/sbin/ufw
InterpreterPath: /usr/bin/python2.7
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/ufw show listening
ProcEnviron:
 LANGUAGE=
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 LC_TIME=de_DE.UTF-8
 SHELL=/bin/zsh
PythonArgs: ['/usr/sbin/ufw', 'show', 'listening']
SourcePackage: ufw
Title: ufw crashed with IOError in get_ip_from_if(): [Errno 19] No such device
UpgradeStatus: Upgraded to oneiric on 2011-08-15 (19 days ago)
UserGroups:

Related branches

Revision history for this message
Felix Geyer (debfx) wrote :
visibility: private → public
tags: removed: need-duplicate-check
Changed in ufw (Ubuntu):
assignee: nobody → Jamie Strandboge (jdstrand)
importance: Undecided → Low
status: New → Triaged
Changed in ufw (Ubuntu):
status: Triaged → In Progress
Revision history for this message
Jamie Strandboge (jdstrand) wrote :

The fix for this is now in trunk and will be part of the next ufw upload.

Changed in ufw (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ufw - 0.31-0ubuntu1

---------------
ufw (0.31-0ubuntu1) precise; urgency=low

  * New upstream release which fixes:
    - LP: #921758
    - LP: #946332
    - LP: #947224
    - LP: #947416
    - LP: #611838
    - LP: #663632
    - LP: #840500
  * debian/control: use ufw-0.31-precise for Vcs-Bzr
  * debian/po/nl.po: add Dutch translation of debconf templates. Thanks to
    Jeroen Schot (Closes: 658495)
 -- Jamie Strandboge <email address hidden> Fri, 09 Mar 2012 13:23:36 -0600

Changed in ufw (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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