Public bug reported:

I have installed Cryptopmator app via Flathub and try to run it:

`flatpak run org.cryptomator.Cryptomator`

It does not run, and I get the error:
```
bwrap: Creating new namespace failed: Permission denied
error: ldconfig failed, exit status 256
```
My system is Ubuntu 24.04.1 and `cat 
/proc/sys/kernel/unprivileged_userns_clone` says `1`

The solution is:
```
sudo chmod u+s $(which bwrap)
```

However, this makes the bubblewrap binary SUID, by default it is
supposed to work with unprivileged user namespaces. This is most likely
due to Ubuntu doing some kernel and apparmor related changes that landed
in 24.04.

** Affects: bubblewrap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to bubblewrap in Ubuntu.
https://bugs.launchpad.net/bugs/2099000

Title:
   Bwrap: Creating new namespace failed

Status in bubblewrap package in Ubuntu:
  New

Bug description:
  I have installed Cryptopmator app via Flathub and try to run it:

  `flatpak run org.cryptomator.Cryptomator`

  It does not run, and I get the error:
  ```
  bwrap: Creating new namespace failed: Permission denied
  error: ldconfig failed, exit status 256
  ```
  My system is Ubuntu 24.04.1 and `cat 
/proc/sys/kernel/unprivileged_userns_clone` says `1`

  The solution is:
  ```
  sudo chmod u+s $(which bwrap)
  ```

  However, this makes the bubblewrap binary SUID, by default it is
  supposed to work with unprivileged user namespaces. This is most
  likely due to Ubuntu doing some kernel and apparmor related changes
  that landed in 24.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bubblewrap/+bug/2099000/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to