Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 623252

Summary: net-dns/knot-2.5.2 - pykeymgr requires runtime dev-python/lmdb dependency
Product: Gentoo Linux Reporter: Karl-Johan Karlsson <creideiki+gentoo-bugzilla>
Component: Current packagesAssignee: Pierre-Olivier Mercier <nemunaire>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Karl-Johan Karlsson 2017-07-01 10:52:07 UTC
As of version 2.5, net-dns/knot has changed DNSSEC key database format from JSON to LMDB. They ship a conversion script, "pykeymgr", to manage the transition; see https://www.knot-dns.cz/docs/2.5/html/migration.html#kasp-db-migration

Trying to run pykeymgr from net-dns/knot-2.5.2 results in the following error:

   # pykeymgr -i /var/lib/knot/keys/
   Error: unable to import module LMDB.
   Probably you need to 'pip install lmdb' or so.

Installing dev-python/lmdb makes it work. Please add that as a dependency.
Comment 1 Jonas Stein gentoo-dev 2017-08-02 19:45:44 UTC
confirmed by Pierre-Olivier Mercier
Comment 2 Pierre-Olivier Mercier 2017-08-23 13:24:09 UTC
The dependency was added in net-dns/knot-2.5.3-r1.

See: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=23ea15709bcec6a836430ae59450a9cbeccc569a

Thanks for the report!