flathub / com.slack.Slack

https://flathub.org/apps/details/com.slack.Slack
35 stars 36 forks source link

Slack fails to run for first time (bwrap read-only filesystem) #164

Closed Parent5446 closed 9 months ago

Parent5446 commented 2 years ago

When trying to run Slack from Flathub for the first time, it fails to start up, producing the following logs:

$ flatpak -v run com.slack.Slack                             
F: No installations directory in /etc/flatpak/installations.d. Skipping
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/tromeo/.local/share/flatpak
F: Opening user flatpak installation at path /home/tromeo/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: Opening user flatpak installation at path /home/tromeo/.local/share/flatpak
F: Opening system flatpak installation at path /var/lib/flatpak
F: /var/lib/flatpak/runtime/org.freedesktop.Platform/x86_64/21.08/e5aff027f1cfc1b950d476dab5159628f077a4ca114e87160a123df9cce700bf/files/lib32 does not exist
F: Cleaning up unused container id 784602491
F: Cleaning up per-app-ID state for com.slack.Slack
F: Cleaning up unused container id 621104787
F: Cleaning up per-app-ID state for com.slack.Slack
F: Allocated instance id 1519172143
F: Add defaults in dir /com/slack/Slack/
F: Add locks in dir /com/slack/Slack/
F: skipping export for path /home/tromeo/Documents
F: skipping export for path /home/tromeo/Pictures
F: skipping export for path /home/tromeo/Music
F: skipping export for path /home/tromeo/Videos
F: skipping export for path /home/tromeo/Downloads
F: skipping export for path /home/tromeo/.var/app
F: skipping export for path /home/tromeo/.var/app/com.slack.Slack
F: skipping export for path /home/tromeo/.local/share/flatpak
F: skipping export for path /home/tromeo
F: Allowing x11 access
F: Allowing pulseaudio access
F: Pulseaudio user configuration file '/home/tromeo/.config/pulse/client.conf': Error opening file /home/tromeo/.config/pulse/client.conf: No such file or directory
F: Running 'bwrap --args 41 xdg-dbus-proxy --args=43'
F: Running 'bwrap --args 41 slack'
bwrap: Can't mkdir parents for /home/tromeo/.var/app/com.slack.Slack/config/user-dirs.dirs: Read-only file system

I've tried uninstalling and reinstalling the flatpak, as well as manually clearing / creating the directory it's trying to create. My home directory is certainly not in a read-only filesystem since I can easily create the directory manually, so I'm not sure exactly what's happening here.

WhyNotHugo commented 2 years ago

Odd. Does /home/tromeo/.var/app/com.slack.Slack/ exist? What's in it?

Parent5446 commented 2 years ago

Yep looks like it's reasonably structured:

$ tree ~/.var/app/com.slack.Slack
/home/tromeo/.var/app/com.slack.Slack
├── cache
│   ├── fontconfig
│   └── tmp
├── config
└── data

5 directories, 0 files
evan-a-a commented 9 months ago

Closing due to age.