Open avidseeker opened 4 months ago
Foliate doesn't depend on DBus directly. It's probably used by WebKitGTK.
@johnfactotum This comment fixed the issue with Foliate installed from deb package/ppa. https://github.com/johnfactotum/foliate/issues/1271#issuecomment-2016575770
How about manually adding the file /etc/apparmor.d/foliate
to the .deb package/PPA?
Alternatively I can add a new hotfix package to the PPA which will install the /etc/apparmor.d/foliate
file, and foliate will pull that hotfix package as a dependency.
I would be hesitant to do that as it seems like a workaround that could be potentially unsafe. It'd be better if one can fix the underlying issue, though I'm not sure what that is. Probably Bubblewrap, used by WebKitGTK, has problem running in AppArmor.
Similar issue reported for VS Code in Ubuntu 24.04. However, I am unsure if the proposed apparmor fix for vscode will also fix the Foliate issue. https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2056517
I reported a Launchpad bug against apparmor for Foliate https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/2060767
I'm launching foliate within a chroot environment (systemd-nspawn). The chroot is set up for launching X11 applications. E.g: tested on Firefox.
It seems that it is dependent on dbus? Curious why it needs dbus, and whether there is a way to remove that dependency?