Bug#838517: lxc-alpine template broken

2016-10-28 Thread Evgeni Golov
control: tags -1 + patch

Hi Alexander,

On Wed, Sep 21, 2016 at 10:11:16PM +0200, Alexander Schier wrote:
> the alpine template for lxc seem to be broken:
> 
> $ LANG=C lxc-create -n mycontainer -t alpine
> Verification Failure

Thanks for the report!
This is fixed upstream in https://github.com/lxc/lxc/issues/609 and available 
in Debian since LXC 2.0.

If you do not want to upgrade to LXC 2.0 yet, the patch is trivial:
 https://github.com/lxc/lxc/commit/e00f9e4e7ab5a76cfd4068e09579f9f471666a90

We might include it in a stable update, but won't promise it :)

Greets
Evgeni



Bug#838517: lxc-alpine template broken

2016-09-21 Thread Alexander Schier
Package: lxc
Version: 1:1.0.6-6+deb8u3
Severity: normal

Dear Maintainer,
the alpine template for lxc seem to be broken:

$ LANG=C lxc-create -n mycontainer -t alpine
Determining the latest release... v3.4
Using static apk from
http://wiki.alpinelinux.org/cgi-bin/dl.cgi/v3.4/main/x86_64
Downloading alpine-mirrors-3.4.2-r0.apk
tar: Ignoring unknown extended header keyword 'APK-TOOLS.checksum.SHA1'
tar: Ignoring unknown extended header keyword 'APK-TOOLS.checksum.SHA1'
Downloading apk-tools-static-2.6.7-r0.apk
tar: Ignoring unknown extended header keyword 'APK-TOOLS.checksum.SHA1'
tar: Ignoring unknown extended header keyword 'APK-TOOLS.checksum.SHA1'
Downloading alpine-keys-1.1-r0.apk
tar: Ignoring unknown extended header keyword 'APK-TOOLS.checksum.SHA1'
tar: Ignoring unknown extended header keyword 'APK-TOOLS.checksum.SHA1'
tar: Ignoring unknown extended header keyword 'APK-TOOLS.checksum.SHA1'
tar: Ignoring unknown extended header keyword 'APK-TOOLS.checksum.SHA1'
tar: Ignoring unknown extended header keyword 'APK-TOOLS.checksum.SHA1'
alpine-de...@lists.alpinelinux.org-4a6a0840.rsa.pub: OK
Verification Failure
Failed to download a valid static apk
lxc_container: container creation template for mycontainer failed
lxc_container: Error creating container mycontainer


-- System Information:
Debian Release: 8.6
  APT prefers stable
  APT policy: (900, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-0.bpo.1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages lxc depends on:
ii  init-system-helpers  1.22
ii  libapparmor1 2.9.0-3
ii  libc62.19-18+deb8u6
ii  libcap2  1:2.24-8
ii  libseccomp2  2.1.1-1
ii  libselinux1  2.3-2
ii  multiarch-support2.22-0experimental1
ii  python3  3.4.2-2

Versions of packages lxc recommends:
ii  debootstrap  1.0.67
ii  openssl  1.0.1t-1+deb8u3
ii  rsync3.1.1-3

Versions of packages lxc suggests:
pn  lua5.2  


-- debconf information:
  lxc/title:
  lxc/shutdown: /usr/bin/lxc-halt
  lxc/directory: /var/lib/lxc
  lxc/auto: