-
Notifications
You must be signed in to change notification settings - Fork 136
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
Please support Flatpak as an installation platform instead of or in addition to AppImage. #295
Comments
Duplicate of #83. |
Similar problems as GWE has seems like. |
|
Mission Center uses a command like In CPU-X, UI runs as regular user. Privileged tasks (CPU MSRs, DMI table, kernel module loading) are delegated to the daemon which is running as root. Communication between both processes is done through IPC (UNIX socket). It looks like one issue is I was not able to properly setup the daemon in Flatpak. The socket is My Flatpak manifest is still available (CPU-X URL need to be updated): https://gist.github.com/TheTumultuousUnicornOfDarkness/51c192a77bc5458a3dad0596295d3e52#file-org-cpu-x-cpu-x-json If someone is interested to work on Flatpak for CPU-X, you are welcome. |
Hello, Good new: I did some workaround in 741ec48 to allow the daemon to run in Flatpak. |
Does the Daemon now run outside the Flatpak? |
@JakobDev Yes, the daemon will run outside the sandbox. |
I'm not sure if that's a good idea. One mayor point of Flatpak is, that it runs on any System. To make this work, he OS is hipped with Flatpak in form of Runtimes. If you start a Binary that you ship with the Flatpak outside the Sandbox, there is no guarantee it will work. You can't be sure the Host has all needed dependencies. You may also run into the famous problem, that the binary is compiled with a newer version of some libs that the host has. |
I agree with you. But the binary involved does not depend on external libraries (the daemon is built against libcpuid.a in that case). There is only standard libraries:
|
Hello, Good news: CPU-X is now available on Flathub! The daemon may not start on every system (glibc >= 2.35 is required on host). I should find a way to improve this. |
You should verify CPU-X on Flathub |
Done. |
I have a Idea (not tested): You could maybe use the |
I agree with you: starting Starting daemon binary from host produces the following error:
Setting
I found a workaround here and it seems I need to use
In other words, starting the daemon from the sandbox without libc issue requires a command like this one:
So something like that seems to work: |
"Improved" in ec5176c. I will update runtime version for next CPU-X release (not scheduled yet). |
Is your feature request related to a problem? Please describe.
I wish to deploy this software per-user without fuse dependencies on a system supporting Flatpak as a packaging platform.
Describe the solution you'd like
I think it would be a good idea to publish the software on Flathub as a Flatpak instead of relying on AppImage, as it is an emerging technology on most significant distributions, it has no fuse dependency and updates are managed better, this would also be beneficial long-term to the maintainer.
The text was updated successfully, but these errors were encountered: