Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 440464 - net-dns/dnssec-tools-1.14: some elog messages should only be shown for the first install.
Summary: net-dns/dnssec-tools-1.14: some elog messages should only be shown for the fi...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
Depends on:
Blocks: first-time-messages
  Show dependency tree
Reported: 2012-10-31 10:58 UTC by poletti.marco
Modified: 2014-11-06 20:38 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description poletti.marco 2012-10-31 10:58:59 UTC
Disclaimer: this bug has been filed in a semi-automated manner.

When emerging the package net-dns/dnssec-tools-1.14, the following elog messages are displayed:

 * Please run 'dtinitconf' in order to set up the required
 * /etc/dnssec-tools/dnssec-tools.conf file
 * DNSSEC Validator has been split into net-dns/dnsval

Such messages should only be displayed when the package is a new install.
These situations can be checked in the ebuild as follows:

if ! has_version 'net-dns/dnssec-tools'; then

See the tracker bug 440214 for more details.
Comment 1 Michael Weber (RETIRED) gentoo-dev 2012-10-31 17:05:34 UTC
This doesn't test for previously installed, configured, but removed versions with remaining config files.
Comment 2 poletti.marco 2012-10-31 17:09:05 UTC
? I don't understand your comment, sorry.
Comment 3 poletti.marco 2012-10-31 21:15:16 UTC
@ Michael Weber:
You posted a comment related to this bug in the tracker bug. I reply here so that I don't spam the tracker bug.

> It would make sense to test, if the config file is missing.
> An `! has_version net-dns/dnssec-tools` does not test for the presence or
> absence of an config-file, just if it was presently installed. So you test
> is wrong.

I know that the test does not check for the config file.

My suggestion was to no longer display the warning after the first install, assuming that the config file was already set up.
However, if it's possible to check for the config file itself as you mentioned, that would be a better check IMHO.
Comment 4 Michael Weber (RETIRED) gentoo-dev 2014-11-06 20:38:28 UTC
+*dnssec-tools-2.1 (06 Nov 2014)
+  06 Nov 2014; Michael Weber <> +dnssec-tools-2.1.ebuild:
+  Fix elog message and switch to readme.gentoo (thanks Paul Tobias, bug 515206)