Public bug reported:

When attempting to snap install from the proposed package in Trusty I
hit this error:

Jan 14 20:27:23 darthbawlz snap[1796]: /usr/lib/snapd/snap-confine:
error while loading shared libraries: libapparmor.so.1: failed to map
segment from shared object: Permission denied

The snap is a classic snap and can be tested with:

snap install conjure-up --classic --edge

This also happens on non classic snaps as well:

ubuntu@darthbawlz:~$ sudo snap install htop
htop 2.0.2 from 'maxiberta' installed
ubuntu@darthbawlz:~$ htop
/usr/lib/snapd/snap-confine: error while loading shared libraries: 
libapparmor.so.1: failed to map segment from shared object: Permission denied

Versions:

ubuntu@darthbawlz:~$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"

snapd 2.21~14.04
Kernel: 3.13.0-107-generic
systemd 204

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: snapd (Ubuntu Trusty)
     Importance: Undecided
         Status: New


** Tags: conjure-up

** Tags added: conjure-up

** Description changed:

  When attempting to snap install from the proposed package in Trusty I
  hit this error:
  
  Jan 14 20:27:23 darthbawlz snap[1796]: /usr/lib/snapd/snap-confine:
  error while loading shared libraries: libapparmor.so.1: failed to map
  segment from shared object: Permission denied
  
  The snap is a classic snap and can be tested with:
  
  snap install conjure-up --classic --edge
  
  This also happens on non classic snaps as well:
  
  ubuntu@darthbawlz:~$ sudo snap install htop
  htop 2.0.2 from 'maxiberta' installed
  ubuntu@darthbawlz:~$ htop
  /usr/lib/snapd/snap-confine: error while loading shared libraries: 
libapparmor.so.1: failed to map segment from shared object: Permission denied
+ 
+ Versions:
+ 
+ ubuntu@darthbawlz:~$ cat /etc/lsb-release 
+ DISTRIB_ID=Ubuntu
+ DISTRIB_RELEASE=14.04
+ DISTRIB_CODENAME=trusty
+ DISTRIB_DESCRIPTION="Ubuntu 14.04.5 LTS"
+ 
+ snapd 2.21~14.04
+ Kernel: 3.13.0-107-generic
+ systemd 204

** Also affects: snapd (Ubuntu Trusty)
   Importance: Undecided
       Status: New

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

Title:
  snapd on trusty fails to install snap with error loading shared
  library

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

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

Reply via email to