[Toybox] [PATCH] hostname: fix behavior when in jail.

Ed Maste emaste at freebsd.org
Wed Jan 30 09:13:16 PST 2019


On Sat, 19 Jan 2019 at 14:42, enh via Toybox <toybox at lists.landley.net> wrote:
>
> Only -d and -f should cause a DNS lookup. The rest should just act
> directly on the result of gethostname(3). Encountered with the AOSP
> buildbots' use of nsjail, but tested with both the Debian hostname and
> toybox hostname thus:

Thanks, this also fixes hostname (no args) on FreeBSD for me.



More information about the Toybox mailing list