hi, Am Dienstag, den 14.02.2017, 10:53 +0800 schrieb XiaoGuo Liu: > Hi, > > Today, I just followed the instructions at: > > https://github.com/CanonicalLtd/ubuntu-core-docs/blob/master/en/refer > ence/core-configuration.md > > to disable ssh. However, I got the error like: > > liu-xiao-guo@localhost:~$ sudo snap set core service.ssh.disable=true > error: cannot perform the following tasks: > - Run configure hook of "core" snap > (/snap/core/1177/meta/hooks/configure: 62: > /snap/core/1177/meta/hooks/configure: systemctl: Permission denied) > > Is this a bug? It was tested on Raspberry Pi2 device, and my core > system info is like:
hmm, works fine on my pi2 install ...
ogra@localhost:~$ snap set core service.ssh.disable=true
ogra@localhost:~$ snap set core service.ssh.disable=false
ogra@localhost:~$
line 62 calls: "systemctl disable ssh.service"
do you get the same error if you call the above (with sudo) manually ?
could your SD card be full or have errors (and thus be mounted
readonly) ?
also check if the core-support interface is properly connected (it
should auto-connect, this would definitely be a bug):
ogra@localhost:~$ snap interfaces |grep core
:core-support core
ogra@localhost:~$
ciao
oli
signature.asc
Description: This is a digitally signed message part
-- Snapcraft mailing list [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft
