Public bug reported:

I can't run any snaps from the GUI terminal, because ubuntu-core-
launcher can't get to libraries that it needs. When run from Gnome
terminal:

ben@zelan:~$ snap install hello
0 B / 64.00 KB [_______________________________________________________] 0.00 % 

hello (stable) 2.10 from 'canonical' installed
ben@zelan:~$ hello
/usr/bin/ubuntu-core-launcher: error while loading shared libraries: 
libdl.so.2: cannot open shared object file: No such file or directory

Dmesg says:

[19542.607966] audit: type=1400 audit(1472150284.714:75):
apparmor="DENIED" operation="open" profile="/usr/lib/snapd/snap-confine"
name="/lib/x86_64-linux-gnu/libdl-2.23.so" pid=3825 comm="ubuntu-core-
lau" requested_mask="r" denied_mask="r" fsuid=0 ouid=0

However, if I ssh locally, or I switch to a VT, it works:

ben@zelan:~$ ssh localhost
ben@localhost's password: 
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-36-generic x86_64)

ben@zelan:~$ hello
Hello, world!

I've tried re-installing all of the packages I think are related to
snaps (snapd, snap-confine, and ubuntu-core-launcher), but that did not
change things.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snap-confine 1.0.38-0ubuntu0.16.04.9
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Aug 25 14:35:50 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-03-18 (159 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: snap-confine
UpgradeStatus: Upgraded to xenial on 2016-07-27 (29 days ago)

** Affects: snap-confine (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug package-from-proposed third-party-packages xenial

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

Title:
  can't start snaps from GUI terminal, works in VT/ssh

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snap-confine/+bug/1617030/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to