The message “Warning: user mockbuild does not exist. using root” is received while installing a source rpm that was built using mock. The ‘mock’ module is required in this case which is responsible to build source RPMs (SRPMs) under a chroot environment and uses the ‘mockbuild’ user.
In order to fix the warning message, install the ‘mock’ module:
yum install mock;
and create the ‘mockbuild’ user
useradd -s /sbin/nologin mockbuild
Once done, you should be able to install the required tool under the mockbuild user.
Tags: create a mockbuild user, install a package under mock user, install mock module using yum, install source RPM under chroot, install source rpm using mock, mockbuild does not exist

November 24th, 2010 at 10:33 pm
Thanks so much ^^
June 10th, 2011 at 7:39 pm
to the point, perfect. thx.
November 10th, 2011 at 6:32 pm
Thanks buddy, works!