Public bug reported:
dpb@helo:trunk[0]$ sudo snap install core; grep DENIED /var/log/kern.log | tail
-3
error: cannot perform the following tasks:
- Run configure hook of "core" snap if present
(/snap/core/1512/meta/hooks/configure: 133:
/snap/core/1512/meta/hooks/configure: sync: Permission denied)
Mar 20 16:00:35 helo kernel: [ 4055.231853] audit: type=1400
audit(1490047235.974:263): apparmor="DENIED" operation="open"
profile="snap.core.hook.configure" name="/run/snapd.socket" pid=15287
comm="snapctl" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
Mar 20 16:00:35 helo kernel: [ 4055.244562] audit: type=1400
audit(1490047235.990:264): apparmor="DENIED" operation="open"
profile="snap.core.hook.configure" name="/run/snapd.socket" pid=15293
comm="snapctl" requested_mask="wr" denied_mask="wr" fsuid=0 ouid=0
Mar 20 16:00:35 helo kernel: [ 4055.247226] audit: type=1400
audit(1490047235.990:265): apparmor="DENIED" operation="exec"
profile="snap.core.hook.configure" name="/bin/sync" pid=15299 comm="configure"
requested_mask="x" denied_mask="x" fsuid=0 ouid=0
I am not sure how I got in this situation, but I can't seem to install the core
snap now.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: snapd 2.22.6
ProcVersionSignature: Ubuntu 4.4.0-66.87-generic 4.4.44
Uname: Linux 4.4.0-66-generic x86_64
NonfreeKernelModules: nvidia_uvm zfs zunicode zcommon znvpair zavl nvidia_drm
nvidia_modeset nvidia
ApportVersion: 2.20.1-0ubuntu2.5
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Mar 20 15:57:31 2017
InstallationDate: Installed on 2015-03-18 (733 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150306)
SourcePackage: snapd
UpgradeStatus: Upgraded to xenial on 2016-02-16 (398 days ago)
** Affects: snapd (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug 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/1674484
Title:
snap install core failure: permission denied (apparmor)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1674484/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs