Package: python-netaddr Version: 0.7.18-2 Severity: wishlist User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu artful
Dear Maintainer, This seems like a nice feature to have in python-netaddr, however it probably needs some careful consideration to have netaddr optionally load an index from /var/lib/ieee-data/* if /usr/bin/update-ieee-data is enabled on a deployment -- *** /tmp/forwarded-from-ubuntu-m3ZA61.txt This bug report was also filed in Ubuntu and can be found at http://launchpad.net/bugs/1717752 The description, from zebul666, follows: 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) -- System Information: Debian Release: stretch/sid APT prefers artful APT policy: (500, 'artful') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.13.0-15-generic (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)