Comments (5)
The flatpak build relies on a feature called "unprivileged_userns_clone" being enabled in your linux kernel, and this error means that you have that feature disabled. I've only ever seen this happen on chromebooks, which makes it extra-annoying because you have to root the device to be able to change that setting.
A workaround is to run flatpak run com.adamcake.Bolt --no-sandbox
.
from bolt.
Depending on how Fedora built their kernel, unprivileged userns might be a setting that you can change, for example on Ubuntu it's a setting you can change via sudo systemctl
I think. If they totally disabled it at build time then you can't really do anything about that, but if you can just quickly toggle it then that's probably the easiest way to go about it.
Glad I could help anyway.
from bolt.
That's fascinating - I'm using Fedora 40 and not on a chromebook. I wonder if the kernel Fedora is shipping has something going on? Bolt is also the only Flatpak app that is suffering this issue, of maybe ~8 that I've tested. Is that expected?
Also thank you for your quick reply on a Saturday!
(the workaround works)
from bolt.
Since Bolt is CEF-based (Chromium Embedded Framework), I had to do some messing around to get Chromium's sandbox and Flatpak's sandbox to work together, and the way I did that was by building CEF with the patches from org.chromium.Chromium. Those patches change the way chromium's sandbox works, to use the unprivileged_userns_clone feature. If it's not enabled then you'll get this error: https://github.com/flathub/org.chromium.Chromium/blob/master/patches/chromium/flatpak-Add-initial-sandbox-support.patch#L787
So you'd probably find the same error with org.chromium.Chromium if you tried it, but yeah, it's a pretty obscure problem. I'm afraid I don't know how to change kernel settings on fedora, you'd have to check the user manual or ask the community.
from bolt.
Very interesting. I wonder if Fedora is starting to ship a kernel with that feature disabled.
I'm currently just trying to get the --no-sandbox option added to the desktop entry and having a terrible time, but I'm sure I can hack it.
Confirmed, Chromium does indeed throw that error - their suggested workarounds do not seem to change that feature being disabled work great, but I could just be messing it up somehow. Regardless, I'm not too worried; if you're not concerned with this, I would have no problem if you closed the issue since --no-sandbox is fine.
from bolt.
Related Issues (20)
- Legacy Java Client HOT 9
- There was an error loading the game configuration from the website. HOT 1
- Tray Icon Not Appearing in Wayland HOT 4
- Runelite not opening on first install [AUR] HOT 9
- Fails to Build on Arch Linux via AUR installation due to missing fmt9 dependency HOT 2
- RS3 Can't Launch on Archlinux HOT 2
- Can't get past the CloudFlare robot check HOT 2
- HDOS/runelite not working (weird tzdb.dat location issue) HOT 2
- Flatpak version out of date HOT 2
- Some way to quickly launch to a specific character? (Feature request/feature offer) HOT 2
- Stuck on "Loading application resources" HOT 2
- Flatpak version crashes on Fedora with KDE and KWallet HOT 5
- Use native .runelite directory in flatpak? HOT 2
- CEF binaries are out of date HOT 3
- CMake Error on Windows HOT 1
- Problems building and launching RS3 on NixOS? HOT 11
- Minor bug: unable to launch RuneLite on Fedora 39 after adding a new character on first launch HOT 4
- Notification Settings Force not working HOT 3
- API rate limit exceeded for IP HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bolt.