[PATCH] yum-cron: use the yum-cron.conf:mdpolicy option

Zdenek Pavlas zpavlas at redhat.com
Mon Aug 19 12:11:43 UTC 2013


> +        self._confparser = confparser
> ...
> +            self.conf.populate(self._confparser, 'base')
> +            del self._confparser

That should work..

> +
>          except Exception, e:
>              # If there are any exceptions, send a message about them,
>              # and return False
>              self.emitSetupFailed('%s' % e)
>              sys.exit(1)
> 
> ...it needs a bit more work to workaround the new debuglevel hack (maybe
> just move that out of [base] ... or allow users to set it to -2 etc. in
> yum?).

I'd just allow -2 so self.conf.populate won't fail..
And we still need the preconf hack, I assume.

>  Has the debuglevel thing shipped in Fedora/RHEL?

Yes, since 3.4.3-101.el7, 3.4.3-103.fc19


More information about the Yum-devel mailing list