By the end of the previous comment I had experienced a weird bug.  But I
decided to post it here as a separate comment because this is still
relevant to this thread.

I resolved the issues by:

1. changing the default player
2. opening a PDF document that contains a link to a local video
3. clicking the link to the video (and failing to open)
4. closing evince and opening the same document again
5. clicking the link to the video again (and succeeding this time)

I had to reproduce those steps for both totem and for vlc, ... but now,
everything just works!

After that initial hurdle, changing default players results in opening
the correct default video player.

I'm not really sure what happened, but the issue just fixed itself.

There are still some odd messages in the kernel log (see attached file).

I don't know if this is reproducible elsewhere, or if this bug should be
marked as resolved or not, as I'm way past due to do a clean install of
the newest Ubuntu:

    rolandog@computer:~$ lsb_release -rd
    Description:        Ubuntu 20.10
    Release:    20.10

    rolandog@computer:~$ apt-cache policy evince
    evince:
      Installed: 3.38.0-1
      Candidate: 3.38.0-1
      Version table:
     *** 3.38.0-1 500
            500 http://nl.archive.ubuntu.com/ubuntu groovy/main amd64 Packages
            100 /var/lib/dpkg/status

I hope this helps out someone getting unexpected behavior.

** Attachment added: "rolandog-apparmor-kernel-audit-2.txt"
   
https://bugs.launchpad.net/ubuntu/+source/apparmor/+bug/462419/+attachment/5509157/+files/rolandog-apparmor-kernel-audit-2.txt

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

Title:
  evince apparmor profile prevents movies from opening

Status in apparmor package in Ubuntu:
  Fix Released
Status in evince package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: evince

  Trying to open a movie with vlc or totem from within evince. I get the
  error: "Failed to execute child process vlc (Permission denied)". The
  same with totem.

  I have been looking at all the "apparmor prevents" bugs that have been
  reported of late. DVI printing, chromium, etc... the package
  maintainers' strategy has been to add an exceptions to the apparmor
  profile as the bugs come in. May I comment that this is a ludicrous
  situation? There are going to be numerous helper applications that
  people might want to use within a PDF file... why is apparmor blocking
  them all?

  [22:47][kirkwood][~] > lsb_release -rd
  Description:    Ubuntu 9.10
  Release:        9.10
  [22:48][kirkwood][~] > apt-cache policy evince
  evince:
    Installed: 2.28.1-0ubuntu1
    Candidate: 2.28.1-0ubuntu1
    Version table:
   *** 2.28.1-0ubuntu1 0
          500 http://us.archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status

  Expected to happen: movie opens when clicked on
  What happens instead: help application (totem/vlc) prevented from running by 
apparmor
  Reproducible: 100%

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to