New: [rhinstaller/anaconda/pulls/440 master] Use /usr/bin/mock for systems where /usr/sbin is listed before /usr/bin in PATH
atodorov
installerbot-noreply at redhat.com
Fri Nov 6 14:00:27 UTC 2015
When I try `make ci` on a Rawhide system I get the following error:
```
ERROR: [Errno 1] Operation not permitted
ERROR: The most common cause for this error is trying to run /usr/sbin/mock as an unprivileged user.
ERROR: Check your path to make sure that /usr/bin/ is listed before /usr/sbin, or manually run /usr/bin/mock to see if that fixes this problem.
$ echo $PATH
/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
$ cat /etc/redhat-release
Fedora release 24 (Rawhide)
```
Using the full path `/usr/bin/mock` fixes this.
--
To view this pull request on github, visit https://github.com/rhinstaller/anaconda/pull/440
More information about the anaconda-patches
mailing list