Hello everyone.

I've read the whole thread and I am experiencing a related bug.

My specific scenario is that I'm creating a PDF (by exporting from Emacs
/ Org-Mode) that contains a link to a local video.  It may have been a
recent change in an AppArmor that has resulted in the videos not opening
anymore (or maybe a security patch?), but I'm not able to open either
mp4 or webm videos like I could with mpv.

I read the /etc/apparmor.d/abstractions/evince file, and added the
following to the /etc/apparmor.d/local/usr.bin.evince file:

    # vim:syntax=apparmor
    #
    # abstraction used by evince binaries
    #

      # supported archivers
      /usr/bin/mpv ixr,
      /usr/bin/totem ixr,
      /usr/bin/vlc ixr,

After performing:

    rolandog@computer:~$ sudo apparmor_parser --reload
/etc/apparmor.d/usr.bin.evince

I get the following error:

    profile /usr/bin/evince: has merged rule /usr/bin/totem with conflicting x 
modifiers
    ERROR merging rules for profile /usr/bin/evince, failed to load

Playback with mpv (the player I had set as default) still doesn't work
(is blocked by AppArmor), and, after running the following command, I
get the messages shown in the attached file:

    rolandog@computer:~$ grep audit /var/log/kern.log

After removing the totem line I get a similar error, but for vlc.  After
removing both the totem line and the vlc line, I don't get an error (and
I can launch mpv (the default I had set).

However, I'm torn because this worked for me, but there may be others
that may have similar use-cases to mine that would prefer other players.

** Attachment added: "Semi-anonymized matching audit kernel logs from rolandog"
   
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/462419/+attachment/5509133/+files/rolandog-apparmor-kernel-audit.txt

-- 
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to evince in Ubuntu.
https://bugs.launchpad.net/bugs/462419

Title:
  evince apparmor profile prevents movies from opening

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/462419/+subscriptions

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to