Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 443104 - net-libs/gnutls[dane] should pass rootkey-file value used by net-dns/unbound
Summary: net-libs/gnutls[dane] should pass rootkey-file value used by net-dns/unbound
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-14 14:41 UTC by Rafał Mużyło
Modified: 2014-07-06 21:03 UTC (History)
4 users (show)

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


Attachments
build log of gnutls with the warning (net-libs:gnutls-3.1.5:20121208-015633.log,403.66 KB, text/plain)
2012-12-23 00:06 UTC, Rafał Mużyło
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafał Mużyło 2012-11-14 14:41:19 UTC
I'm not sure if /etc/dnssec/root-anchors.txt is the value gnutls asks about, nevertheless right now during configure following warning gets printed

*** The DNSSEC root key file in $unbound_root_key_file was not found.
*** This file is needed for the verification of DNSSEC responses.
*** Use the command: unbound-anchor -a "$unbound_root_key_file"
*** to generate or update it.

Looking at net-dns/unbound ebuild, that's my best guess.
Comment 1 Alon Bar-Lev (RETIRED) gentoo-dev 2012-12-22 22:56:21 UTC
I do not fully understand the description, nor can I reproduce this.

Almost sure it is not gnutls issue...
Comment 2 Rafał Mużyło 2012-12-23 00:06:17 UTC
Created attachment 333090 [details]
build log of gnutls with the warning

:sigh:
My idea of the solution comes from net-dns/unbound ebuild, which passes the mentioned filename as an agument to configure.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2012-12-23 01:34:17 UTC
Please CC crypto if there is an issue unrelated to this package, thanks.
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2012-12-23 01:44:59 UTC
as far as I understand unbound should provide this file.
Comment 5 Rafał Mużyło 2012-12-23 06:31:12 UTC
(In reply to comment #4)
> as far as I understand unbound should provide this file.

AFA*I*U (by reading the ebuild), it does, just under a different name.
A confirmation/rebuttal from net-dns/unbound  maintainer would be welcome.

But if it does and the reason for the name change is valid, it needs to be fixed on gnultls side.
Comment 6 Rafał Mużyło 2014-07-06 08:41:41 UTC
Readding crypto as gnutls 3.3.4 still prints that warning.

Mind, that I can't really tell, if it causes any real problems, as I most likely don't use that 'dane' functionality, but could it be that there's a reason gnutls prints such warning during configure ?

Again, gnutls checks for /etc/unbound/root.key, unbound renames that to /etc/dnssec/root-anchors.txt, so put things in sync, one way or another.

PS: unbound during build complains also about '--with-ldns' as 'unrecognized option', but that's just basic QA for you.
Comment 7 Alon Bar-Lev (RETIRED) gentoo-dev 2014-07-06 21:03:45 UTC
OK, thank you, now I understand. Never used this dane thing.

Fixed in gnutls-3.3.4-r1.