Bug 844846 - ERROR: Namespace unshare failed.
ERROR: Namespace unshare failed.
Status: CLOSED CURRENTRELEASE
Product: Fedora EPEL
Classification: Fedora
Component: mock (Show other bugs)
el5
noarch Linux
unspecified Severity unspecified
: ---
: ---
Assigned To: Clark Williams
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-07-31 22:44 EDT by Dean T. Hu
Modified: 2012-11-28 11:06 EST (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-08-25 20:23:23 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dean T. Hu 2012-07-31 22:44:06 EDT
Description of problem:
Intermittent build failures with symptoms:

INFO: mock.py version 1.0.31 starting...
Start: init plugins
INFO: selinux enabled
WARNING: selinux: 'yum' does not support '--setopt' option
Finish: init plugins
Start: run
ERROR: Namespace unshare failed.

Version-Release number of selected component (if applicable):
mock-1.0.31-1.el5

How reproducible:
Using mock to build package

Steps to Reproduce:
1.Can happen on any build
  
Actual results:
Build fails

Expected results:
Build succeeds

Additional info:
I never saw this with mock-1.0.28-1.el5
Comment 1 Clark Williams 2012-08-01 10:37:56 EDT
reverted addition of CLONE_NEWUTS flag to unshare(2) call (not supported by 2.6.18 kernel). 

should be a 1.0.33 up shortly.
Comment 2 Fedora Update System 2012-08-01 12:07:50 EDT
mock-1.0.33-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mock-1.0.33-1.el5
Comment 3 Fedora Update System 2012-08-02 03:27:20 EDT
Package mock-1.0.33-1.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing mock-1.0.33-1.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2012-6586/mock-1.0.33-1.el5
then log in and leave karma (feedback).
Comment 4 Fedora Update System 2012-08-06 14:46:28 EDT
mock-1.1.26-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mock-1.1.26-1.fc17
Comment 5 Fedora Update System 2012-08-06 14:46:58 EDT
mock-1.1.26-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.26-1.el6
Comment 6 Fedora Update System 2012-08-06 14:47:30 EDT
mock-1.1.26-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mock-1.1.26-1.fc16
Comment 7 Fedora Update System 2012-08-06 14:47:58 EDT
mock-1.0.34-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mock-1.0.34-1.el5
Comment 8 Fedora Update System 2012-08-15 17:49:15 EDT
mock-1.1.26-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mock-1.1.26-2.fc17
Comment 9 Fedora Update System 2012-08-17 07:52:51 EDT
mock-1.1.26-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.26-2.el6
Comment 10 Fedora Update System 2012-08-17 07:54:12 EDT
mock-1.1.26-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mock-1.1.26-2.fc16
Comment 11 Fedora Update System 2012-08-25 20:23:23 EDT
mock-1.1.26-2.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 12 Fedora Update System 2012-09-14 11:27:47 EDT
mock-1.1.27-2.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.27-2.el6
Comment 13 Fedora Update System 2012-09-14 11:28:48 EDT
mock-1.1.27-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mock-1.1.27-2.fc16
Comment 14 Fedora Update System 2012-09-14 11:29:41 EDT
mock-1.0.35-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mock-1.0.35-1.el5
Comment 15 Fedora Update System 2012-09-14 11:30:51 EDT
mock-1.1.27-2.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mock-1.1.27-2.fc17
Comment 16 Fedora Update System 2012-11-01 17:09:50 EDT
mock-1.1.28-1.el6 has been submitted as an update for Fedora EPEL 6.
https://admin.fedoraproject.org/updates/mock-1.1.28-1.el6
Comment 17 Fedora Update System 2012-11-01 17:11:06 EDT
mock-1.1.28-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/mock-1.1.28-1.fc18
Comment 18 Fedora Update System 2012-11-01 17:12:18 EDT
mock-1.0.36-1.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/mock-1.0.36-1.el5
Comment 19 Fedora Update System 2012-11-01 17:13:26 EDT
mock-1.1.28-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/mock-1.1.28-1.fc17
Comment 20 Fedora Update System 2012-11-01 17:14:32 EDT
mock-1.1.28-1.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/mock-1.1.28-1.fc16
Comment 21 Fedora Update System 2012-11-14 21:33:29 EST
mock-1.1.28-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 22 Fedora Update System 2012-11-14 21:35:33 EST
mock-1.1.28-1.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 23 Fedora Update System 2012-11-20 14:38:03 EST
mock-1.0.36-1.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.
Comment 24 Matyas Selmeci 2012-11-26 18:54:15 EST
This seems to have gotten unfixed in 1.0.36. I am getting the same symptom as the OP installing from EPEL 5.
Comment 25 Dean T. Hu 2012-11-27 03:04:31 EST
Tried to build a package using mock-1.0.36 and got:

Traceback (most recent call last):
  File "/usr/sbin/mock", line 66, in ?
    import mockbuild.backend
  File "/usr/lib/python2.4/site-packages/mockbuild/backend.py", line 237
    finally:
          ^
SyntaxError: invalid syntax
Comment 26 Clark Williams 2012-11-28 11:06:37 EST
Yes, when I was merging some fixes from the mock-1.1 branch I let the unshare bug creep in as well as some python2.6+ syntax. 

mock-1.0.37 will be on testing shortly and should fix this problem.

Note You need to log in before you can comment on or make changes to this bug.