In another re-create scenario, you can see this fail on bionic.
a.) launch bionic image somewhere
b.) sudo sh -xc 'echo overlayroot=tmpfs > /etc/overlayroot.local.conf && reboot'
c.) $ sudo snap install lxd
2018-10-11T17:44:22Z INFO Waiting for restart...
error: cannot perform the following tasks:
- Run install hook of "lxd" snap if present (run hook "install": cannot create lock directory /run/snapd/lock: Permission denied)
In another re-create scenario, you can see this fail on bionic. t.local. conf && reboot' 11T17:44: 22Z INFO Waiting for restart...
a.) launch bionic image somewhere
b.) sudo sh -xc 'echo overlayroot=tmpfs > /etc/overlayroo
c.) $ sudo snap install lxd
2018-10-
error: cannot perform the following tasks:
- Run install hook of "lxd" snap if present (run hook "install": cannot create lock directory /run/snapd/lock: Permission denied)