Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 505516 - mail-filter/opendkim-2.8.4 USE=unbound - opendkim: /etc/opendkim/opendkim.conf: configuration error at line 20: unrecognized parameter
Summary: mail-filter/opendkim-2.8.4 USE=unbound - opendkim: /etc/opendkim/opendkim.con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 00:55 UTC by Stuart Shelton
Modified: 2014-04-15 06:40 UTC (History)
0 users

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 Stuart Shelton 2014-03-24 00:55:57 UTC
# grep -R Trust mail-filter/opendkim/
mail-filter/opendkim/opendkim-2.9.1.ebuild: echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
mail-filter/opendkim/opendkim-2.8.4.ebuild: echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
mail-filter/opendkim/opendkim-2.8.3.ebuild: echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf
mail-filter/opendkim/opendkim-2.9.0.ebuild: echo TrustedAnchorFile /etc/dnssec/root-anchors.txt >> "${D}"/etc/opendkim/opendkim.conf

# /etc/init.d/opendkim start
 * Caching service dependencies ... [ ok ]
 * Starting OpenDKIM ...
opendkim: /etc/opendkim/opendkim.conf: configuration error at line 20: unrecognized parameter
 * start-stop-daemon: failed to start `/usr/sbin/opendkim' [ !! ]
 * ERROR: opendkim failed to start

I'd rearranged the opendkim.conf file by this time, but line 20 read:

TrustedAnchorFile /etc/dnssec/root-anchors.txt

... however, the man page from v2.8.4 states:

  TrustAnchorFile (string)
    Specifies a file from which trust anchor data should be read when doing DNS queries and applying the DNSSEC protocol.
    This is currently ignored unless the underlying library is compiled to use Unbound;
    see the  documentation  at at [sic] http://unbound.net for the expected format of this file.

... and indeed, removing the 'ed' and so changing 'TrustedAnchorFile' to 'TrustAnchorFile' allows opendkim to start.
Comment 1 Eray Aslan gentoo-dev 2014-04-15 06:40:44 UTC
Fixed in CVS.  Thanks for the report.