The strictly confined charm snap works fine on Xenial, but on Trusty it gives permission denied and bad system call errors.
Steps to reproduce:
sudo apt install snapd
sudo reboot now
sudo snap install charm
charm create foo # fails with "bad system call"
git clone https://github.com/battlemidget/juju-charm-ghost/ ghost
charm build . # fails with "permission denied"
The syslog during these commands is: https://pastebin.ubuntu.com/25522507/
The version difference between Xenial and Trusty is: https://pastebin.ubuntu.com/25522377/
Any help debugging this is appreciated.