Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 691288 Details for
Bug 890695
Mock fails with "ERROR: Namespace unshare failed."
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
move CLONE_NEWUTS from base flags to extended flags
clone-newuts.patch (text/plain), 1.12 KB, created by
Clark Williams
on 2013-01-31 22:53:00 UTC
(
hide
)
Description:
move CLONE_NEWUTS from base flags to extended flags
Filename:
MIME Type:
Creator:
Clark Williams
Created:
2013-01-31 22:53:00 UTC
Size:
1.12 KB
patch
obsolete
>commit c08f5036d0b965289b5fd487380ace84f5a63f4f >Author: Clark Williams <williams@redhat.com> >Date: Wed Jan 30 15:07:25 2013 -0600 > > move CLONE_NEWUTS to extended unshare options [BZ# 890695] > > Move CLONE_NEWUTS from base options (required) to extended > unshare options (optional) so that kernels which don't have > UTS_NS configuation built in will still run mock. > > Signed-off-by: Clark Williams <williams@redhat.com> > >diff --git a/py/mock.py b/py/mock.py >index cc41a3f..fa9ef1f 100755 >--- a/py/mock.py >+++ b/py/mock.py >@@ -761,8 +761,8 @@ def main(ret): > os.environ["HOME"] = chroot.homedir > > # New namespace starting from here >- base_unshare_flags = mockbuild.util.CLONE_NEWNS|mockbuild.util.CLONE_NEWUTS >- extended_unshare_flags = base_unshare_flags|mockbuild.util.CLONE_NEWPID|mockbuild.util.CLONE_NEWIPC >+ base_unshare_flags = mockbuild.util.CLONE_NEWNS >+ extended_unshare_flags = base_unshare_flags|mockbuild.util.CLONE_NEWPID|mockbuild.util.CLONE_NEWIPC|mockbuild.util.CLONE_NEWUTS > try: > mockbuild.util.unshare(extended_unshare_flags) > except mockbuild.exception.UnshareFailed, e:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 890695
: 691288