{"id":749,"date":"2010-05-10T09:03:04","date_gmt":"2010-05-10T13:03:04","guid":{"rendered":"http:\/\/linuxhostingsupport.net\/blog\/?p=749"},"modified":"2013-03-20T08:42:48","modified_gmt":"2013-03-20T12:42:48","slug":"warning-user-mockbuild-does-not-exist-using-root","status":"publish","type":"post","link":"https:\/\/linuxhostingsupport.net\/blog\/warning-user-mockbuild-does-not-exist-using-root","title":{"rendered":"Warning: user mockbuild does not exist: using root"},"content":{"rendered":"<p><strong><\/strong>The &#8216;mock&#8217; module is responsible to build the source RPMs (SRPMs) under a chroot environment and uses the \u2018mockbuild\u2019 user.<\/p>\n<p>If the mockbuild user does not exist while installing the source RPM, you will receive the &#8216;<span style=\"color: #0000ff;\">Warning: user mockbuild does not exist. using root<\/span>&#8216; error message.<\/p>\n<p>In order to fix the warning message, install the &#8216;mock&#8217; module:<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># yum install mock<\/span><\/pre>\n<\/blockquote>\n<p>and create the &#8216;mockbuild&#8217; user<\/p>\n<blockquote>\n<pre><span style=\"color: #0000ff;\"># useradd -s \/sbin\/nologin mockbuild<\/span><\/pre>\n<\/blockquote>\n<p>Once done, you should be able to install the required tool under the mockbuild user.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The &#8216;mock&#8217; module is responsible to build the source RPMs (SRPMs) under a chroot environment and uses the \u2018mockbuild\u2019 user.<br \/>\nIf the mockbuild user does not exist while installing the source RPM, you will receive the &#8216;Warning: user mockbuild does not exist. using root&#8216; error message.<br \/>\nIn order to fix the warning message, install the &#8216;mock&#8217; module:<\/p>\n<p># yum install mock<\/p>\n<p>and create the &#8216;mockbuild&#8217; user<\/p>\n<p># useradd -s \/sbin\/nologin mockbuild<\/p>\n<p>Once done, you should be able to install the required tool under the mockbuild user.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[812,814,838,813,839,810],"_links":{"self":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/749"}],"collection":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/comments?post=749"}],"version-history":[{"count":7,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/749\/revisions"}],"predecessor-version":[{"id":2208,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/posts\/749\/revisions\/2208"}],"wp:attachment":[{"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/media?parent=749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/categories?post=749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostingsupport.net\/blog\/wp-json\/wp\/v2\/tags?post=749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}