Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]question about sandbox, chromium
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
buptwugh
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2012
Posts: 101
Location: Beijing,China

PostPosted: Tue Feb 07, 2012 6:03 am    Post subject: [solved]question about sandbox, chromium Reply with quote

I installed chromium, when it is finished it display some message about sandbox
Code:

>>> Installing (1 of 1) www-client/chromium-16.0.912.77
 * >>> SetUID: [chmod go-r] /usr/lib64/chromium-browser/chrome_sandbox . [ ok ]
 * Updating desktop mime database ...
 * Updating icons cache ...                                              [ ok ]
 *
 * Depending on your desktop environment, you may need
 * to install additional packages to get icons on the Downloads page.
 *
 * For KDE, the required package is kde-base/oxygen-icons.
 *
 * For other desktop environments, try one of the following:
 *  - x11-themes/gnome-icon-theme
 *  - x11-themes/tango-icon-theme
 *
 * Some web pages may require additional fonts to display properly.
 * Try installing some of the following packages if some characters
 * are not displayed properly:
 *  - media-fonts/arphicfonts
 *  - media-fonts/bitstream-cyberbit
 *  - media-fonts/droid
 *  - media-fonts/ipamonafont
 *  - media-fonts/ja-ipafonts
 *  - media-fonts/takao-fonts
 *  - media-fonts/wqy-microhei
 *  - media-fonts/wqy-zenhei

>>> Recording www-client/chromium in "world" favorites file...

 * Messages for package www-client/chromium-16.0.912.77:

 *   PID_NS is required for sandbox to work
 *   NET_NS is required for sandbox to work
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * bindist disabled: Resulting binaries may not be legal to re-distribute.
 * V8 version: bundled - 3.6.6.19; installed - 3.6.6.11
 * Fallback PaX marking -m
 *      out/Release/chrome
 *
 * Depending on your desktop environment, you may need
 * to install additional packages to get icons on the Downloads page.
 *
 * For KDE, the required package is kde-base/oxygen-icons.
 *
 * For other desktop environments, try one of the following:
 *  - x11-themes/gnome-icon-theme
 *  - x11-themes/tango-icon-theme
 *
 * Some web pages may require additional fonts to display properly.
 * Try installing some of the following packages if some characters
 * are not displayed properly:
 *  - media-fonts/arphicfonts
 *  - media-fonts/bitstream-cyberbit
 *  - media-fonts/droid
 *  - media-fonts/ipamonafont
 *  - media-fonts/ja-ipafonts
 *  - media-fonts/takao-fonts
 *  - media-fonts/wqy-microhei
 *  - media-fonts/wqy-zenhei
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.



I don't know how to set sandbox??
Code:

 *   PID_NS is required for sandbox to work
 *   NET_NS is required for sandbox to work


Last edited by buptwugh on Tue Feb 07, 2012 11:25 am; edited 1 time in total
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Tue Feb 07, 2012 6:10 am    Post subject: Reply with quote

You are getting a warning that you do not have PID_NS and NET_NS enabled in your kernel. Sandbox requires them to be enabled, so its giving you a warning. The best solution is to recompile your kernel with them both selected.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
buptwugh
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jan 2012
Posts: 101
Location: Beijing,China

PostPosted: Tue Feb 07, 2012 11:25 am    Post subject: Reply with quote

Thank you.
I find these two flag in the kernel config and enable it.
:D
Back to top
View user's profile Send private message
freedio
n00b
n00b


Joined: 04 Nov 2010
Posts: 2
Location: Switzerland

PostPosted: Mon Apr 01, 2013 8:50 pm    Post subject: Reply with quote

Hi

Warming up an old thread:

I get the same message about PID_NS and NET_NS from sandbox when compiling www-client/chromium, but I can't find CONFIG_PID_NS nor CONFIG_NET_NS in the kernel config. Have these configuration options been removed in the meantime?
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6227
Location: Room 101

PostPosted: Mon Apr 01, 2013 10:34 pm    Post subject: Reply with quote

freedio wrote:
I get the same message about PID_NS and NET_NS from sandbox when compiling www-client/chromium, but I can't find CONFIG_PID_NS nor CONFIG_NET_NS in the kernel config. Have these configuration options been removed in the meantime?

freedio ... no, they are still present as of 3.8.4. You'll find them under General setup => Namespaces support.

Also, when in menuconfig you can type "/" and search, it'll provide a list of all matches, with a description, where they are located, and what dependencies set/unset the option.

best ... khay
Back to top
View user's profile Send private message
ShadowCat8
Apprentice
Apprentice


Joined: 07 Oct 2008
Posts: 173
Location: San Bernardino, CA, USA

PostPosted: Fri Jun 13, 2014 4:45 pm    Post subject: Reply with quote

Just to make sure it's clear...

The CONFIG_PID_NS and CONFIG_NET_NS won't even show up until you have CONFIG_NAMESPACES (General Setup > Namespaces support) turned on.

HTH.
_________________
________________________

"As far as the laws of mathematics refer to reality, they are not
certain, and as far as they are certain, they do not refer to reality."

-- Albert Einstein
Back to top
View user's profile Send private message
Mrat
n00b
n00b


Joined: 27 Oct 2017
Posts: 15
Location: Argentina

PostPosted: Sat Oct 28, 2017 1:52 am    Post subject: Reply with quote

ShadowCat8 wrote:
Just to make sure it's clear...

The CONFIG_PID_NS and CONFIG_NET_NS won't even show up until you have CONFIG_NAMESPACES (General Setup > Namespaces support) turned on.

HTH.

Hello. I'm having the same problem but I have both optiones enabled in my kernel.

Also using GCC 5.4.0
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum