Hi list,

as the topic suggested I got GPG error in classic snap exactly like Bug
#1577926 [1] described. strace leads me to this syscall error:
[pid  2650] execve("/usr/bin/apt-key", ["/usr/bin/apt-key", "--quiet",
"--readonly", "verify", "--status-fd", "3", "/tmp/apt.sig.usElcl",
"/tmp/apt.data.BATaU7"], [/* 32 vars */]) = -1 EPERM (Operation not
permitted)

Since I use a custom kernel, I assume some config options and/or patches
are missing. Can someone please give a hint on the necessary kernel configs
for classic to work?

Here is some info on my device.
root@localhost:~# uname -a
Linux localhost.localdomain 4.4.24-rt33-xm21-i40-debug+ #1 PREEMPT RT Tue
Nov 22 16:10:15 CET 2016 i686 i686 i686 GNU/Linux
root@localhost:~# snap --version
snap    2.20
snapd   2.20
series  16
root@localhost:~# snap info classic
name:      classic
summary:   "Classic environment"
publisher: canonical
description: |
  Classic environment
commands:
  - classic
  - classic.create
  - classic.reset
tracking:  beta
installed: 16.04 (17) 4kB devmode
refreshed: 2016-10-05 10:18:36 +0200 CEST
channels:
  beta:    16.04 (17) 0B devmode
  edge:    16.04 (17) 0B devmode

Thanks a lot.

Jian

[1] https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1577926
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to