debootstrap: lack of devuan support
             Thedebootstrappackage doesn't have a template for Devuan.
            
             I'm testing with porting the/usr/share/lxc/templates/lxc-debianto make it bootstrap devuan instead.  The template retrieves the release information from:$MIRROR/dists/stable/Release.
            
There are two problems with this method:
- 
              $MIRROR should point tohttp://packages.devuan.org/devuanto hit the right Release file, so it doesn't necessarily work with all "$MIRROR".
- 
              TheCodenamefield is used to retrieve the release name, but in our Release file,Codename: None.
Therefore this issue is to:
- 
              
              correctReleasefile to include the release codename
- 
              
              correctlxcto add anlxc-devuantemplate (moved to devuan-packages/lxc#1 )
RESOLUTION
             The first point was a mistake due to using a wrong mirror fordebootstrap.  The right mirror ishttp://auto.mirror.devuan.org/merged.
            
The second point moved to devuan-packages/lxc#1
- 
            @hellekin : can you please provide more context?? - 
                  The release "Codename" in http://packages.devuan.org/devuan/dists/stable/Release is set to "jessie" 
- 
                  Our debootstrap package does set $MIRROR to http://packages.devuan.org/devuan 
 
- 
                  
- 
            - No it's not:
 wget -q -O- http://packages.devuan.org/devuan/dists/stable/Release | head Origin: Devuan Label: 1.0 Suite: jessie Version: 1.0.0 Codename: None Date: Mon, 07 Mar 2016 17:03:39 UTC Valid-Until: Mon, 14 Mar 2016 17:03:39 UTC Architectures: alpha amd64 arm64 armel armhf hppa i386 ia64 mips mipsel powerpc ppc64el s390x sparc Components: main contrib non-free MD5Sum:Codename is set to None. - 
                  Matching onSuiteinstead ofCodenameI get:
 lxc-create -n discourse -t devuan debootstrap is /usr/sbin/debootstrap Checking cache download in /var/cache/lxc/devuan/rootfs-jessie-amd64 ... Downloading devuan minimal ... I: Retrieving Release I: Retrieving Release.gpg I: Checking Release signature I: Valid Release signature (key id 72E3CB773315DFA2E464743D94532124541922FB) I: Retrieving Packages I: Validating Packages I: Resolving dependencies of required packages... I: Resolving dependencies of base packages... I: Found additional required dependencies: libfdisk1 sysvinit-core I: Checking component main on http://packages.devuan.org/devuan... E: Couldn't find these debs: apt ifupdown dialog openssh-server netbase lsof libui-dialog-perl isc-dhcp-client locales iproute zsh net-tools Failed to download the rootfs, aborting. Failed to download 'devuan base' failed to install devuan lxc_container: container creation template for discourse failed lxc_container: Error creating container discourseP.S.: running debootstrap 1.0.75-1+devuan1Edited by hellekin
- 
            Thats because your using the /devuan repo and not /merged which is correct! wget -q -O- http://packages.devuan.org/merged/dists/stable/Release | head Origin: Devuan Label: Devuan Suite: stable Version: 1.0 Codename: jessie Date: Mon, 07 Mar 2016 08:01:19 UTC Valid-Until: Mon, 14 Mar 2016 08:01:19 UTC Architectures: alpha amd64 arm64 armel armhf hppa i386 ia64 mips mipsel powerpc ppc64el s390x sparc Components: main contrib non-free Description: Devuan 1.0 Jessie (unreleased yet)Edited by Daniel Reurich
- 
            OK works with http://packages.devuan.org/merged./devuanonly contains information about Devuan-specific packages. The full repository is accessible via/merged.Now lxcstill misses a devuan template. Do we have anlxcproject somewhere in the gitlab?
- 
            I'm tempted to close this issue unless there's need for an LXC group to address the missing devuan template. 
- 
            I'd suggest starting with the template mentioned here: http://permalink.gmane.org/gmane.linux.kernel.containers.lxc.general/5102 and modifying it for devuan. Probably should fork the lxc package. 
- 
            @hellekin - Can you create a new project "lxc" in devuan-packages and create an issue with the milestone "1.0-rc1 Jessie Release Candidate". I think it is important to have a good lxc that includes installation templates for Devuan. 
- 
            Done: devuan-packages/lxc#1 I created an empty package and milestone for now. 
- 
            Marked the task correct Releasefile to include the release codename as completed
- 
            Status changed to closed 
 
            
               
              