On Fri, Oct 15, 2010 at 11:13 PM, Narendra Sisodiya <narendra@narendrasisodiya.com> wrote:

groupadd -a -G mock username

-a and -G are invalid options.

using GUI, I have added narendra (narendra is username) a group member of mock group.
Now I logout from root. Applied same command. Still facing same error..

[root@narendra mock]# exit

[narendra@narendra mock]$  mock -r fedora-13-i386 --clean
INFO: chroot (/var/lib/mock/fedora-13-i386) unlocked and deleted

[narendra@narendra mock]$  mock -r fedora-13-i386 --init
INFO: mock.py version 1.1.5 starting...
INFO: enabled ccache
State Changed: running yum
ERROR: Command failed. See logs for output.
 # ['/usr/sbin/groupadd', '-g', '478', 'mockbuild']

│    Narendra Sisodiya
│    http://narendrasisodiya.com