hostname -s fails on resolver problems / inconsitent with debian
Linux networking base tools
Brought to you by:
eckes
hostname -s behaves different in the debian version (no lookup) and in the master branch. If we change -s to return only the first name segment of gethostname() then there will be a problem to decompose -f in -s and -d (maybe allow -fs for old sematic?).
The man page is actually supporting the debian interpretation.
Fixed with https://sourceforge.net/p/net-tools/code/ci/452f8e2e9087cc064afc71d38df61300557a7fb2/ by Mike.