FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 08-06-2012, 09:33 PM
Seth Vidal
 
Default 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
 
Old 08-06-2012, 10:04 PM
Mike Bonnet
 
Default 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
 
Old 08-06-2012, 10:08 PM
Seth Vidal
 
Default 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
 
Old 08-07-2012, 12:13 AM
Mike Bonnet
 
Default 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
 
Old 08-07-2012, 03:08 AM
Seth Vidal
 
Default 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
 

Thread Tools




All times are GMT. The time now is 11:17 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org