Rocky Linux 9.8 - Gnome Evolution crashes on lunch

Hello,

update from 9.7 to 9.8 today and since Evolution doesn’t start anymore.

Context: 0365 account.

Error message at start:

$ evolution
bwrap: Can’t find source path /root/.local/share/flatpak/exports/share/fonts: Permission denied

** (evolution:66838): ERROR **: 17:34:20.221: Connection: failed to receive credentials: Expecting to read a single byte for receiving credentials but read zero bytes
Trace/breakpoint trap (core dumped)

Looking at gdb, it seems that webkitgtk doesn’t start ( is it relative to bwrap messages ?!?).

Is anyone else experiencing this behavior?

jrff

Are you running the flatpak as root? if not, you do not have permissions to the fonts directory in the root home area, which is a good think. As the user, I would run a flatpak called “main menu” to determine the home location and make sure it is pointed to my user home. I would maybe remove/reinstall evolution. Not sure what that would do to your existing settings as a warning. Should not do anything, and probably would pick up the same configuration as a result.

Gnome Evolution is from rpm (not from flatpak) and started from regular user.

libproxy-webkitgtk4-0.4.15-35.el9.x86_64
qt5-qtwebkit-5.212.0-0.75alpha4.el9.x86_64
evolution-ews-langpacks-3.40.4-3.el9.noarch
evolution-ews-3.40.4-3.el9.x86_64
evolution-data-server-langpacks-3.40.4-10.el9.noarch
evolution-data-server-3.40.4-10.el9.x86_64
evolution-data-server-ui-3.40.4-10.el9.x86_64
webkit2gtk3-jsc-2.52.3-1.el9_8.x86_64
webkit2gtk3-2.52.3-1.el9_8.x86_64
evolution-langpacks-3.40.4-12.el9.noarch
evolution-3.40.4-12.el9.x86_64
evolution-help-3.40.4-12.el9.noarch

And no, never used flatpak from root.

Well, I’m thinking remove/reinstall evolution this w-e but I’m not too confident about the outcome.

jeff

Just checked on a completely new install (Minimal → Workstation). I am getting the same error starting evolution.

The Cause:

The $HOME environment variable (is) APPEARS to be set to /root. This causes the /etc/profile.d/flatpak.sh to set the XDG_DATA_DIRS with the path /root/.local… I saw $HOME as /root checking my test user account. Now that I am checking it again, $HOME is correct /home/. XDG still has /root obtained from /etc/profile.d/flatpak.sh during the login process.

Test:

The environment variable XDG_DATA_DIRS has the path with /root in it. As as test, open a terminal and type env | grep -i XDG_DATA_DIRS and you will see it. In the terminal, remove it from XDG_DATA_DIRS and it should launch from the terminal.

Still looking for why $HOME is set to /root for the accounts when flatpak.sh is being executed. This is unique to Rocky 9.8. The issue is not present in RHEL 9.8.

It doesn’t work for me either. I updated from 9.7.
I don’t understand what flatpack has to do with it, but I read that they’re planning to move Evolution to flatpack in future versions of RHEL.
I don’t understand what Evolution has to do with it, since it’s part of Gnome.

Ticket @ https://bugs.rockylinux.org/view.php?id=12904

I update to evolution-3.40.4-12.el9_8.x86_64 - all works ! (closed)

It could well be because new systemd packages were released yesterday and that this actually solved the problem.