Skip to content

Fatal error on setuid Flatpak installations #195

@Samuil1337

Description

@Samuil1337

Dear Flathubbers,

When I try to run Anki using flatpak run net.ankiweb.Anki, I get this error message.

Preparing to run...
Qt warning: setHighDpiScaleFactorRoundingPolicy must be called before creating the QGuiApplication instance 
2025-01-27 21:10:26,250:INFO:aqt.mediasrv: Serving on http://127.0.0.1:45727
[3:18:0127/211026.295800:FATAL:flatpak_sandbox.cc(289)] Your Flatpak installation is setuid, which is not supported

I am on Arch Linux and have set the kernel.unprivileged_userns_clone = 0 sysctl parameter for security reasons. This means that I have to use bubblewrap-suid which might be causing this issue. However, this doesn't happen with any other Flatpak app. Additionaly, it's important to point out that the sandboxing shouldn't really have trouble in this particular instance. Anki is just a chill QT application.

Yours sincerely,
Samuil1337

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions