Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   koji and mock configs (http://www.linux-archive.org/fedora-build-system/691281-koji-mock-configs.html)

Seth Vidal 08-06-2012 09:33 PM

koji and mock configs
 
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.


Thanks,
-sv


--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Mike Bonnet 08-06-2012 10:04 PM

koji and mock configs
 
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?



--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Seth Vidal 08-06-2012 10:08 PM

koji and mock configs
 
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.

-sv


--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Mike Bonnet 08-07-2012 12:13 AM

koji and mock configs
 
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?


--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys

Seth Vidal 08-07-2012 03:08 AM

koji and mock configs
 
On Mon, 6 Aug 2012, Mike Bonnet wrote:


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

--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


All times are GMT. The time now is 12:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.