Public bug reported:

netaddr python package uses 2 files oui.txt and iab.txt to make mac
address look up and others.

However, the files

/usr/lib/python2.7/dist-packages/netaddr/eui/iab.txt
/usr/lib/python2.7/dist-packages/netaddr/eui/oui.txt

are symlinks to, respectively,
/usr/share/ieee-data/iab.txt
/usr/share/ieee-data/oui.txt

from the package ieee-data.

But if you update the files with update-ieee-data, the updated files
lies in /var/lib/ieee-data and not in /usr/share/ieee-data

So the python package will continue to use the old ones.

The fix is simple. Use symlink towards
/var/lib/ieee-data/iab.txt
/var/lib/ieee-data/oui.txt
respectively instead

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: python-netaddr 0.7.18-2
ProcVersionSignature: Ubuntu 4.10.0-33.37-generic 4.10.17
Uname: Linux 4.10.0-33-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.4-0ubuntu4.5
Architecture: amd64
CurrentDesktop: Unity:Unity7
Date: Sun Sep 17 09:48:33 2017
InstallationDate: Installed on 2016-05-22 (482 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
PackageArchitecture: all
SourcePackage: python-netaddr
UpgradeStatus: Upgraded to zesty on 2017-04-14 (155 days ago)

** Affects: python-netaddr (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug zesty

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1717752

Title:
  netaddr should use symlink in /var/lib instead of /usr/share

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-netaddr/+bug/1717752/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to