Bug 497775

Summary: Your Flatpak installation is setuid, which is not supported
Product: [Applications] digikam Reporter: David Marzal <mundolibre>
Component: Bundle-FlatPakAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.5.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.6.0
Sentry Crash Report:
Attachments: log with export QT_LOGGING_RULES="digikam*=true"

Description David Marzal 2024-12-22 09:52:44 UTC
Created attachment 176818 [details]
log with export QT_LOGGING_RULES="digikam*=true"

SUMMARY
It's been month since I've used digikam, but now that I tried, won't start. I haven't change anything on my installation just regular system and flatpak updates.

STEPS TO REPRODUCE
1.  Open flatpak version

OBSERVED RESULT
App opens for a second and then closes with error:
[3:50:1222/102854.277131:FATAL:flatpak_sandbox.cc(289)] Your Flatpak installation is setuid, which is not supported

EXPECTED RESULT
App open as it used to do

SOFTWARE/OS VERSIONS

Operating System: Arch Linux 
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.6-hardened1-1-hardened (64-bit)
Graphics Platform: Wayland

FLATPAK:

ID: org.kde.digikam
Ref: app/org.kde.digikam/x86_64/stable
Arch: x86_64
Branch: stable
Version: 8.5.0
License: GPL-2.0+
Origin: flathub
Collection: org.flathub.Stable
Installation: system
 Installed: 611.8?MB
Runtime: org.kde.Platform/x86_64/6.7
Sdk: org.kde.Sdk/x86_64/6.7

Commit: b10e8bffac50817fb0844430b6e27e1a520ca8a9d0e1b8992b4a92b9cd1d2385
Parent: af73982f8064b02c9528e3d7639fe69cf5c4b0b49a3cf2d11cac83a4301dece5
Subject: Update ksanecore and libksane modules (6e626c79)
Date: 2024-12-12 22:35:59 +0000


ADDITIONAL INFORMATION
I have bubblewrap-suid installed.

https://github.com/flatpak/flatpak/wiki/User-namespace-requirements#setuid-bubblewrap
https://wiki.archlinux.org/title/Flatpak#Flatpak_does_not_run_on_the_linux-hardened_kernel
Comment 1 David Marzal 2024-12-22 09:59:01 UTC
It also happen uses de regular linux kernel, not only with the hardened

flatpak[2084]: [3:50:1222/105642.270631:FATAL:flatpak_sandbox.cc(289)] Your Flatpak installation is setuid, which is not supported
kernel: show_signal: 157 callbacks suppressed
kernel: traps: FlatpakPortalBu[2133] trap int3 ip:73062597e0d1 sp:7305da7fa3f0 error:0 in libQt6WebEngineCore.so.6.7.3[4b7e0d1,7306218eb000+8f3c000]
Comment 2 Maik Qualmann 2024-12-22 16:46:08 UTC
We are not the creators of the digiKam Flatpak. Please write a bug report to the team that created the Flatpak.

Maik
Comment 3 caulier.gilles 2024-12-22 17:57:56 UTC
Please report at this url :

https://github.com/flathub/org.kde.digikam/issues

Gilles Caulier
Comment 4 David Marzal 2024-12-22 21:30:03 UTC
Done, thanks for the pointers

https://github.com/flathub/org.kde.digikam/issues/140