unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#71962: Flatpak applications fail to launch with systemd-related error
@ 2024-07-06  1:32 Juliana Sims via Bug reports for GNU Guix
       [not found] ` <87zfquh91a.fsf@qq.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Juliana Sims via Bug reports for GNU Guix @ 2024-07-06  1:32 UTC (permalink / raw)
  To: 71962

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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#71962: Flatpak applications fail to launch with systemd-related error
       [not found] ` <87zfquh91a.fsf@qq.com>
@ 2024-07-06 14:47   ` Z572 via Bug reports for GNU Guix
  2024-07-06 16:08     ` Juliana Sims via Bug reports for GNU Guix
  0 siblings, 1 reply; 6+ messages in thread
From: Z572 via Bug reports for GNU Guix @ 2024-07-06 14:47 UTC (permalink / raw)
  To: 71962; +Cc: juli

[-- Attachment #1: Type: text/plain, Size: 2053 bytes --]

Juliana Sims via Bug reports for GNU Guix <bug-guix@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#71962: Flatpak applications fail to launch with systemd-related error
  2024-07-06 14:47   ` Z572 via Bug reports for GNU Guix
@ 2024-07-06 16:08     ` Juliana Sims via Bug reports for GNU Guix
       [not found]       ` <87r0c5hc5a.fsf@qq.com>
  0 siblings, 1 reply; 6+ messages in thread
From: Juliana Sims via Bug reports for GNU Guix @ 2024-07-06 16:08 UTC (permalink / raw)
  To: Z572; +Cc: 71962

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






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#71962: Flatpak applications fail to launch with systemd-related error
       [not found]       ` <87r0c5hc5a.fsf@qq.com>
@ 2024-07-07  7:52         ` Z572 via Bug reports for GNU Guix
  2024-07-07 17:50           ` Juliana Sims via Bug reports for GNU Guix
  0 siblings, 1 reply; 6+ messages in thread
From: Z572 via Bug reports for GNU Guix @ 2024-07-07  7:52 UTC (permalink / raw)
  To: 71962; +Cc: juli

[-- Attachment #1: Type: text/plain, Size: 631 bytes --]

Juliana Sims via Bug reports for GNU Guix <bug-guix@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#71962: Flatpak applications fail to launch with systemd-related error
  2024-07-07  7:52         ` Z572 via Bug reports for GNU Guix
@ 2024-07-07 17:50           ` Juliana Sims via Bug reports for GNU Guix
  2024-07-23 16:41             ` Juliana Sims via Bug reports for GNU Guix
  0 siblings, 1 reply; 6+ messages in thread
From: Juliana Sims via Bug reports for GNU Guix @ 2024-07-07 17:50 UTC (permalink / raw)
  To: Z572; +Cc: 71962

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!







^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#71962: Flatpak applications fail to launch with systemd-related error
  2024-07-07 17:50           ` Juliana Sims via Bug reports for GNU Guix
@ 2024-07-23 16:41             ` Juliana Sims via Bug reports for GNU Guix
  0 siblings, 0 replies; 6+ messages in thread
From: Juliana Sims via Bug reports for GNU Guix @ 2024-07-23 16:41 UTC (permalink / raw)
  To: 71962; +Cc: Z572

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.






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-07-23 16:43 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-06  1:32 bug#71962: Flatpak applications fail to launch with systemd-related error Juliana Sims via Bug reports for GNU Guix
     [not found] ` <87zfquh91a.fsf@qq.com>
2024-07-06 14:47   ` Z572 via Bug reports for GNU Guix
2024-07-06 16:08     ` Juliana Sims via Bug reports for GNU Guix
     [not found]       ` <87r0c5hc5a.fsf@qq.com>
2024-07-07  7:52         ` Z572 via Bug reports for GNU Guix
2024-07-07 17:50           ` Juliana Sims via Bug reports for GNU Guix
2024-07-23 16:41             ` Juliana Sims via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).