hostname executable overwritten
package
a> util-linux --> /bin/hostname
later arrives
n> net-tools --> /bin/hostname
net-tools , overwrite the hostname executable by util-linux.
and of course , the symlinks
dnsdomainname
ypdomainname
nisdomainname
I know is not abig issue , but thinking arround , if some problem or security issue discover on hastname , and patch , the works do nothing , if later arrives net-tools overwriten the executable.
Thanks.
EDIT: I found archlinux remove some of executables on net-tools because provided by other packages
# the following is provided by yp-tools
rm "${pkgdir}"/usr/bin/{nis,yp}domainname
rm "${pkgdir}"/usr/share/man/man1/{nis,yp}domainname.1
# hostname is provided by inetutils
rm "${pkgdir}"/usr/bin/{hostname,dnsdomainname,domainname}
rm -rf "${pkgdir}"/usr/share/man/man1
in slackware case hostname arrives by util-linux , most development than net-tools (abandoned ? )
Last edited by USUARIONUEVO; 03-28-2016 at 06:56 PM.
|