[lxc-users] deb -> snap usage issues

Tomasz Chmielewski mangoo at wpkg.org
Fri Mar 30 14:46:10 UTC 2018


I've noticed that cronjobs using "lxc" commands don't work on servers 
with LXD installed from a snap package.

It turned out that:

# which lxc
/snap/bin/lxc


Which is not in a $PATH when executing via cron.

In other words - lxc binary is in a $PATH when installed from a deb 
package, but is not when installed from a snap package.


Is it a bug, a feature?


Tomasz Chmielewski
https://lxadm.com


More information about the lxc-users mailing list