[Bug 1717752] Re: netaddr should use symlink in /var/lib instead of /usr/share
James Page
james.page at ubuntu.com
Mon Oct 23 13:54:20 UTC 2017
You might like to forward this bug to Debian and/or the python-netaddr
[0] project itself.
[0] https://github.com/drkjam/netaddr/
** Changed in: python-netaddr (Ubuntu)
Status: New => Triaged
** Changed in: python-netaddr (Ubuntu)
Importance: Undecided => Wishlist
** Summary changed:
- netaddr should use symlink in /var/lib instead of /usr/share
+ netaddr should optionally use ieee data in /var/lib instead of /usr/share
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-netaddr in Ubuntu.
https://bugs.launchpad.net/bugs/1717752
Title:
netaddr should optionally use ieee data in /var/lib instead of
/usr/share
Status in python-netaddr package in Ubuntu:
Triaged
Bug description:
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-netaddr/+bug/1717752/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list