On Sat, Jun 12, 2021 at 09:33:24PM +0100, Michael wrote
> On Saturday, 12 June 2021 19:16:17 BST Walter Dnes wrote:

> >  * Messages for package www-client/google-chrome-91.0.4472.77:
> > 
> >  *   USER_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.
> > 
> > >>> Auto-cleaning packages...
> 
> This involves the use of namespaces for sandboxing purposes and your 
> configuration to enable it in the kernel:
> 
> $ grep USER_NS /usr/src/linux/.config
> CONFIG_USER_NS=y
> 
> More here:
> 
> https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/docs/
> linux/sandboxing.md

  I use a different "search" method.  In the "make menuconfig" menu, the
top few lines state...

=======================================================================
 Arrow keys navigate the menu.  <Enter> selects submenus ---> (or empty
 submenus ----).  Highlighted letters are hotkeys.  Pressing <Y>
 includes, <N> excludes, <M> modularizes features.  Press <Esc><Esc> to
 exit, <?> for Help, </> for Search.  Legend: [*] built-in  [ ]
=======================================================================

  Note the bit about "</> for Search".  So I press "/" and type in
"USER_NS" or "CONFIG_USER_NS".  It doesn't matter which, and it's not
case-sensitive.  Hitting {ENTER} gives a list of hits, with associated
numbers.  In this case, there's only one hit, with associated number
"1", so I press "1".  That takes me to the *EXACT LOCATION* in the whole
"make menuconfig" layout where I need to press "Y" to enable it.  Before
doing so, I tabbed over to the <Help> for this item.  It mentions...

> When user namespaces are enabled in the kernel it is
> recommended that the MEMCG option also be enabled and that
> user-space use the memory control groups to limit the amount
> of memory a memory unprivileged users can use.

  So I...
* <Exit> the help
* tap "Y" to enable "CONFIG_USER_NS"
* <Exit> out of the "Namespaces Support" menu
* <Exit> out of the "Search Results"

  This take me back to "make menuconfig" "base level".  From there I
repeat the process for "MEMCG" (or "CONFIG_MEMCG") upper/lower case is OK.

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to