mock 1.0.5 failure

Jeroen van Meeuwen kanarip at kanarip.com
Sat Mar 6 14:16:44 UTC 2010


>From the mock-1.0.5 RPM changelog, I read:

==
* Wed Feb 17 2010 Clark Williams <williams at redhat.com>- 1.0.5-1
- from Jesse Keating <jkeating at redhat.com>:
    - fixed 'useradd' option conflict with EPEL (-N vs -n)
    - added Fedora 13 configs
==

>From the build logs of an Enterprise Linux 5 build (executed on a Fedora
12 koji build host) I read:

==
DEBUG util.py:280:  Executing command: /usr/sbin/useradd -o -m -u 490 -g
490 -d /builddir -N mockbuild
DEBUG util.py:256:  /usr/sbin/useradd: invalid option -- N
DEBUG util.py:256:  Usage: useradd [options] LOGIN
DEBUG util.py:256:  Options:
DEBUG util.py:256:    -b, --base-dir BASE_DIR	base directory for the new
user account
DEBUG util.py:256:  				home directory
DEBUG util.py:256:    -c, --comment COMMENT		set the GECOS field for the
new user account
DEBUG util.py:256:    -d, --home-dir HOME_DIR	home directory for the new
user account
DEBUG util.py:256:    -D, --defaults		print or save modified default useradd
DEBUG util.py:256:  				configuration
DEBUG util.py:256:    -e, --expiredate EXPIRE_DATE	set account
expiration date to EXPIRE_DATE
DEBUG util.py:256:    -f, --inactive INACTIVE	set password inactive
after expiration
DEBUG util.py:256:  				to INACTIVE
DEBUG util.py:256:    -g, --gid GROUP		force use GROUP for the new user
account
DEBUG util.py:256:    -G, --groups GROUPS		list of supplementary groups
for the new
DEBUG util.py:256:  				user account
DEBUG util.py:256:    -h, --help			display this help message and exit
DEBUG util.py:256:    -k, --skel SKEL_DIR		specify an alternative skel
directory
DEBUG util.py:256:    -K, --key KEY=VALUE		overrides /etc/login.defs
defaults
DEBUG util.py:256:    -m, --create-home		create home directory for the
new user
DEBUG util.py:256:  				account
DEBUG util.py:256:    -l,                       do not add user to
lastlog database file
DEBUG util.py:256:    -M,                       do not create user's
home directory(overrides /etc/login.defs)
DEBUG util.py:256:    -r,                       create system account
DEBUG util.py:256:    -o, --non-unique		allow create user with duplicate
DEBUG util.py:256:  				(non-unique) UID
DEBUG util.py:256:    -p, --password PASSWORD	use encrypted password for
the new user
DEBUG util.py:256:  				account
DEBUG util.py:256:    -s, --shell SHELL		the login shell for the new
user account
DEBUG util.py:256:    -u, --uid UID	       		force use the UID for the
new user account
DEBUG util.py:256:    -Z, --selinux-user SEUSER	use a specific SEUSER
for the SELinux user mapping
DEBUG util.py:319:  Child returncode was: 2
DEBUG util.py:98:  kill orphans
==

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??

-- Jeroen


More information about the buildsys mailing list