[Spacewalk-list] Problem retrieving data behind proxy with spacewalk-repo-sync

Waldirio Manhães Pinheiro waldirio at gmail.com
Mon Dec 1 01:04:51 UTC 2014


MIchael

Works fine., thanks for your help.

B'Regards

______________
Atenciosamente
Waldirio
msn: waldirio at gmail.com
Skype: waldirio
Site: www.waldirio.com.br
Blog: blog.waldirio.com.br
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html

On Fri, Nov 28, 2014 at 10:03 AM, Waldirio Manhães Pinheiro <
waldirio at gmail.com> wrote:

> Hello Michael
>
> Thanks for your reply, I'll check in our env and reply asap.
>
> Thanks again.
>
> Have a great day!
>
> ______________
> Atenciosamente
> Waldirio
> msn: waldirio at gmail.com
> Skype: waldirio
> Site: www.waldirio.com.br
> Blog: blog.waldirio.com.br
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html
>
> On Fri, Nov 28, 2014 at 5:37 AM, Michael Mraka <michael.mraka at redhat.com>
> wrote:
>
>> Waldirio Manhães Pinheiro wrote:
>> % Hello friends, good morning
>> %
>> % Do you have problem when syncing packages from external proxy, but
>> behind a
>> % proxy with squid (port 3128) ?!
>> %
>> % I just configure the /etc/rhn/rhn.conf setting proxy parameter, btw the
>> % parameter in this file is not replicated or "affected" in
>> % spacewalk-repo-sync script.
>> %
>> % I believe the spacewalk-repo-sync use by default http port (80), but in
>> my
>> % environment, the http default port is blocked, only with access in port
>> % 3128.
>> %
>> % Is it possible configure the script to collect proxy info from default
>> % conf. file ?! (/etc/rhn/rhn.conf) ?! Or do you recommend a workaround to
>> % fix this issue ?!?!
>>
>> # man spacewalk-repo-sync
>> ...
>>        Additional configuration options for yum_src plugin can be
>> placed  in
>>        /etc/rhn/spacewalk-repo-sync/yum.conf.  You  may configure
>> per-channel
>>        options as documented in yum.conf(5) manual page.
>>        Don't forget to put [main] section there.
>> ...
>> # man yum.conf
>> ...
>>        proxy     URL to the proxy server that yum should use.  Set  this
>> to
>>                  `libproxy' to enable proxy auto configuration via
>> libproxy.
>>                  Defaults to direct connection.
>>
>>        proxy_username    username to use for proxy
>>
>>        proxy_password    password for this proxy
>> ...
>> # cat >> /etc/rhn/spacewalk-repo-sync/yum.conf <<EOF
>> [main]
>> proxy=your.proxy.fqdn:3128
>> EOF
>>
>>
>>
>> Regards,
>>
>> --
>> Michael Mráka
>> Satellite Engineering, Red Hat
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20141130/68c1eb9e/attachment.htm>


More information about the Spacewalk-list mailing list