Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 623252 - net-dns/knot-2.5.2 - pykeymgr requires runtime dev-python/lmdb dependency
Summary: net-dns/knot-2.5.2 - pykeymgr requires runtime dev-python/lmdb dependency
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Pierre-Olivier Mercier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-01 10:52 UTC by Karl-Johan Karlsson
Modified: 2017-08-23 13:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!