mock 1.0.5 failure

Jeroen van Meeuwen kanarip at kanarip.com
Sat Mar 6 16:58:27 UTC 2010


On 03/06/2010 03:49 PM, Till Maas wrote:
> On Sat, Mar 06, 2010 at 03:16:44PM +0100, Jeroen van Meeuwen wrote:
> 
>> Has the fixed broken builds on EL5? Should any changes be applied on the
>> consuming edge, and if yes, why was this released to a stable Fedora
>> branch??
> 
> You need to merge the new EPEL mock config, it contains some extra
> option to fix this:
> config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s -d
> %(home)s -n %(user)s'
> 

The builds I'm talking about are executed through Koji; The only thing I
can find is that /etc/mock/site-defaults.cfg has:

# config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s
-d %(home)s -n %(user)s' # Fedora/RedHat

whereas /etc/mock/site-defaults.cfg.rpmnew has:

# config_opts['useradd'] = '/usr/sbin/useradd -m -u %(uid)s -g %(gid)s
-d %(home)s -N %(user)s' # Fedora/RedHat

So I suppose the default changed and is used for EL-5 builds.

Given that my Fedora builders build EL-5 packages as well, how would I
fix this? In Koji or in mock?

-- Jeroen


More information about the buildsys mailing list