Thanks Danek.

As I try to publish packages onto to my depot server that has
proxybase offset..I get a pkgsend error.

Here are the logs:

bash-3.2# eval `pkgsend -s http://opensolaris2.chn99/release/ open
[email protected]`
bash-3.2# pkgsend -s http://opensolaris2.chn99/release/ close
Failed with 404
bash-3.2# date
Mon Mar  2 21:22:10 IST 2009

bash-3.2# !tail
tail -f /var/svc/log/application-pkg-server:default.log
[ Mar  2 21:07:01 Executing start method
("/lib/svc/method/svc-pkg-depot start"). ]
ppriv -s A=basic,-file_link_any,-proc_info,-proc_session,net_privaddr
-e /usr/lib/pkg.depotd -d /var/pkg/repo -p 10000 -s 10 -t 60
--content-root=/usr/share/lib/pkg --log-access=none
--log-errors=stderr
--proxy-base=http://opensolaris2.chn99.sun.com/release/
[02/Mar/2009:21:07:02] INDEX Search Available
[02/Mar/2009:21:07:02] ENGINE Listening for SIGHUP.
[02/Mar/2009:21:07:02] ENGINE Listening for SIGTERM.
[02/Mar/2009:21:07:02] ENGINE Listening for SIGUSR1.
[02/Mar/2009:21:07:02] ENGINE Bus STARTING
[02/Mar/2009:21:07:02] ENGINE Started monitor thread '_TimeoutMonitor'.
[02/Mar/2009:21:07:02] ENGINE Serving on 0.0.0.0:10000
[02/Mar/2009:21:07:02] ENGINE Bus STARTED


However, if i try publishing the packages on my host without changing
the repo_url with '-s' option, everything works fine:

bash-3.2# eval `pkgsend  open [email protected]`
bash-3.2# pkgsend close
PUBLISHED
pkg:/[email protected],5.11:20090302T155556Z

Can you kindly help me here..

thanks,
Ram
On 3/1/09, Danek Duvall <[email protected]> wrote:
> On Sun, Mar 01, 2009 at 05:08:00PM +0530, ramanujan oops wrote:
>
>> <<Question>>
>> While using 'pkg' client, how do I exclude certain authorities from
>> passing
>> through the proxy?
>
> We just filed this RFE:
>
>     6901 granular configuration of http_proxy option
>
> Until that's fixed, you'll need to allow your proxy to proxy internal hosts
> as well as external ones, or be very careful about only dealing with
> proxied authorities separately from unproxied ones.
>
> Danek
>
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to