Hello community,

here is the log from the commit of package lxc for openSUSE:Factory checked in 
at 2016-06-21 11:30:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lxc (Old)
 and      /work/SRC/openSUSE:Factory/.lxc.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lxc"

Changes:
--------
--- /work/SRC/openSUSE:Factory/lxc/lxc.changes  2015-11-17 14:23:35.000000000 
+0100
+++ /work/SRC/openSUSE:Factory/.lxc.new/lxc.changes     2016-06-21 
12:29:25.000000000 +0200
@@ -1,0 +2,11 @@
+Fri Jun 10 17:16:42 CEST 2016 - [email protected]
+
+- Update to 2.0.1:
+  Lots of fixes and enhancements.
+  
https://linuxcontainers.org/lxc/news/#lxc-201-release-announcement-16th-of-may-2016
+- Add criu to recommends for C/R support
+- Add a workaround for lxc-start failure without apparmor:
+  lxc-aa_allow_incomplete-default.patch
+- Drop obsoleted patch:
+  lxc-1.0.7-fix-bashisms.patch
+-------------------------------------------------------------------

Old:
----
  lxc-1.0.7-fix-bashisms.patch
  lxc-1.1.5.tar.gz

New:
----
  lxc-2.0.1.tar.gz
  lxc-aa_allow_incomplete-default.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ lxc.spec ++++++
--- /var/tmp/diff_new_pack.mQeTZl/_old  2016-06-21 12:29:26.000000000 +0200
+++ /var/tmp/diff_new_pack.mQeTZl/_new  2016-06-21 12:29:26.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package lxc
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           lxc
-Version:        1.1.5
+Version:        2.0.1
 Release:        0
 Url:            http://linuxcontainers.org/
 Summary:        Userspace tools for the Linux kernel containers
@@ -26,7 +26,7 @@
 Source:         http://linuxcontainers.org/downloads/%{name}-%{version}.tar.gz
 Source1:        README.SUSE
 Source2:        lxc-createconfig.in
-Patch0:         lxc-1.0.7-fix-bashisms.patch
+Patch1:         lxc-aa_allow_incomplete-default.patch
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
@@ -54,6 +54,7 @@
 %{?systemd_requires}
 # needed to create openSUSE containers using template
 Recommends:     build
+Recommends:     criu >= 2.0
 
 %description
 It provides commands to create and manage containers. It contains a
@@ -76,7 +77,7 @@
 
 %prep
 %setup -q
-%patch0 -p1
+%patch1 -p1
 
 %build
 chmod 755 configure
@@ -138,6 +139,7 @@
 %{_mandir}/man[^3]/*
 %_unitdir/%{name}.service
 %_unitdir/%{name}-net.service
+%_unitdir/%{name}@.service
 %python3_sitearch/%{name}/
 %python3_sitearch/_%{name}*
 %dir  %{_sysconfdir}/apparmor.d
@@ -148,6 +150,7 @@
 %config %{_sysconfdir}/apparmor.d/lxc-containers
 %dir  %{_sysconfdir}/apparmor.d/lxc
 %config %{_sysconfdir}/apparmor.d/lxc/lxc-default
+%config %{_sysconfdir}/apparmor.d/lxc/lxc-default-cgns
 %config %{_sysconfdir}/apparmor.d/lxc/lxc-default-with-mounting
 %config %{_sysconfdir}/apparmor.d/lxc/lxc-default-with-nesting
 %config %{_sysconfdir}/apparmor.d/usr.bin.lxc-start

++++++ lxc-1.1.5.tar.gz -> lxc-2.0.1.tar.gz ++++++
++++ 53736 lines of diff (skipped)

++++++ lxc-aa_allow_incomplete-default.patch ++++++
---
 config/templates/opensuse.common.conf.in |    3 +++
 1 file changed, 3 insertions(+)

--- a/config/templates/opensuse.common.conf.in
+++ b/config/templates/opensuse.common.conf.in
@@ -1,6 +1,9 @@
 # This derives from the global common config
 lxc.include = @LXCTEMPLATECONFIG@/common.conf
 
+# workaround for lxc-start problem with apparomor
+lxc.aa_allow_incomplete = 1
+
 # Capabilities
 # Uncomment these if you don't run anything that needs the capability, and
 # would like the container to run with less privilege.

Reply via email to