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