Apparmor rule of firefox does not include fcitx

Bug #2064348 reported by csslayer
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
New
Undecided
Rico Tzschichholz

Bug Description

The bug is about the firefox in http://ppa.launchpadcontent.net/mozillateam/ppa/ubuntu/pool/main/f/firefox/

Snap version seems work fine after merge https://github.com/snapcore/snapd/pull/12924

Briefly checking the /etc/apparmor.d/usr.bin.firefox, there's no reference to fcitx dbus services, which prevents it from communicate with fcitx.

Some other user that reports this issue on ubuntu-jp: https://lists.ubuntu.com/archives/ubuntu-jp/2023-May/006616.html

Ideally, #include <abstractions/fcitx> should be enough, but for now that only includes fcitx4's dbus service.

I created a MR to add the new service interface for fcitx5 at, but it would require a apparmor release.

https://gitlab.com/apparmor/apparmor/-/merge_requests/1222/diffs

As a fcitx dev I would suggest add both

#include <abstractions/fcitx>

and the changes in https://gitlab.com/apparmor/apparmor/-/merge_requests/1222/ to /etc/apparmor.d/usr.bin.firefox so the issue won't be blocked by apparmor release.

Revision history for this message
Amin Bandali (bandali) wrote :

Hello,

Would you be able to confirm which release(s) of Ubuntu you're seeing this on? I'm curious whether or not the Firefox deb package for focal (20.04) is also affected, besides the ones from the mozillateam ppa.

Changed in firefox (Ubuntu):
assignee: nobody → Rico Tzschichholz (ricotz)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.