misc/129431: freebsd-update fetch fails because phttpget fails
proxy auth
David
datechy+bsd at gmail.com
Thu Dec 4 23:50:02 PST 2008
>Number: 129431
>Category: misc
>Synopsis: freebsd-update fetch fails because phttpget fails proxy auth
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Fri Dec 05 07:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: David
>Release: 7.0-RELEASE-p4
>Organization:
IWR
>Environment:
FreeBSD iwr38.iwr.ru.ac.za 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Tue Sep 2 19:32:35 UTC 2008 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
phhtpget won't interpret an HTTP_PROXY env var that includes auth information
(which';fetch' needs) correctly.
It has to do this because ;fetch; won't fetch without this info, as
trying to use HTTP_PROXY_AUTH instead doesn't work at all with fetch.
>How-To-Repeat:
so with
HTTP_PROXY=http://user:password@proxy.name.com:3128
phttpget (as used by FreeBSD7.0 freebsd-update) will return stuff
like
Fetching 2 metadata patches...
/usr/libexec/phttpget update1.FreeBSD.org 7.0-
RELEASE/i386/tp/8864109089177efeb97a402c2cd78d3103ac04830298ab2cbad19e
46ff2248ea-
1d298c8caa51b44d66b6094ee7ee40aa1a4c0e3a985d4516853317d5bf72e0d1.gz
7.0-
RELEASE/i386/tp/1ab7fdfcc9d634271cd180cc2c5cba28452833afb4e1686f7a5b8d
d2c9b99609-
216d13fca41a3a18fd4c0ab05c0623dce2a877d997feef3059dfff17310535c1.gz
phttpget: host = user, port = password at proxy.name.com:3128: servname
not supported for ai_socktype
done.
and will in fact try to install those patches without reporting an error.
>Fix:
none
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list