GNU bug report logs - #71962
Flatpak applications fail to launch with systemd-related error

Previous Next

Package: guix;

Reported by: Juliana Sims <juli <at> incana.org>

Date: Sat, 6 Jul 2024 01:33:01 UTC

Severity: normal

To reply to this bug, email your comments to 71962 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#71962; Package guix. (Sat, 06 Jul 2024 01:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juliana Sims <juli <at> incana.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Sat, 06 Jul 2024 01:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juliana Sims <juli <at> incana.org>
To: bug-guix <at> gnu.org
Subject: Flatpak applications fail to launch with systemd-related error
Date: Fri, 05 Jul 2024 21:32:05 -0400
Hello,

I ran a system reconfigure for the first time in a while today. After 
doing so, I noticed that Flatpak apps fail to launch. Specifically, 
when running `flatpak run org.gnome.Fractal`, which was working fine 
before, the application hangs instead of launching and, with `-v`, 
prints the following:

```
F: No installations directory in 
/gnu/store/v4dy0sfj7znnzar1nn18jz0aznjni2fv-flatpak-1.14.6/etc/flatpak/installations.d. 
Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path 
/home/user/.local/share/flatpak
F: Opening user flatpak installation at path 
/home/user/.local/share/flatpak
F: Opening user flatpak installation at path 
/home/user/.local/share/flatpak
F: 
/home/user/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/46/1ad35c08f997c0257506b34db175a27438799f0e5dc0f5e56ebe3635f53cbf58/files/lib32 
does not exist
F: Cleaning up unused container id 181884517
F: Cleaning up per-app-ID state for org.gnome.Fractal
F: Allocated instance id 3966080007
F: Add defaults in dir /org/gnome/Fractal/
F: Add locks in dir /org/gnome/Fractal/
F: Allowing dri access
F: Allowing wayland access
F: Allowing pulseaudio access
F: Failed to run in transient scope: No systemd user session available, 
cgroups not available
F: Running 
'/gnu/store/y6l9z58xm8jzj7n1vxi5mcdb90x4sgal-bubblewrap-0.8.0/bin/bwrap 
--args 35 -- 
/gnu/store/kxlbkakfs2b7m30vyr4r1gkb4zwzfi9p-xdg-dbus-proxy-0.1.5/bin/xdg-dbus-proxy 
--args=37'
```

Of these messages, I suspect the culprit is "No systemd user session 
available."

I had elogind installed through the GNOME system service while flatpak 
was installed in my user home profile. I moved flatpak to the system 
profile and reconfigured the system; this did not help.

Best,
Juli






Information forwarded to bug-guix <at> gnu.org:
bug#71962; Package guix. (Sat, 06 Jul 2024 14:49:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Z572 <873216071 <at> qq.com>
To: Juliana Sims via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 71962 <at> debbugs.gnu.org, Juliana Sims <juli <at> incana.org>
Subject: Re: bug#71962: Flatpak applications fail to launch with
 systemd-related error
Date: Sat, 06 Jul 2024 22:47:29 +0800
[Message part 1 (text/plain, inline)]
Juliana Sims via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> Hello,
>
> I ran a system reconfigure for the first time in a while today. After
> doing so, I noticed that Flatpak apps fail to launch. Specifically,
> when running `flatpak run org.gnome.Fractal`, which was working fine
> before, the application hangs instead of launching and, with `-v`,
> prints the following:
>
> ```
> F: No installations directory in
> /gnu/store/v4dy0sfj7znnzar1nn18jz0aznjni2fv-flatpak-1.14.6/etc/flatpak/installations.d. Skipping
> F: Opening system flatpak installation at path /var/lib/flatpak
> F: Opening user flatpak installation at path
> /home/user/.local/share/flatpak
> F: Opening user flatpak installation at path
> /home/user/.local/share/flatpak
> F: Opening user flatpak installation at path
> /home/user/.local/share/flatpak
> F:
> /home/user/.local/share/flatpak/runtime/org.gnome.Platform/x86_64/46/1ad35c08f997c0257506b34db175a27438799f0e5dc0f5e56ebe3635f53cbf58/files/lib32
> does not exist
> F: Cleaning up unused container id 181884517
> F: Cleaning up per-app-ID state for org.gnome.Fractal
> F: Allocated instance id 3966080007
> F: Add defaults in dir /org/gnome/Fractal/
> F: Add locks in dir /org/gnome/Fractal/
> F: Allowing dri access
> F: Allowing wayland access
> F: Allowing pulseaudio access
> F: Failed to run in transient scope: No systemd user session
> available, cgroups not available
> F: Running
> '/gnu/store/y6l9z58xm8jzj7n1vxi5mcdb90x4sgal-bubblewrap-0.8.0/bin/bwrap
> --args 35 --
> /gnu/store/kxlbkakfs2b7m30vyr4r1gkb4zwzfi9p-xdg-dbus-proxy-0.1.5/bin/xdg-dbus-proxy
> --args=37'
> ```
>
> Of these messages, I suspect the culprit is "No systemd user session
> available."
>
> I had elogind installed through the GNOME system service while flatpak
> was installed in my user home profile. I moved flatpak to the system
> profile and reconfigured the system; this did not help.

Can you try another app, maybe there's a problem with this one 

>
> Best,
> Juli
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#71962; Package guix. (Sat, 06 Jul 2024 14:53:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#71962; Package guix. (Sat, 06 Jul 2024 16:10:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juliana Sims <juli <at> incana.org>
To: Z572 <873216071 <at> qq.com>
Cc: Juliana Sims via Bug reports for GNU Guix <bug-guix <at> gnu.org>,
 71962 <at> debbugs.gnu.org
Subject: Re: bug#71962: Flatpak applications fail to launch with
 systemd-related error
Date: Sat, 06 Jul 2024 12:08:36 -0400
Hi,
> Can you try another app, maybe there's a problem with this one

I have tried with literally every application I have installed through 
flatpak, and none of them work. Here's the complete list, in order by 
ID:

com.github.tchx84.Flatseal
com.github.vladimiry.ElectronMail
io.bassi.Amberol
io.freetubeapp.FreeTube
net.lutris.Lutris
org.gnome.Fractal
org.gnome.Podcasts
org.jitsi.jitsi-meet
us.zoom.Zoom
>> 

Thanks,
Juli






Information forwarded to bug-guix <at> gnu.org:
bug#71962; Package guix. (Sat, 06 Jul 2024 16:10:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#71962; Package guix. (Sun, 07 Jul 2024 07:56:02 GMT) Full text and rfc822 format available.

Message #20 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Z572 <873216071 <at> qq.com>
To: Juliana Sims via Bug reports for GNU Guix <bug-guix <at> gnu.org>
Cc: 71962 <at> debbugs.gnu.org, Juliana Sims <juli <at> incana.org>
Subject: Re: bug#71962: Flatpak applications fail to launch with
 systemd-related error
Date: Sun, 07 Jul 2024 15:52:33 +0800
[Message part 1 (text/plain, inline)]
Juliana Sims via Bug reports for GNU Guix <bug-guix <at> gnu.org> writes:

> Hi,
>> Can you try another app, maybe there's a problem with this one
>
> I have tried with literally every application I have installed through
> flatpak, and none of them work. Here's the complete list, in order by
> ID:
>
> com.github.tchx84.Flatseal
> com.github.vladimiry.ElectronMail
> io.bassi.Amberol
> io.freetubeapp.FreeTube
> net.lutris.Lutris
> org.gnome.Fractal
> org.gnome.Podcasts
> org.jitsi.jitsi-meet
> us.zoom.Zoom
>>> 
>
> Thanks,
> Juli

can you try run flatpak in "guix system vm" ? flatpak is all right with
me
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#71962; Package guix. (Sun, 07 Jul 2024 08:00:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#71962; Package guix. (Sun, 07 Jul 2024 17:52:01 GMT) Full text and rfc822 format available.

Message #26 received at 71962 <at> debbugs.gnu.org (full text, mbox):

From: Juliana Sims <juli <at> incana.org>
To: Z572 <873216071 <at> qq.com>
Cc: 71962 <71962 <at> debbugs.gnu.org>
Subject: Re: bug#71962: Flatpak applications fail to launch with
 systemd-related error
Date: Sun, 07 Jul 2024 13:50:07 -0400
How do you run flatpak in a system vm?

I've tried setting up flatpak inside the VM, which didn't work because 
I didn't persist the state; and exposing my user's home directory where 
all relevant flatpak files are stored, which gave an "unable to 
allocate session ID" error, which is distinct from the error I'm 
getting natively. I could try building an image with a persistent disk, 
but I figure if I'm running into issues running flatpak by sharing the 
relevant directories, making those directories over again inside the VM 
won't change things. I don't know how QEMU works well enough to noodle 
this one out on my own.

I also tested `guix shell --container' to ensure that cgroups work in 
other contexts, and they do. That combined with QEMU running fine leads 
me to eliminate user group membership and kernel configuration options 
(not that I've changed the kernel config from the default anyway) as 
potential causes of the error.

It's also worth noting that I'm experiencing the same issue on a 
different machine running Guix. They do share the base of their system 
configuration as well as the user configuration for my user account, 
though. I'll return to inspecting the configs for anything that might 
conflict.

Thanks for your ongoing help!







Information forwarded to bug-guix <at> gnu.org:
bug#71962; Package guix. (Tue, 23 Jul 2024 16:43:02 GMT) Full text and rfc822 format available.

Message #29 received at 71962 <at> debbugs.gnu.org (full text, mbox):

From: Juliana Sims <juli <at> incana.org>
To: 71962 <71962 <at> debbugs.gnu.org>
Cc: Z572 <873216071 <at> qq.com>
Subject: Re: bug#71962: Flatpak applications fail to launch with
 systemd-related error
Date: Tue, 23 Jul 2024 12:41:51 -0400
This issue persists and has worsened.

After looking into similar issue reports on Flatpak's GitHub 
repository, I tried removing gvfs from my system profile.  No luck.  I 
then also removed ntfs-3g and gnome-shell-extension-appindicator (after 
noticing the GNOME dropdown control panel now alerts to applications in 
the background) since I thought they may interact with parts of the 
system that cause issues.  Now whenever I try to launch Flatpak apps, 
my GNOME session crashes.






This bug report was last modified 126 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.