Lubomir Kundrak schrieb:
On Sat, 2008-01-19 at 22:02 +0100, Frank Büttner wrote:
Lubomir Kundrak schrieb:
On Fri, 2008-01-18 at 09:53 +0100, Frank Büttner wrote:
Hello,
when I try to build an package mock will fail with:
...
2008-01-18 09:48:01,973 - DEBUG util.py, Line: 234: groupadd: name mockbuild is not unique 2008-01-18 09:48:01,977 - DEBUG trace_decorator.py, Line: 27: EXCEPTION: Command(/usr/sbin/groupadd -g 102 mockbuild) failed. See logs f or output.
Any ideas, what goes wrong??
Please delete /var/mock/* and try again. In case you won't succeed, please open a bug report in bugzilla.
Thanks,
The directory /var/mock* don't exist. Do you mean /var/lib/mock* ??
Yes, you're right, I've mistaken.
Ok testet, now an mock init fails with: mock -r fedora-4-i386-epel init INFO: mock.py version 0.8.9 starting... State Changed: init plugins State Changed: start State Changed: lock buildroot State Changed: clean State Changed: init ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/util.py", line 42, in mkdirIfAbsent os.makedirs(dir) File "/usr/lib/python2.4/os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result' ERROR: Could not create dir /var/lib/mock/epel-4-i386/result. Error: [Errno 13] Permission denied: '/var/lib/mock/epel-4-i386/result'