Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Evolution will not start.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Skippy204
Guru
Guru


Joined: 09 May 2008
Posts: 339
Location: Colorado, USA

PostPosted: Sat Jan 06, 2024 9:14 pm    Post subject: Evolution will not start. Reply with quote

When attempting to start Evolution I get

Code:

bwrap: Creating new namespace failed, likely because the kernel does not support user namespaces.  bwrap must be installed setuid on such systems.


I think I have namespace set up in the kernel, but you tell me. Below is what I see when I search for "namespace" in menuconfig:


Code:

Symbol: MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS [=n]                                                                                                                  │
  │ Type  : bool                                                                                                                                                         │
  │ Defined at init/Kconfig:2172                                                                                                                                         │
  │   Prompt: Allow loading of modules with missing namespace imports                                                                                                    │
  │   Depends on: MODULES [=y]                                                                                                                                           │
  │   Location:                                                                                                                                                          │
  │ (1) -> Enable loadable module support (MODULES [=y])                                                                                                                 │
  │                                                                                                                                                                      │
  │                                                                                                                                                                      │
  │ Symbol: NAMESPACES [=y]                                                                                                                                              │
  │ Type  : bool                                                                                                                                                         │
  │ Defined at init/Kconfig:1056                                                                                                                                         │
  │   Prompt: Namespaces support                                                                                                                                         │
  │   Depends on: MULTIUSER [=y]                                                                                                                                         │
  │   Visible if: MULTIUSER [=y] && EXPERT [=n]                                                                                                                          │
  │   Location:                                                                                                                                                          │
  │ (2) -> General setup                                                                                                                                                 │
  │ Selected by [y]:                                                                                                                                                     │
  │   - GENTOO_LINUX_PORTAGE [=y] && GENTOO_LINUX [=y]


Do I need to do more with the kernel? Or do I need to install something that provided bwrap?
Thank you.
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4162
Location: Bavaria

PostPosted: Sat Jan 06, 2024 10:19 pm    Post subject: Re: Evolution will not start. Reply with quote

Skippy204 wrote:
Do I need to do more with the kernel? Or do I need to install something that provided bwrap?

Yes, you will need CONFIG_USER_NS. This is:
Code:
General setup  --->
    -*- Namespaces support  --->
        -*-   User namespace

... BUT ... I see you are using gentoo-souces, and then it is enabled by default too:
Quote:
...
Selected by [y]:
- GENTOO_LINUX_PORTAGE [=y] && GENTOO_LINUX [=y]

Maybe you have hardening settings from KSPP in your /etc/sysctl.conf ... check if you have:
Code:
# Disable User Namespaces, as it opens up a large attack surface to unprivileged users.
user.max_user_namespaces = 0

If yes, this cause the problem ...
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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