Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 282565 - net-dns/bind: Wrong location of dnssec-keygen binary
Summary: net-dns/bind: Wrong location of dnssec-keygen binary
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Konstantin Arkhipov (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2009-08-24 13:14 UTC by Marcin Kościelnicki
Modified: 2009-11-12 07:57 UTC (History)
1 user (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 Marcin Kościelnicki 2009-08-24 13:14:58 UTC
The code that removes dnssec-keygen binary to avoid conflict with net-dns/bind-tools wrongly removes it from /usr/bin instead of /usr/sbin where it resides, leading to duplicate dnssec-keygen binary on the system.

Applies to all bind ebuilds currently in the tree. Fix:

--- bind-9.4.3_p2.ebuild        2009-08-24 13:13:07.477465634 +0000
+++ bind-9.4.3_p2.ebuild.new    2009-08-24 13:13:44.085139524 +0000
@@ -187,7 +187,8 @@
        # Let's get rid of those tools and their manpages since they're provided by bind-tools
        rm -f "${D}"/usr/share/man/man1/{dig.1,host.1,nslookup.1,nsupdate.1}
        rm -f "${D}"/usr/share/man/man8/dnssec-keygen.8
-       rm -f "${D}"/usr/bin/{dig,host,nslookup,dnssec-keygen,nsupdate}
+       rm -f "${D}"/usr/bin/{dig,host,nslookup,nsupdate}
+       rm -f "${D}"/usr/sbin/dnssec-keygen
 }
 
 pkg_postinst() {
Comment 1 Tomáš Chvátal (RETIRED) gentoo-dev 2009-11-12 07:57:07 UTC
fixed in 9.6.1.
Thanks for report