[Bug 225344] fetch(1) awaits EOF (or ftp credentials) even when they are provided in env vars

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Jan 23 20:52:41 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225344

--- Comment #2 from Conrad Meyer <cem at 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.

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


More information about the freebsd-bugs mailing list