Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Fedora Build System (http://www.linux-archive.org/fedora-build-system/)
-   -   mock, /dev/null and "Permission denied" (http://www.linux-archive.org/fedora-build-system/709076-mock-dev-null-permission-denied.html)

Mike Pomraning 10-02-2012 04:43 PM

mock, /dev/null and "Permission denied"
 
Just a quick note that the symptoms described in this thread
<https://lists.fedoraproject.org/pipermail/buildsys/2012-June/003902.html>:

> $ mock --shell
> INFO: mock.py version 1.1.18 starting...
> State Changed: init plugins
> INFO: selinux disabled
> State Changed: start
> State Changed: lock buildroot
> State Changed: shell
> bash: /dev/null: Permission denied
> bash: /dev/null: Permission denied
> bash: /dev/null: Permission denied
> bash: /dev/null: Permission denied

... are consistent with a mock root on a filesystem mounted "nodev".
Permissions and SELinux aside, you'll suffer EACCES all day long until
the fs is remounted "dev".

-Mike
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys


All times are GMT. The time now is 08:44 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.