[lxc-devel] [PATCH] Disabled building openSUSE containers on openSUSE 13.2 and openSUSE Tumbleweed due to faulty behaviour with newer versions of init_buildsystem (was: ATTENTION openSUSE Tumbleweed users: do not create containers)

Stéphane Graber stgraber at ubuntu.com
Thu Nov 27 22:51:47 UTC 2014


On Wed, Nov 26, 2014 at 08:20:05PM +0100, Johannes Kastl wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 14.11.2014 Johannes Kastl wrote:
> 
> > sorry if this turns out to be my fault, but on both of my openSUSE 
> > Tumbleweed machines lxc starts deleting rpms from the *host*
> > system during container creation.
> 
> I attach a patch, that has been used on openSUSE for the lxc package,
> which disables building openSUSE containers on openSUSE 13.2 or
> openSUSE Tumbleweed. Both of them contain a newer version of the build
> package, which leads to the error that the packages are deleted from
> the host system.
> 
> There is a bug report, but no solution yet. I am busy with other real
> world stuff right now, so maybe to protect users this patch should
> make it into stable-1.0?
> 
> Regards,
> Johannes
> - -- 
> Microsoft isn't the answer. Microsoft is the question, and the answer
> is NO. (unknown)
> -----BEGIN PGP SIGNATURE-----
> Comment: Using GnuPG with SeaMonkey - http://www.enigmail.net/
> 
> iEYEARECAAYFAlR2J+UACgkQzi3gQ/xETbLMGACeIv1wu2iuQZtbtpk39OzTthyn
> GWIAoI7xwvXwcI4TkwontC5uXKqF7UfY
> =oQXK
> -----END PGP SIGNATURE-----

> From bbc420928f01145668ea69b2dc9fd7c8840e796c Mon Sep 17 00:00:00 2001
> From: Johannes Kastl <git at ojkastl.de>
> Date: Wed, 26 Nov 2014 20:14:45 +0100
> Subject: [PATCH] Disabled building openSUSE containers on openSUSE 13.2 and
>  openSUSE Tumbleweed due to faulty behaviour with newer versions of
>  init_buildsystem
> 
> Signed-off-by: Johannes Kastl <git at ojkastl.de>

For master

Acked-by: Stéphane Graber <stgraber at ubuntu.com>

> ---
>  templates/lxc-opensuse.in | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/templates/lxc-opensuse.in b/templates/lxc-opensuse.in
> index 60b4ddc..6ef0f9b 100644
> --- a/templates/lxc-opensuse.in
> +++ b/templates/lxc-opensuse.in
> @@ -426,6 +426,11 @@ if [ -z "$path" ]; then
>      exit 1
>  fi
>  
> +if [ $(grep Harlequin /etc/os-release >/dev/null; echo $?) = 0 ]; then
> +    echo "Building containers on openSUSE 13.2 or Tumbleweed is broken at the moment. We are working on this problem."
> +    exit 1
> +fi
> +
>  if [ -z "$DISTRO" ]; then
>      echo ""
>      echo "No release selected, using openSUSE 12.3"
> -- 
> 2.1.3
> 

> _______________________________________________
> lxc-devel mailing list
> lxc-devel at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-devel


-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20141127/3b6f3da9/attachment.sig>


More information about the lxc-devel mailing list