[Spacewalk-list] rhn_check hangs if no internet access is available

John Hodrien J.H.Hodrien at leeds.ac.uk
Mon Dec 7 09:57:49 UTC 2009


On Fri, 4 Dec 2009, Jonathan Scott wrote:

> Since I pull down everything into local channels and use the
> yum-rhn-plugin, I just drop the following in my /etc/yum.conf during my
> %post:
>
> reposdir=
>
> seems to do the trick, lasts through full system updates/upgrades.
> The .repo files are still there, they get overwritten when I update the
> server, but they're never checked because of that reposdir setting, just
> the rhn-plugin.

Give or take, that's the same as I do, and it works well.  I set it to be
/etc/yum.repos.d/custom, which means dropping a symlink in there enables local
yum usage if I really want it.

jh




More information about the Spacewalk-list mailing list