Apparmor is denying evince from running vivaldi

Bug #1813339 reported by luagwoandersch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apparmor (Ubuntu)
Won't Fix
Undecided
Unassigned

Bug Description

It's similar to this bug https://bugs.launchpad.net/bugs/1432126 or discussed here; https://forum.vivaldi.net/topic/33591/vivaldi-opening-from-a-link-in-a-pdf-file/7

Apparmor is denying evince from running vivaldi by clicking on a http link

kernel: [ 3271.799807] audit: type=1400 audit(1548434352.941:114): apparmor="DENIED" operation="exec" profile="/usr/bin/evince" name="/opt/vivaldi/vivaldi" pid=6795 comm="exo-helper-1" requested_mask="x" denied_mask="x" fsuid=1000 ouid=0

Description: Ubuntu 18.04.1 LTS
Release: 18.04
vivaldi-stable: 2.2.1388.37-1
apparmor: 2.12-4ubuntu5.1
evince: 3.28.4-0ubuntu1

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

The path to vivaldi indicates that the application you are trying to launch is not in the Ubuntu repositories. To accommodate this sort of thing, apparmor profiles in Ubuntu ship files in /etc/apparmor.d/local for admins to modify. I suggest adding this to /etc/apparmor.d/local/usr.bin.evince:

  /opt/vivaldi/vivaldi PUxr,

then running:

  sudo apparmor_parser -r /etc/apparmor.d/usr.bin.evince # ie, without 'local/'

The PUxr rule will allow evince to launch vivaldi unconfined ('U') unless a profile is already defined for it ('P').

Changed in apparmor (Ubuntu):
status: New → Won't Fix
Revision history for this message
luagwoandersch (luagwoandersch) wrote :

Thank you for the reply! The evince (3.28.4-0ubuntu1.2) update done the trick.
So your suggested fix isn't needed anymore in this constellation.

Changed in apparmor (Ubuntu):
assignee: nobody → luagwoandersch (luagwoandersch)
assignee: luagwoandersch (luagwoandersch) → nobody
Revision history for this message
TomasHnyk (sup) wrote :

That is a very suboptimal solution. for the average user, it just does not work.

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.