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.

Incoming search terms: