kde abstraction does not know about Qt5, breaks adwaita-qt

Bug #1787201 reported by intrigeri
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppArmor
New
Undecided
Unassigned

Bug Description

A Qt5 application confined by a profile that includes abstractions/kde, on a system with adwaita-qt installed, is rendered in an ugly and unexpected way. The Journal explains why:

  apparmor="DENIED" operation="file_mmap" profile="/usr/bin/onionshare-gui" name="/usr/lib/x86_64-linux-gnu/qt5/plugins/styles/adwaita.so"

Looks like the kde abstraction only supports Qt3 and Qt4. Debian has dropped Qt3 for years and is now trying hard to drop Qt4 as well, so this abstraction could benefit from a nice little refresh :)

Tags: aa-policy
Revision history for this message
Vincas Dargis (talkless) wrote :

We now have `qt5` abstraction, that should deal with this deny:
https://gitlab.com/apparmor/apparmor/blob/b1967c892a7b63e8b0f5e1d09d0027a4e04bb6b4/profiles/apparmor.d/abstractions/qt5#L6

I guess `kde` abstraction could include it by default..?

Revision history for this message
intrigeri (intrigeri) wrote : Re: [Bug 1787201] Re: kde abstraction does not know about Qt5, breaks adwaita-qt

Vincas Dargis:
> We now have `qt5` abstraction, that should deal with this deny:
> https://gitlab.com/apparmor/apparmor/blob/b1967c892a7b63e8b0f5e1d09d0027a4e04bb6b4/profiles/apparmor.d/abstractions/qt5#L6

Oh, I did not know or remember. Thanks a lot!

> I guess `kde` abstraction could include it by default..?

I think so.

Revision history for this message
Vincas Dargis (talkless) wrote :
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.