[lxc-users] all lxc containers gone after update?

Tomasz Chmielewski mangoo at wpkg.org
Thu Feb 25 02:19:28 UTC 2016


On 2016-02-25 11:15, Tomasz Chmielewski wrote:
> Looks all my lxc containers are gone after some recent update:
> 
> # lxc-ls -f
> 
> (no output at all)
> 
> # lxc-attach -n somecontainer
> Error: container somecontainer is not defined

FYI, my /var/lib/lxc was a symbolic link to /some/other/mountpoint.

Looks like the upgrade removed that symbolic link and created an empty 
/var/lib/lxc directory.

Restoring the symbolic link "fixed" this.


Is it expected that /var/lib/lxc is removed when lxc is updated?


Tomasz Chmielewski
http://wpkg.org



More information about the lxc-users mailing list