I want to evaluate security feature of snap on my IoT device. But I got a error: “http://localhost/v2/users dial unix /run/snapd.socket”
Hardware: TI AM335x Starter Kit
Software: ti-processor-sdk-linux-am335x-evm-03.03.00.04-Linux-x86-Install(Linux version 4.4.41)
I use this kernel code for reference: https://github.com/snapcore/sample-kernels/tree/stable-4.4.y
I found zImage will cause the error.
I will get the error if I build kernel with this configs: “CONFIG_SECURITY_SELINUX=y, CONFIG_SECURITY_SMACK=y, CONFIG_SECURITY_APPARMOR=y, CONFIG_SECURITY_YAMA=y and CONFIG_DEFAULT_SECURITY_APPARMOR=y.”
I can also succeed to login with “ssh username@IPADDRESS” without those configs.
So is the snap security feature depends on those kernel security config? Can you kindly guide me how to solve this problem? @ogra
error: cannot obtain system details: cannot communicate with server: timeout exceeded while waiting for response
Press enter to configure.
After I pressed enter and configured the eth and got correct IP address: