-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Bug]: Ubuntu The SUID sandbox helper binary was found, but is not configured correctly. #5952
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There are some workarounds in the replies to this issue: #5199 |
DISCLAMER: I don't understand what exactly I did. May be some steps below are stupid and/or actually unneccessary and/or unsafe. Please, report here, if I did something wrong! I encountered the same bug. Then I've done the following (instead of changing "kernel.apparmor_restrict_unprivileged_userns"):
Now I have freetube 0.22.0 Beta working! My freetube apparmor profile file (example):
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Upstream issue that should be solved by electron-userland/electron-builder#8636 |
I first thought I had this problem #5963 on 24.04. When trying the workaround I received the problem stated in this thread. The suggested chmod/chown fix didn't work for me. The only way I got going again is to install the previous version again. |
@darkstarfish1337 Because of Ubuntu's strict security settings, you need to create an AppArmor profile for FreeTube. Ubuntu comes with preinstalled AppArmor profiles for popular apps like Chromium and Visual Studio code but understandably they don't include any for smaller apps like FreeTube. Please follow the steps in CrazzzzyChipmunk's comment above. |
Woa, super quick reply! Forgot to mention, that the profile didn't help, + also removing apparmor completely. |
Hi! The workaround I proposed here #5952 (comment) is intended for one purpose only: to avoid using the global setting I suspect there are some another reasons in your system (and/or environment) that prevent freetube to start. Try another old known workaround: #5199 (comment) . And if my assumption is correct, this workaround will not work for you too. |
This happened to me after upgrade from .21 to .22 on Ubuntu 24. App wouldn't start, when launching from an icon. |
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
I can confirm this issue is still present in the recent 0.22.1 beta on the site, after the installation on Ubuntu the apps breaks and you need to:
|
I would like to propose to mention this problem under "known issues" on the "releases" page so Ubuntu users would be aware before installation. |
Can't the deb-package create an apparmor profile upon installation/update when installed on *buntu or when apparmor is present? |
And also apply the necessary chmod and chown somwhere from the [pre-|post-]installation script? Why not? |
This comment has been minimized.
This comment has been minimized.
I experience this issue everytime I update freetube on Ubuntu. It makes me reluctant to update for example I update with
|
A bit hacky, but using this script so I don't have to come back here every time to remember the command!
|
All what you suggest is already implented, but In fact it does not work. Let's ask the devs – why? Another question for developers looks much more interesting: why doesn't the postinst script do what it should? (the content is attached below) Devs, can you rewrite the postinst script so that it does what is expected of it? freetube_0.23.2_amd64.deb > control.tar.gz > postinst
|
Hey,
If I set the setuid bit, it works. But my question is: Why do you need root permissions? I would like to understand before I give a browser root permission. Couldn't find something about it. Also the Arch package did not set the setuid flag. |
@CrazzzzyChipmunk Simple answer, no. We don't do the packaging ourselves, we use an external tool to do that for us.
@kmille As mentioned in the README the AUR packages are not maintained by the FreeTube team so any changes you want made to them need to be reported to their respective maintainers.
Because to be able to setup up the sandbox to properly isolate the individual processes at the OS level, it has to talk to the kernel and it can only do that with root permissions. In other words so that everything else can have less permissions and be more secure one specific part needs more permissions. |
I can report the same problem happening in Ubuntu Unity 24.04 and Lubuntu 24.04. The last version that did not crash on launch like this, for me, was 0.21.3. The solution proposed in #5952 (comment) works fine, but it would be better if the .deb installer took care of that. |
fixed by #7084 |
i downloaded the source code for latest release, |
@trevorpburke That's because it's a hotfix release and those only include the changes that are absolutely necessary so that they can go out quicker, if you look at the changelog you'll only notice two things. |
@absidue ah sorry i understand now. looks like I should try out: https://github.com/FreeTubeApp/FreeTube/actions/runs/14129256891 |
Guidelines
Describe the bug
Expected Behavior
freetube should start up as it did in previous versions
Issue Labels
causes crash, feature stopped working, usability issue
FreeTube Version
0.22
Operating System Version
Ubuntu 24.10
Installation Method
.deb
Primary API used
Local API
Last Known Working FreeTube Version (If Any)
0.21
Additional Information
No response
Nightly Build
The text was updated successfully, but these errors were encountered: