Bugzilla – Bug 1216226
Flatpak fails to install correctly and launch (permission denied)
Last modified: 2023-10-16 14:11:58 UTC
Trying to run any application installed with flatpak, with: "flatpak run org.app.name" returns "bwrap: execvp ldconfig: Permission denied error: ldconfig failed, exit status 256" I've tried this both on bare metal and in a VM, with and without SELinux. In all cases, the error persists. Said error also appears when installing any application, but the apps install "correctly" anyway. This appears to be a Kalpa-only issue.
additional logs: Oct 12 20:10:35 localhost.localdomain systemd[1206]: Starting flatpak document portal service... Oct 12 20:10:35 localhost.localdomain systemd[1206]: Started flatpak document portal service. Oct 12 18:11:14 localhost.localdomain systemd[1206]: Started app-flatpak-org.freedesktop.Platform.openh264-1912.scope. Oct 12 18:12:14 localhost.localdomain flatpak[2161]: libostree pull from 'flathub' for runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 complete Oct 12 18:12:15 localhost.localdomain flatpak[2161]: user: Pulled runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 from flathub Oct 12 18:12:15 localhost.localdomain systemd[1206]: Started app-flatpak-org.freedesktop.Platform.openh264-2161.scope. Oct 12 18:12:15 localhost.localdomain flatpak[2161]: libostree pull from 'flathub' for app/org.kde.ark/x86_64/stable complete Oct 12 18:12:15 localhost.localdomain flatpak[2161]: user: Pulled app/org.kde.ark/x86_64/stable from flathub Oct 12 18:12:16 localhost.localdomain flatpak[2161]: user: Updated app/org.kde.ark/x86_64/stable from flathub Oct 12 18:12:27 localhost.localdomain systemd[1206]: app-flatpak-org.freedesktop.Platform.openh264-1912.scope: Consumed 1.987s CPU time. Oct 12 18:13:53 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/net.lutris.Lutris.Locale/x86_64/stable complete Oct 12 18:13:53 localhost.localdomain flatpak[2262]: user: Pulled runtime/net.lutris.Lutris.Locale/x86_64/stable from flathub Oct 12 18:13:53 localhost.localdomain flatpak[2262]: user: Installed runtime/net.lutris.Lutris.Locale/x86_64/stable from flathub Oct 12 18:13:55 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.freedesktop.Platform.GL.default/x86_64/23.08 complete Oct 12 18:13:56 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.freedesktop.Platform.GL.default/x86_64/23.08 from flathub Oct 12 18:13:56 localhost.localdomain flatpak[2262]: user: Installed runtime/org.freedesktop.Platform.GL.default/x86_64/23.08 from flathub Oct 12 18:13:56 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra complete Oct 12 18:13:56 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra from flathub Oct 12 18:13:56 localhost.localdomain flatpak[2262]: user: Installed runtime/org.freedesktop.Platform.GL.default/x86_64/23.08-extra from flathub Oct 12 18:13:58 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.freedesktop.Platform.GL32.default/x86_64/23.08 complete Oct 12 18:13:59 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.freedesktop.Platform.GL32.default/x86_64/23.08 from flathub Oct 12 18:13:59 localhost.localdomain flatpak[2262]: user: Installed runtime/org.freedesktop.Platform.GL32.default/x86_64/23.08 from flathub Oct 12 18:13:59 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/23.08 complete Oct 12 18:13:59 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/23.08 from flathub Oct 12 18:13:59 localhost.localdomain flatpak[2262]: user: Installed runtime/org.freedesktop.Platform.ffmpeg-full/x86_64/23.08 from flathub Oct 12 18:14:00 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.freedesktop.Platform.ffmpeg_full.i386/x86_64/23.08 complete Oct 12 18:14:00 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.freedesktop.Platform.ffmpeg_full.i386/x86_64/23.08 from flathub Oct 12 18:14:00 localhost.localdomain flatpak[2262]: user: Installed runtime/org.freedesktop.Platform.ffmpeg_full.i386/x86_64/23.08 from flathub Oct 12 18:14:00 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 complete Oct 12 18:14:00 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 from flathub Oct 12 18:14:00 localhost.localdomain systemd[1206]: Started app-flatpak-org.freedesktop.Platform.openh264-2262.scope. Oct 12 18:14:05 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.gnome.Platform.Compat.i386/x86_64/45 complete Oct 12 18:14:07 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.gnome.Platform.Compat.i386/x86_64/45 from flathub Oct 12 18:14:07 localhost.localdomain flatpak[2262]: user: Installed runtime/org.gnome.Platform.Compat.i386/x86_64/45 from flathub Oct 12 18:14:07 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.gnome.Platform.Locale/x86_64/45 complete Oct 12 18:14:07 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.gnome.Platform.Locale/x86_64/45 from flathub Oct 12 18:14:07 localhost.localdomain flatpak[2262]: user: Installed runtime/org.gnome.Platform.Locale/x86_64/45 from flathub Oct 12 18:14:15 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.gnome.Platform/x86_64/45 complete Oct 12 18:14:18 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.gnome.Platform/x86_64/45 from flathub Oct 12 18:14:19 localhost.localdomain flatpak[2262]: user: Installed runtime/org.gnome.Platform/x86_64/45 from flathub Oct 12 18:14:19 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.winehq.Wine.DLLs.dxvk/x86_64/stable-23.08 complete Oct 12 18:14:19 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.winehq.Wine.DLLs.dxvk/x86_64/stable-23.08 from flathub Oct 12 18:14:19 localhost.localdomain flatpak[2262]: user: Installed runtime/org.winehq.Wine.DLLs.dxvk/x86_64/stable-23.08 from flathub Oct 12 18:14:20 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.winehq.Wine.gecko/x86_64/stable-23.08 complete Oct 12 18:14:20 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.winehq.Wine.gecko/x86_64/stable-23.08 from flathub Oct 12 18:14:20 localhost.localdomain flatpak[2262]: user: Installed runtime/org.winehq.Wine.gecko/x86_64/stable-23.08 from flathub Oct 12 18:14:22 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for runtime/org.winehq.Wine.mono/x86_64/stable-23.08 complete Oct 12 18:14:24 localhost.localdomain flatpak[2262]: user: Pulled runtime/org.winehq.Wine.mono/x86_64/stable-23.08 from flathub Oct 12 18:14:24 localhost.localdomain flatpak[2262]: user: Installed runtime/org.winehq.Wine.mono/x86_64/stable-23.08 from flathub Oct 12 18:14:26 localhost.localdomain plasmashell[1487]: kf.config.core: Access to ' "/home/micro/.local/share/flatpak/exports/share/applications/org.mozilla.firefox.desktop" ' denied, not owned by root and executable flag not set. Oct 12 18:14:32 localhost.localdomain flatpak[2262]: libostree pull from 'flathub' for app/net.lutris.Lutris/x86_64/stable complete Oct 12 18:14:35 localhost.localdomain flatpak[2262]: user: Pulled app/net.lutris.Lutris/x86_64/stable from flathub Oct 12 18:14:36 localhost.localdomain flatpak[2262]: user: Installed app/net.lutris.Lutris/x86_64/stable from flathub Oct 12 18:14:36 localhost.localdomain systemd[1206]: app-flatpak-org.freedesktop.Platform.openh264-2262.scope: Consumed 32.263s CPU time. Oct 12 18:16:13 localhost.localdomain sudo[2756]: micro : TTY=pts/1 ; PWD=/home/micro ; USER=root ; COMMAND=/usr/bin/flatpak Oct 12 18:16:17 localhost.localdomain sudo[2761]: micro : TTY=pts/1 ; PWD=/home/micro ; USER=root ; COMMAND=/usr/bin/flatpak install lutris Oct 12 18:16:21 localhost.localdomain sudo[2776]: micro : TTY=pts/1 ; PWD=/home/micro ; USER=root ; COMMAND=/usr/bin/flatpak update Oct 12 18:16:37 localhost.localdomain flatpak[2805]: libostree pull from 'flathub' for runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 complete Oct 12 18:16:38 localhost.localdomain flatpak[2805]: user: Pulled runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 from flathub Oct 12 18:16:38 localhost.localdomain systemd[1206]: Started app-flatpak-org.freedesktop.Platform.openh264-2805.scope. Oct 12 18:17:25 localhost.localdomain sudo[2855]: micro : TTY=pts/1 ; PWD=/home/micro ; USER=root ; COMMAND=/usr/sbin/transactional-update pkg remove flatpak Oct 12 18:17:41 localhost.localdomain sudo[3124]: micro : TTY=pts/1 ; PWD=/home/micro ; USER=root ; COMMAND=/usr/sbin/transactional-update pkg install flatpak Oct 12 18:18:17 localhost.localdomain sudo[3465]: micro : TTY=pts/1 ; PWD=/home/micro ; USER=root ; COMMAND=/usr/sbin/transactional-update pkg search flatpak Oct 12 18:19:04 localhost.localdomain sudo[3523]: micro : TTY=pts/1 ; PWD=/home/micro ; USER=root ; COMMAND=/usr/sbin/transactional-update pkg install flatpak flatpak-remote-flathub Oct 12 18:19:17 localhost.localdomain flatpak[3976]: libostree pull from 'flathub' for runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 complete Oct 12 18:19:18 localhost.localdomain flatpak[3976]: user: Pulled runtime/org.freedesktop.Platform.openh264/x86_64/2.2.0 from flathub Oct 12 18:19:18 localhost.localdomain systemd[1206]: Started app-flatpak-org.freedesktop.Platform.openh264-3976.scope. Oct 12 18:19:23 localhost.localdomain systemd[1206]: app-flatpak-org.freedesktop.Platform.openh264-3976.scope: Consumed 2.609s CPU time. Oct 12 18:19:56 localhost.localdomain sudo[4088]: micro : TTY=pts/1 ; PWD=/home/micro ; USER=root ; COMMAND=/usr/bin/flatpak repair
I cannot reproduce this bug, on any of my kalpa installations, bare metal or vm.
Picking this up in agreement with sfalken
Hi, I unfortunately cannot reproduce this bug either (org.kde.kpat). Possibly something tainted flatpak. If you try to do a new VM install and retry you should get no errors and it just works.
Will set this to needinfo for now.
(In reply to Natasha Ament from comment #5) > Will set this to needinfo for now. SOLVED: You were right, it was a tainted install: i had disabled SELinux because it broke things when i was on Tumbleweed, but apparently it's required by MOS.