![]() |
Re: Flatpak on Sailfish OS
That could be considerable roadblock for the older kernels out there. Looks like you fail at
Code:
/* Never gain any more privs during exec */ From looking around, it seems that there are backports available, though. See https://wiki.mozilla.org/Security/Sandbox/Seccomp and https://bugzilla.mozilla.org/show_bug.cgi?id=790923 referenced there. Cannot guarantee that it will work, though. Note that there could be more backports available, I just took one of the first links. |
Re: Flatpak on Sailfish OS
Quote:
Now, I understand this is limitation of the old kernel and there might be a workaround. (This is what I love in Linux, there always is a or more workaround. :)) I have checked the links you provided for the backport and found this in the second one: backport NO_NEW_PRIVS I apply this into the S2's kernel and will re-try. (By the way, with adding this Flatpak support into the kernel, something else also changed because the sneak-peek function started to work there. :D Thanks for that.) |
Re: Flatpak on Sailfish OS
On Nexus 5, despite the added flags in the kernel, Angelfish does not start. Here is the output:
Code:
nemo@Sailfish ~]$ flatpak-runner |
Re: Flatpak on Sailfish OS
Quote:
|
Re: Flatpak on Sailfish OS
I run it from fingerterm on device with your new kernel! The Angelfish app cover shows up with its icon but the loading circle spins forever.
|
Re: Flatpak on Sailfish OS
@claustn, how did you install flatpak support? did you install by zypper after setting up repository? or downloaded and installed manually?
It looks like xdg-dbus-proxy from flatpak repo is not installed (see missing command error: execvp xdg-dbus-proxy: No such file or directory) But in addition to that, we probably have an issue with 3.4 kernel on the top of that, as referred to earlier. |
Re: Flatpak on Sailfish OS
Quote:
(I will try to find out what have done when I get home. I hope the console is still active on my PC and I can look back what I was doing. :) + I will try to install this on my Nexus 5 too.) And just after then I got the other error about the 'PR_SET_NO_NEW_PRIVS'. |
Re: Flatpak on Sailfish OS
Quote:
I have tried to install it on my Nexus 5 and got exactly the same error and the rotating circle as an app cover. To compare the two message on the devices: On Nexus 5: Code:
[W] unknown:52 - file:///usr/share/flatpak-runner/qml/main.qml:52:26: Unable to assign [undefined] to bool Code:
[W] unknown:52 - file:///usr/share/flatpak-runner/qml/main.qml:52:26: Unable to assign [undefined] to bool |
Re: Flatpak on Sailfish OS
It looks like the Flatpak won't work on the S2 (or some other fixes also needs to be backported).
I have backported the NO_NEW_PRIVS from here but when I re-run the angelfish, I got this: Code:
[nemo@GalaxyS2 ~]$ flatpak-runner org.kde.mobile.angelfish Do I need the CONFIG_SECCOMP in the kernel? (Or something else?) |
Re: Flatpak on Sailfish OS
|
All times are GMT. The time now is 13:40. |
vBulletin® Version 3.8.8