Log into classic snap on 16.04 fails

I like to run snapcraft inside the classic snap on 16.04 because I accidentaly wiped my systems /usr/lib by using a wrong / in my snapcraft.yaml.

I installed classic with

sudo snap install classic --edge --devmode

But when I run

sudo classic

I get:

cp: cannot stat '/etc/writable/hostname': No such file or directory

What can I do?


The classic snap is designed to be able to run apt on an Ubuntu Core image, on a normal ubuntu system you should instead always use “snapcraft cleanbuild” which does all build steps inside an lxd container, not touching your host machine at all …