Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 509218 Details for
Bug 363577
any stages build fails on Gentoo/FreeBSD
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
disable snakeoil's namespace module on Gentoo/FreeBSD.
file_363577.txt (text/plain), 1.23 KB, created by
Yuta SATOH
on 2017-12-10 11:11:46 UTC
(
hide
)
Description:
disable snakeoil's namespace module on Gentoo/FreeBSD.
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2017-12-10 11:11:46 UTC
Size:
1.23 KB
patch
obsolete
>diff --git a/catalyst/main.py b/catalyst/main.py >index b8ae662..82dff34 100644 >--- a/catalyst/main.py >+++ b/catalyst/main.py >@@ -422,13 +422,14 @@ def _main(parser, opts): > # catalyst cannot be run as a normal user due to chroots, mounts, etc > log.critical('This script requires root privileges to operate') > >- # Start off by creating unique namespaces to run in. Would be nice to >- # use pid & user namespaces, but snakeoil's namespace module has signal >- # transfer issues (CTRL+C doesn't propagate), and user namespaces need >- # more work due to Gentoo build process (uses sudo/root/portage). >- namespaces.simple_unshare( >- mount=True, uts=True, ipc=True, pid=False, net=False, user=False, >- hostname='catalyst') >+ if os.uname()[0] in ["Linux", "linux"]: >+ # Start off by creating unique namespaces to run in. Would be nice to >+ # use pid & user namespaces, but snakeoil's namespace module has signal >+ # transfer issues (CTRL+C doesn't propagate), and user namespaces need >+ # more work due to Gentoo build process (uses sudo/root/portage). >+ namespaces.simple_unshare( >+ mount=True, uts=True, ipc=True, pid=False, net=False, user=False, >+ hostname='catalyst') > > # everything is setup, so the build is a go > try:
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 363577
:
269931
|
269933
|
269935
|
305721
|
305725
|
314077
|
314079
|
326448
|
330332
|
357332
|
425186
|
425188
|
425196
|
425294
|
425296
|
509212
|
509214
|
509216
| 509218 |
509224