On 8/6/12 3:08 PM, Seth Vidal wrote:
>
>
>
> On Mon, 6 Aug 2012, Mike Bonnet wrote:
>
>> On 8/6/12 2:33 PM, Seth Vidal wrote:
>>> Where should I look to edit the default template for the mock config
>>> that koji uses to run mock?
>>>
>>> I need to set a value in the yum.conf section of the mock config file so
>>> that syslog_device=/dev/null or syslog_device='' so that koji builds
>>> will stop sending yum output to syslog.
>>
>> The template for the mock config is pretty basic, and hard-coded in
>> the Koji source code:
>>
>>
https://fedorahosted.org/koji/browser/koji/__init__.py#L1219
>>
>> When was support for syslog_device= added to mock? Will earlier
>> versions of mock choke on that config entry, or ignore it?
>>
>
> It wasn't added to mock - it was added to yum - in march of 2010.
>
> mock.cfg controls the yum.conf.
Ok, so the same question applies to older versions of yum. Will they ignore
that config entry if they don't recognize it?
yes - just tested on rhel5 and it skips it entirely.
no output or noise
-sv