[Pkg-dns-devel] Bug#888999: unbound-anchor: please move unbound-anchor from /usr/sbin to /usr/bin
Daniel Kahn Gillmor
dkg at fifthhorseman.net
Thu Feb 1 03:12:59 UTC 2018
Package: unbound-anchor
Version: 1.6.7-1
Severity: wishlist
the dns-root-data package's debian/rules uses unbound-anchor in its
get_orig_source target. It currently specifies the path explicitly,
because it shouldn't need to be run as root.
This is a classic example of a program that doesn't need to be run as
root living in /usr/sbin when it should live in /usr/bin. Let's let
people rely on their standard $PATH without making brittle scripts.
I'm fine with shipping a symlink from /usr/sbin/unbound-anchor so that
we don't break existing brittle scripts, but we shouldn't encourage
creation of more brittle scripts in the first place.
--dkg
-- System Information:
Debian Release: buster/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (500, 'oldstable'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.14.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages unbound-anchor depends on:
ii libc6 2.26-4
ii libexpat1 2.2.5-3
ii libssl1.1 1.1.0g-2
ii libunbound2 1.6.7-1
unbound-anchor recommends no packages.
unbound-anchor suggests no packages.
-- no debconf information
More information about the pkg-dns-devel
mailing list