[pkg-lxc-devel] Bug#923931: upgrade breaks old containers
Antonio Terceiro
terceiro at debian.org
Thu Mar 7 18:04:42 GMT 2019
On Thu, Mar 07, 2019 at 12:49:21PM +0100, Harald Dunkel wrote:
> Package: lxc
> Version: 1:3.1.0+really3.0.3-5
>
> After the upgrade to lxc 3 the old containers created by
> lxc 2 don't work anymore, even though lxc-update-config has
> been run (manually). The config files still contain template
> specific include statements, e.g.
>
> lxc.include = /usr/share/lxc/config/debian.common.conf
>
> These files are not included in lxc 3. They are included in
> lxc-templates, but this package was not installed during the
> upgrade.
>
> I would suggest to either add "Depends: lxc-templates" to
> the package dependencies, or to move the lost template specific
> include files back into the lxc 3 package.
This only happens if you turn recommends off.
templates are considered deprecated by upstream, and while we are
keepking them around I don't think we should have a hard dependency on
them. Under the default APT settings lxc-templates will come together
with lxc on upgrades, but maybe we could add a NEWS entry about needing
lxc-templates if you have legacy containers *and* turns recommends off.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-lxc-devel/attachments/20190307/b8ff9456/attachment.sig>
More information about the Pkg-lxc-devel
mailing list