I installed both Spotify and Steam via Flatpak on my system (Fedora Workstation 41, Gnome Desktop).
From day one I got application crash notifications from both applications, but they seem to work just fine regardless. I googled around and found out that the Automatic Bug Reporting Tool (ABRT) is responsible for logging these problems and that it is also possible to exclude applications from being reported. It seems that all you have to do is to edit /etc/abrt/abrt-action-save-package-data.conf and blacklist those applications. I did so according to man 5 abrt-action-save-package-data.conf, but the notifications are still popping up.
It seems I am missing something. Perhaps the applications aren’t matched by the configuration file for some reason. How can I solve my problem and hide these application crash notifications?
On my system with steam installed from rpmfusion there is no subdirectory ~/.var/app/com.valvesoftware.Steam so that path is invalid.
There is a path ~/.local/share/Steam and several subdirectories there.
try
Blacklist = Steam, Spotify
BlackListedPaths = /home/christoph/.local/share/Steam*, /app/extra/share/spotify/*
The man page you referenced shows this
BlackList = list
Crashes in packages listed here will be ignored by ABRT.
Default is bash, mono-core, nspluginwrapper, strace, valgrind.
BlackListedPaths = list
Crashes in paths matching the glob patterns in this list will be ignored by ABRT.
Which implies the BlackList should only be the package names and the BlackListedPaths should be globs
Since spotify is not a fedora package I am not sure how that works, and the path you show is not one I am familiar with. I do not have a directory named /app on my system.
I think you are on to something @computersavvy . I am not very knowledgeable about how Flatpak is doing things so I probably am not very precise, but I think because Flatpak applications are being isolated the path to an application on the file system is different than what is being used by Flatpak. A Flatpak application seems to create a whole new isolated environment.
I just used application names and paths listed when opening the Problem Details of an entry in Problem Reporting. Although the path /home/christoph/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_64/steamwebhelper exists on my system, the path /app/extra/share/spotify/spotify does not.
I will try to figure out what paths to use here. Perhaps man flatpak can help. Should I be unable to come up with something I will ask the Flatpak community as well.
The complexity of the path for steam is one of the reasons I do not use flatpaks unless absolutely necessary. I use steam installed from rpmfusion and have no problems.
I have the same issue for Spotify, but not for a flatpak, but a snap.
I tried to blacklist the path but problem reporter doesn’t seem to respect the blacklist and I get the notifications of crashes anyways, even though Spotify is working absolutely fine.
I don’t have a solution, just saying this is not a flatpak specific issue. It would be great to have some more notification options in these applications.