HI, I have already porting ubuntu core to imx6ull platform.And the system running well.The new problem is the snapweb can not start. I follow two links to enable kernel features, also has error.
xxxx@localhost:~$ snap list
Name Version Rev Developer Notes
core 16-2.26.14 2466 canonical -
imx6ull-gadget 16.04-1 x1 -
imx6ull-kernel 4.1.15 x1 -
snapweb 0.26-10 305 canonical -
xxxx@localhost:~$ snap run snapweb
cannot change profile for the next exec call: No such file or directory
xxxx@localhost:~$ systemctl start snap.snapweb.snapweb.service
Failed to start snap.snapweb.snapweb.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files
See system logs and 'systemctl status snap.snapweb.snapweb.service' for details.
xxxx@localhost:~$ systemctl status snap.snapweb.snapweb.service
● snap.snapweb.snapweb.service - Service for snap application snapweb.snapweb
Loaded: loaded (/etc/systemd/system/snap.snapweb.snapweb.service; enabled; vendor preset: enabled)
Active: inactive (dead) (Result: exit-code) since Tue 2017-08-22 03:55:38 UTC; 2min 10s ago
Process: 1836 ExecStart=/usr/bin/snap run snapweb (code=exited, status=1/FAILURE)
Main PID: 1836 (code=exited, status=1/FAILURE)
I search more info above issue.And found it caused by ubuntu core developer has a set patch for ubuntu kernel.I checked the /var/lib/snapd/apparmor directory wasn’t exist.
Now, i have serial questions.
1.Did ubuntu core developer support those patch files?
2.Is it running when disable AppArmor?