Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 655020

Summary: app-emulation/lxc - lxc-templates needed for >=lxc-3.0.0 because distribution config/template files are missing after upgrade
Product: Gentoo Linux Reporter: Joachim Herb <joachim.herb>
Component: New packagesAssignee: Virgil Dupras (RETIRED) <vdupras>
Status: RESOLVED FIXED    
Severity: normal CC: dlan, hwoarang, stasibear, virtualization
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 652582    
Bug Blocks:    

Description Joachim Herb 2018-05-05 23:09:56 UTC
The config files for containers (of a certain distribution) are missing after an upgrade von lxc-2.x.x to lxc-3.0.0, e.g. /usr/share/lxc/config/debian.common.conf

Upstream these configs (and templates) have been moved into a separate github repository:
https://github.com/lxc/lxc-templates

There is a release at https://github.com/lxc/lxc-templates/archive/lxc-templates-3.0.0.tar.gz

It can be build/installed with:
./autogen.sh
./configure --prefix=/usr/
make
make isntall
Comment 1 Joachim Herb 2018-05-05 23:19:20 UTC
And even after installing this package, the files common.conf and userns.conf are missing.
Comment 2 Joachim Herb 2018-05-05 23:23:32 UTC
Ok, these files (common.conf and userns.conf) are part the lxc-package.
Comment 3 Larry the Git Cow gentoo-dev 2018-06-16 02:21:02 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0635c582097d984143cc26dbfdeccf369235e9cf

commit 0635c582097d984143cc26dbfdeccf369235e9cf
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-06-16 02:16:27 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-06-16 02:20:14 +0000

    app-emulation/lxc: add templates USE flag
    
    Since v3.0, LXC bundles old style templates separately. This USE flags
    brings back the old behavior of installing templates by default.
    
    Closes: https://bugs.gentoo.org/655020
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-emulation/lxc/lxc-3.0.1.ebuild | 4 +++-
 app-emulation/lxc/metadata.xml     | 1 +
 2 files changed, 4 insertions(+), 1 deletion(-)