Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 20:52:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225344] fetch(1) awaits EOF (or ftp credentials) even when they are provided in env vars
Message-ID:  <bug-225344-8-3jQXHVvQko@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-225344-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-225344-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225344

--- Comment #2 from Conrad Meyer <cem@freebsd.org> ---
Part of the problem is that the environment variables aren't detected until=
 the
library, while the interactive authentication is done from the binary.  So
there is a layering violation needed to determine to use the environment
variables without prompting.

I'd suggest moving the interactive authentication code into the library
instead, and predicating it on the necessary environment variables not being
set.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225344-8-3jQXHVvQko>