Warning: user mockbuild does not exist: using root

Posted by admin     Category: Linux Administration

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: , , , , ,

3 Responses to “Warning: user mockbuild does not exist: using root”

  1. newbie in linux Says:

    Thanks so much ^^

  2. Dave Says:

    to the point, perfect. thx.

  3. Beta Group Says:

    Thanks buddy, works!

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-spam image