Comment 1 for bug 1745663

Revision history for this message
Scott Moser (smoser) wrote :

I talked with stgraber.
We have a couple options:
a.) if installed from snap, use
   some path down /var/snap/lxd as a console log path
  /var/snap/lxd/common/consoles (chmod 1777) or
  /var/snap/lxd/common/lxd/logs/CONTAINER-NAME/console.log

b.) use console --show-log
this requires liblxc > 3.0.

We could put into place code that did 'a' when it needed to (util.which('lxc').startswith('/snap')) and used 'b' if it could.