commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-10-23 12:21:40 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.3463 (New) Package is "lxd" Fri Oct 23 12:21:40 2020 rev:21 rq:842269 version:4.7 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-09-22 21:11:58.623971165 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.3463/lxd.changes2020-10-23 12:22:47.296701103 +0200 @@ -1,0 +2,16 @@ +Sat Oct 17 09:03:58 UTC 2020 - Aleksa Sarai + +- Update to LXD 4.7. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-7-has-been-released/9213 + boo#1177825 + + + Backup (export/import) of custom storage volumes + + Import of instances with alternative name + + Virtual machine memory shrinking (and re-grow) + + USB device passthrough for virtual machines + + Configurable rsync compression in migration + + Restrict available uplinks for project networks + + Add new physical managed network type + + Support for external routed addresses/subnets on OVN + +--- Old: lxd-4.6.tar.gz lxd-4.6.tar.gz.asc New: lxd-4.7.tar.gz lxd-4.7.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.aIqcul/_old 2020-10-23 12:22:49.468702613 +0200 +++ /var/tmp/diff_new_pack.aIqcul/_new 2020-10-23 12:22:49.472702615 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:4.6 +Version:4.7 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 @@ -119,6 +119,8 @@ # We have a temporary-install directory which contains all of the dylib deps. export PKG_CONFIG_SYSROOT_DIR="$INSTALL_ROOT" export PKG_CONFIG_PATH="$INSTALL_LIBDIR/pkgconfig" +# For some reason, Leap need us to specify this explicitly now. +export CPPFLAGS="-I$INSTALL_INCLUDEDIR" # raft pushd "$PKGDIR/_dist/deps/raft" ++ lxd-4.6.tar.gz -> lxd-4.7.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-4.6.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.3463/lxd-4.7.tar.gz differ: char 15, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-09-22 21:11:32 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.4249 (New) Package is "lxd" Tue Sep 22 21:11:32 2020 rev:20 rq:835983 version:4.6 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-08-29 20:44:33.893520646 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.4249/lxd.changes2020-09-22 21:11:58.623971165 +0200 @@ -1,0 +2,11 @@ +Sat Sep 19 04:50:10 UTC 2020 - Aleksa Sarai + +- Update to LXD 4.6. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-6-has-been-released/8981 + boo#1176737 + + + Networks in projects + + AppArmor profiles for qemu + - Removal of custom sqlite fork. + +--- Old: lxd-4.5.tar.gz lxd-4.5.tar.gz.asc New: lxd-4.6.tar.gz lxd-4.6.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.ktFNX6/_old 2020-09-22 21:12:01.015973256 +0200 +++ /var/tmp/diff_new_pack.ktFNX6/_new 2020-09-22 21:12:01.019973260 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:4.5 +Version:4.6 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 @@ -47,14 +47,14 @@ BuildRequires: rsync # Due to a limitation in openSUSE's Go packaging we cannot have a BuildRequires # for 'golang(API) >= 1.14' here, so just require 1.14 exactly. bsc#1172608 +BuildRequires: sqlite3-devel >= 3.25 BuildRequires: golang(API) = 1.14 BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(lxc) >= 3.0.0 -# Needed to build the sqlite fork and dqlite. +# Needed to build dqlite and raft. BuildRequires: autoconf BuildRequires: libtool BuildRequires: pkgconfig(libuv) >= 1.8.0 -BuildRequires: pkgconfig(tcl) # Bits required for images and other things at runtime. Requires: acl Requires: ebtables @@ -120,30 +120,6 @@ export PKG_CONFIG_SYSROOT_DIR="$INSTALL_ROOT" export PKG_CONFIG_PATH="$INSTALL_LIBDIR/pkgconfig" -# SQLite -pushd "$PKGDIR/_dist/deps/sqlite" -autoreconf -fiv -%configure \ - --libdir="%{_libdir}/%{name}" \ - --disable-static \ - --enable-replication \ - --disable-tcl -make clean -make %{?_smp_mflags} -make DESTDIR="$INSTALL_ROOT" install -popd - -# libco -pushd "$PKGDIR/_dist/deps/libco" -make \ - CFLAGS="$CFLAGS" \ - PREFIX="" \ - INCLUDEDIR="%{_includedir}" \ - LIBDIR="%{_libdir}/%{name}" \ - DESTDIR="$INSTALL_ROOT" \ - all install -popd - # raft pushd "$PKGDIR/_dist/deps/raft" autoreconf -fiv ++ lxd-4.5.tar.gz -> lxd-4.6.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-4.5.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.4249/lxd-4.6.tar.gz differ: char 13, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-08-29 20:44:15 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.3399 (New) Package is "lxd" Sat Aug 29 20:44:15 2020 rev:19 rq:830383 version:4.5 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-08-01 12:32:34.454535337 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.3399/lxd.changes2020-08-29 20:44:33.893520646 +0200 @@ -1,0 +2,15 @@ +Sat Aug 29 02:59:26 UTC 2020 - Aleksa Sarai + +- Update to LXD 4.5. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-5-has-been-released/8824 + boo#1175910 + + + Initial support for OVN virtual networks + + Initial bpf syscall interception + * Support for native terminal device allocation + * VGA console now working on Windows + * Improved handling of remote storage pools + * forkdns and forkproxy now running under AppArmor confinement + + lxc move now let’s you select a cluster target too + +--- Old: lxd-4.4.tar.gz lxd-4.4.tar.gz.asc New: lxd-4.5.tar.gz lxd-4.5.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.UD9ABO/_old 2020-08-29 20:44:34.957521090 +0200 +++ /var/tmp/diff_new_pack.UD9ABO/_new 2020-08-29 20:44:34.961521093 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:4.4 +Version:4.5 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 ++ lxd-4.4.tar.gz -> lxd-4.5.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-4.4.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.3399/lxd-4.5.tar.gz differ: char 23, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-08-01 12:32:09 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.3592 (New) Package is "lxd" Sat Aug 1 12:32:09 2020 rev:18 rq:823864 version:4.4 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-07-03 00:14:45.288531866 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.3592/lxd.changes2020-08-01 12:32:34.454535337 +0200 @@ -1,0 +2,17 @@ +Sat Aug 1 07:14:32 UTC 2020 - Aleksa Sarai + +- Update to LXD 4.4. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-4-has-been-released/8574 + boo#1174789 + + + VGA console for virtual machines + + Clustering failure domains + + /dev/lxd API in virtual machines + + Graceful daemon shutdown + + macvlan and sriov managed network types + + Disk usage limits in projects + + AppAmor confinement for dnsmasq + + GPU mediated devices in resources API + + --console option in lxc launch + +--- Old: lxd-4.3.tar.gz lxd-4.3.tar.gz.asc New: lxd-4.4.tar.gz lxd-4.4.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.aN14Om/_old 2020-08-01 12:32:35.962537358 +0200 +++ /var/tmp/diff_new_pack.aN14Om/_new 2020-08-01 12:32:35.966537364 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:4.3 +Version:4.4 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 @@ -46,8 +46,8 @@ BuildRequires: pkg-config BuildRequires: rsync # Due to a limitation in openSUSE's Go packaging we cannot have a BuildRequires -# for 'golang(API) >= 1.13' here, so just require 1.13 exactly. bsc#1172608 -BuildRequires: golang(API) = 1.13 +# for 'golang(API) >= 1.14' here, so just require 1.14 exactly. bsc#1172608 +BuildRequires: golang(API) = 1.14 BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(lxc) >= 3.0.0 # Needed to build the sqlite fork and dqlite. ++ lxd-4.3.tar.gz -> lxd-4.4.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-4.3.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.3592/lxd-4.4.tar.gz differ: char 13, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-07-03 00:11:21 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.3060 (New) Package is "lxd" Fri Jul 3 00:11:21 2020 rev:17 rq:818201 version:4.3 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-06-19 16:50:00.446442169 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.3060/lxd.changes2020-07-03 00:14:45.288531866 +0200 @@ -1,0 +2,14 @@ +Thu Jul 2 02:12:53 UTC 2020 - Aleksa Sarai + +- Update to LXD 4.3. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-3-has-been-released/8303 + boo#1173608 + + + Block custom storage volumes + + VM: Initial work for graphical console + * VM: Rework of PCIe layout + + VM: GPU passthrough + * Direct console attach on lxc start and lxc restart + * Isolated CPUs reporting in resources API + +--- Old: lxd-4.2.tar.gz lxd-4.2.tar.gz.asc New: lxd-4.3.tar.gz lxd-4.3.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.gPAv7o/_old 2020-07-03 00:14:49.348545309 +0200 +++ /var/tmp/diff_new_pack.gPAv7o/_new 2020-07-03 00:14:49.348545309 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:4.2 +Version:4.3 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 ++ lxd-4.2.tar.gz -> lxd-4.3.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-4.2.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.3060/lxd-4.3.tar.gz differ: char 13, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-06-19 16:49:03 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.3606 (New) Package is "lxd" Fri Jun 19 16:49:03 2020 rev:16 rq:812999 version:4.2 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-04-25 20:35:13.250875328 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.3606/lxd.changes2020-06-19 16:50:00.446442169 +0200 @@ -1,0 +2,32 @@ +Fri Jun 5 23:58:50 UTC 2020 - Aleksa Sarai + +- Update to LXD 4.2. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-2-has-been-released/8071 + bsc#1172605 + + + VLAN filtering on bridges + * Expanded network state information + + Support for custom search domains + + New IPv4 and IPv6 columns in network lists + * mips & riscv64 support for containers and s390x support for VMs + * Using pidfds for all container subprocesses + * LVM volumes only active when needed + + DB query tracing support + * Better cluster life-cycle handling + * Cleaned up database functions + +--- +Sat May 9 03:45:46 UTC 2020 - Aleksa Sarai + +- Update to LXD 4.1. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-1-has-been-released/7737 + + + Push and relay support for images + + Routing table support for routed NIC devices + + L2 mode for ipvlan NIC devices + * Tweaks to the resources API + * Addition of OS data in the server information + + New lxd cluster remove-raft-node command + * Improved table sorting in the command line tool + +--- Old: lxd-4.0.1.tar.gz lxd-4.0.1.tar.gz.asc New: lxd-4.2.tar.gz lxd-4.2.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.8ZWaX5/_old 2020-06-19 16:50:01.742446206 +0200 +++ /var/tmp/diff_new_pack.8ZWaX5/_new 2020-06-19 16:50:01.750446231 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:4.0.1 +Version:4.2 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 @@ -45,7 +45,9 @@ BuildRequires: patchelf BuildRequires: pkg-config BuildRequires: rsync -BuildRequires: golang(API) >= 1.10 +# Due to a limitation in openSUSE's Go packaging we cannot have a BuildRequires +# for 'golang(API) >= 1.13' here, so just require 1.13 exactly. bsc#1172608 +BuildRequires: golang(API) = 1.13 BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(lxc) >= 3.0.0 # Needed to build the sqlite fork and dqlite. ++ lxd-4.0.1.tar.gz -> lxd-4.2.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-4.0.1.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.3606/lxd-4.2.tar.gz differ: char 16, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-04-25 20:29:53 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.2738 (New) Package is "lxd" Sat Apr 25 20:29:53 2020 rev:15 rq:796787 version:4.0.1 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-04-01 19:20:35.611591995 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.2738/lxd.changes2020-04-25 20:35:13.250875328 +0200 @@ -1,0 +2,13 @@ +Fri Apr 24 06:58:55 UTC 2020 - Aleksa Sarai + +- Update to LXD 4.0.1. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-0-1-lts-has-been-released/7515 + boo#1170404 + + * Tweaked and improved the resources API + * Added lxd cluster remove-raft-node disaster recovery function + * Implemented ceph rbd/fs disk devices can now be attached to virtual machines + * Fixed some data migration issues for users of < 3.0 upgrading to 4.0 directly + * Fixed file descriptor leakage in exec + +--- Old: lxd-4.0.0.tar.gz lxd-4.0.0.tar.gz.asc New: lxd-4.0.1.tar.gz lxd-4.0.1.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.eZpbQi/_old 2020-04-25 20:35:16.906882867 +0200 +++ /var/tmp/diff_new_pack.eZpbQi/_new 2020-04-25 20:35:16.906882867 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:4.0.0 +Version:4.0.1 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 ++ lxd-4.0.0.tar.gz -> lxd-4.0.1.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-4.0.0.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.2738/lxd-4.0.1.tar.gz differ: char 12, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-04-01 19:20:31 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.3248 (New) Package is "lxd" Wed Apr 1 19:20:31 2020 rev:14 rq:790622 version:4.0.0 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-03-22 14:17:27.886068158 +0100 +++ /work/SRC/openSUSE:Factory/.lxd.new.3248/lxd.changes2020-04-01 19:20:35.611591995 +0200 @@ -1,0 +2,19 @@ +Wed Apr 1 14:23:25 UTC 2020 - Aleksa Sarai + +- Update to LXD 4.0.0. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-4-0-lts-has-been-released/7231 + boo#1168338 + + Breaking Changes: +* Removal of --container-only, replaced by --instance-only + + + VM: Support for backup (import/export) + + PCI and USB devices in the resource API + + Support for multiple ipvlan NIC devices + + Support for host addresses on routed NIC + + Support for editing cluster roles + + Disk usage for custom volumes + + Disk usage for snapshots + + Support for passwordless PKI mode + +--- Old: lxd-3.23.tar.gz lxd-3.23.tar.gz.asc New: lxd-4.0.0.tar.gz lxd-4.0.0.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.R1uSMy/_old 2020-04-01 19:20:38.111593120 +0200 +++ /var/tmp/diff_new_pack.R1uSMy/_new 2020-04-01 19:20:38.111593120 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:3.23 +Version:4.0.0 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 ++ lxd-3.23.tar.gz -> lxd-4.0.0.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-3.23.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.3248/lxd-4.0.0.tar.gz differ: char 16, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-03-22 14:17:22 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.3160 (New) Package is "lxd" Sun Mar 22 14:17:22 2020 rev:13 rq:787033 version:3.23 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-03-07 21:42:36.856449423 +0100 +++ /work/SRC/openSUSE:Factory/.lxd.new.3160/lxd.changes2020-03-22 14:17:27.886068158 +0100 @@ -1,0 +2,15 @@ +Sat Mar 21 04:55:09 UTC 2020 - Aleksa Sarai + +- Update to LXD 3.23. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-3-23-has-been-released/7140 + boo#1167304 + + Custom storage volumes in projects + + Schedule snapshots for custom storage volumes + + Expiry for custom storage volumes + + Limits for projects + + Restrictions for projects + + Improved backup/export logic + + VM: Support for migration + + VM: Support for publishing + +--- Old: lxd-3.22.tar.gz lxd-3.22.tar.gz.asc New: lxd-3.23.tar.gz lxd-3.23.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.ri3Vrj/_old 2020-03-22 14:17:29.042068900 +0100 +++ /var/tmp/diff_new_pack.ri3Vrj/_new 2020-03-22 14:17:29.050068904 +0100 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:3.22 +Version:3.23 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 ++ lxd-3.22.tar.gz -> lxd-3.23.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-3.22.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.3160/lxd-3.23.tar.gz differ: char 13, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-03-07 21:42:14 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.26092 (New) Package is "lxd" Sat Mar 7 21:42:14 2020 rev:12 rq:782545 version:3.22 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-02-14 16:40:29.795690140 +0100 +++ /work/SRC/openSUSE:Factory/.lxd.new.26092/lxd.changes 2020-03-07 21:42:36.856449423 +0100 @@ -1,0 +2,12 @@ +Sat Mar 7 14:49:16 UTC 2020 - Aleksa Sarai + +- Update to LXD 3.22. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-3-22-has-been-released/7027 + boo#1165976 + + Resource limits for projects + + nftables backend for firewalling + + Container: Hugepages in unprivileged containers + + VM: Support for 9p disk devices + + VM: File templating support + +--- Old: lxd-3.21.tar.gz lxd-3.21.tar.gz.asc New: lxd-3.22.tar.gz lxd-3.22.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.1vd2Dm/_old 2020-03-07 21:42:40.192451675 +0100 +++ /var/tmp/diff_new_pack.1vd2Dm/_new 2020-03-07 21:42:40.240451708 +0100 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:3.21 +Version:3.22 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 ++ lxd-3.21.tar.gz -> lxd-3.22.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-3.21.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.26092/lxd-3.22.tar.gz differ: char 12, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-02-14 16:40:18 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.26092 (New) Package is "lxd" Fri Feb 14 16:40:18 2020 rev:11 rq:774283 version:3.21 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-02-04 19:53:03.949311540 +0100 +++ /work/SRC/openSUSE:Factory/.lxd.new.26092/lxd.changes 2020-02-14 16:40:29.795690140 +0100 @@ -1,0 +2,15 @@ +Fri Feb 14 07:27:24 UTC 2020 - Aleksa Sarai + +- Update to LXD 3.21. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-3-21-has-been-released/6802 + boo#1163651 + + New way to attach to LXD managed networks + + Clustering: Configurable number of active and standby database members + * Ceph ported to new storage driver infrastructure + * VM: CPU pinning and topology + * VM: Network and storage optimizations + * VM: Agent-less reporting of IPv6 addresses +- Remove upstreamed patch. boo#1156336 + - boo1156336-0001-vfs-vfs__delete-fix-double-unlock-of-root-mutex.patch + +--- Old: boo1156336-0001-vfs-vfs__delete-fix-double-unlock-of-root-mutex.patch lxd-3.20.tar.gz lxd-3.20.tar.gz.asc New: lxd-3.21.tar.gz lxd-3.21.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.Gt9MwQ/_old 2020-02-14 16:40:31.711691207 +0100 +++ /var/tmp/diff_new_pack.Gt9MwQ/_new 2020-02-14 16:40:31.727691216 +0100 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:3.20 +Version:3.21 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 @@ -38,8 +38,6 @@ # Additional runtime configuration. Source200: %{name}.sysctl Source201: %{name}.dnsmasq -# FIX-UPSTREAM: Backport of https://github.com/canonical/dqlite/pull/207. boo#1156336 -Patch100: boo1156336-0001-vfs-vfs__delete-fix-double-unlock-of-root-mutex.patch BuildRequires: fdupes BuildRequires: golang-packaging BuildRequires: libacl-devel @@ -90,8 +88,6 @@ %prep %setup -q -# boo#1156336 -%patch100 -d _dist/deps/dqlite -p1 # Create fake "go mod"-like import paths. This is going to be really fun to # maintain but it's unfortunately necessary because openSUSE doesn't have nice ++ lxd-3.20.tar.gz -> lxd-3.21.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-3.20.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.26092/lxd-3.21.tar.gz differ: char 29, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-02-04 19:52:37 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.26092 (New) Package is "lxd" Tue Feb 4 19:52:37 2020 rev:10 rq:769650 version:3.20 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-01-31 23:58:36.315692467 +0100 +++ /work/SRC/openSUSE:Factory/.lxd.new.26092/lxd.changes 2020-02-04 19:53:03.949311540 +0100 @@ -1,0 +2,11 @@ +Mon Feb 3 15:03:49 UTC 2020 - Dominique Leuenberger + +- BuildRequire pkgconfig(libudev) instead of libudev-devel: Allow + OBS to shortcut through the -mini flavors. + +--- +Sat Feb 1 23:37:24 UTC 2020 - Aleksa Sarai + +- Fix bash-completion by installing it to the correct path. boo#1162426 + +--- Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.HQ3Bq2/_old 2020-02-04 19:53:05.297312327 +0100 +++ /var/tmp/diff_new_pack.HQ3Bq2/_new 2020-02-04 19:53:05.297312327 +0100 @@ -44,11 +44,11 @@ BuildRequires: golang-packaging BuildRequires: libacl-devel BuildRequires: libcap-devel -BuildRequires: libudev-devel BuildRequires: patchelf BuildRequires: pkg-config BuildRequires: rsync BuildRequires: golang(API) >= 1.10 +BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(lxc) >= 3.0.0 # Needed to build the sqlite fork and dqlite. BuildRequires: autoconf @@ -292,7 +292,7 @@ popd # bash-completion. -install -D -m 0644 scripts/bash/lxd-client %{buildroot}%{_datadir}/bash-completion/completions/lxd-client +install -D -m 0644 scripts/bash/lxd-client %{buildroot}%{_datadir}/bash-completion/completions/lxc # sysv-init and systemd setup. install -D -m 0644 %{S:100} %{buildroot}%{_unitdir}/%{name}.service
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-01-31 23:57:13 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.26092 (New) Package is "lxd" Fri Jan 31 23:57:13 2020 rev:9 rq:769025 version:3.20 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2020-01-23 15:54:34.871084130 +0100 +++ /work/SRC/openSUSE:Factory/.lxd.new.26092/lxd.changes 2020-01-31 23:58:36.315692467 +0100 @@ -1,0 +2,19 @@ +Fri Jan 31 10:16:27 UTC 2020 - Aleksa Sarai + +- Backport https://github.com/canonical/dqlite/pull/207 to fix boo#1156336. + + boo1156336-0001-vfs-vfs__delete-fix-double-unlock-of-root-mutex.patch + +--- +Fri Jan 31 00:33:47 UTC 2020 - Aleksa Sarai + +- Update to LXD 3.20. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-3-20-has-been-released/6673 + boo#1162299 + + Server side support of API collections + + New unix-hotplug device type + + Support for standby cluster members +- Update packaging to use GOPATH="_dist" rather than trying to move everything + to vendor/. This is the recommended approach by upstream (and makes our + specfile marginally less horrific). + +--- Old: lxd-3.19.tar.gz lxd-3.19.tar.gz.asc New: boo1156336-0001-vfs-vfs__delete-fix-double-unlock-of-root-mutex.patch lxd-3.20.tar.gz lxd-3.20.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.hyr3B4/_old 2020-01-31 23:58:37.599693132 +0100 +++ /var/tmp/diff_new_pack.hyr3B4/_new 2020-01-31 23:58:37.599693132 +0100 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:3.19 +Version:3.20 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 @@ -38,10 +38,13 @@ # Additional runtime configuration. Source200: %{name}.sysctl Source201: %{name}.dnsmasq +# FIX-UPSTREAM: Backport of https://github.com/canonical/dqlite/pull/207. boo#1156336 +Patch100: boo1156336-0001-vfs-vfs__delete-fix-double-unlock-of-root-mutex.patch BuildRequires: fdupes BuildRequires: golang-packaging BuildRequires: libacl-devel BuildRequires: libcap-devel +BuildRequires: libudev-devel BuildRequires: patchelf BuildRequires: pkg-config BuildRequires: rsync @@ -87,29 +90,13 @@ %prep %setup -q - -# If there is a vendor/ move it to _dist/src/. -if [ -d vendor ] -then - cp -at _dist/src vendor/* - rm -rf vendor/ -fi -# Move _dist/src (which is LXD's variant of vendoring) to vendor/. -mv -v _dist/src vendor - -# For some reason, some vendored packages have stored their vendored sources -# within their source tree inside the vendor tree (?!). So we need to -# workaround this, even though it's probably a bug in LXD packaging. -for vendor in $(find vendor/* -type d -name vendor) -do - rsync -a "$vendor/" vendor/ - rm -rf "$vendor/" -done +# boo#1156336 +%patch100 -d _dist/deps/dqlite -p1 # Create fake "go mod"-like import paths. This is going to be really fun to # maintain but it's unfortunately necessary because openSUSE doesn't have nice # "go mod" support in OBS... -ln -s . vendor/github.com/cpuguy83/go-md2man/v2 +ln -s . _dist/src/github.com/cpuguy83/go-md2man/v2 %build # Make sure any leftover go build caches are gone. @@ -188,6 +175,9 @@ awk -F: '$1 == "main" { print $2 }' | \ grep -Ev '^github.com/lxc/lxd/(test|shared)')" +# _dist/src is effectively an old-school "vendor/" tree, so add it to GOPATH. +export GOPATH="$GOPATH:$PKGDIR/_dist" + # And now we can finally build LXD and all of the related binaries. mkdir bin for mainpkg in "${mainpkgs[@]}" ++ boo1156336-0001-vfs-vfs__delete-fix-double-unlock-of-root-mutex.patch ++ >From 13548f8bdb309d18801de9febb8f5829b6b9ae55 Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Fri, 31 Jan 2020 20:57:47 +1100 Subject: [PATCH] vfs: vfs__delete: fix double-unlock of &root->mutex vfs__delete_contents would unlock the passed &root->mutex, but all of its callers would then also unlock the passed &root->mutex. It turns out that this works on most architectures without issue, but apparently on some Intel CPUs with TSX enabled this will trigger a general protection fault[1,2]. This was the cause of a very frustrating bug where LXD would segfault on start-up[3]. [1]: https://lwn.net/Articles/534758/ [2]: https://software.intel.com/en-us/forums/intel-isa-extensions/topic/675036 [3]: https://bugzilla.opensuse.org/show_bug.cgi?id=1156336 Signed-off-by: Aleksa Sarai
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2020-01-23 15:54:25 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.26092 (New) Package is "lxd" Thu Jan 23 15:54:25 2020 rev:8 rq:766444 version:3.19 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2019-12-12 23:19:36.810205673 +0100 +++ /work/SRC/openSUSE:Factory/.lxd.new.26092/lxd.changes 2020-01-23 15:54:34.871084130 +0100 @@ -1,0 +2,15 @@ +Fri Jan 17 05:17:53 UTC 2020 - Aleksa Sarai + +- Update to LXD 3.19. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-3-19-has-been-released/6529 + boo#1161615 + + Virtual machine support + + Reworked storage layer + + Routed networking mode + + Custom mount options for disk devices + + Interception of the mount system call + + Multi-architecture clustering + + ... +- Rework package handling to fake Go module builds. + +--- Old: lxd-3.18.tar.gz lxd-3.18.tar.gz.asc New: lxd-3.19.tar.gz lxd-3.19.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.b3iMaM/_old 2020-01-23 15:54:36.739085139 +0100 +++ /var/tmp/diff_new_pack.b3iMaM/_new 2020-01-23 15:54:36.739085139 +0100 @@ -1,7 +1,7 @@ # # spec file for package lxd # -# Copyright (c) 2019 SUSE LLC +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:3.18 +Version:3.19 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 @@ -44,6 +44,7 @@ BuildRequires: libcap-devel BuildRequires: patchelf BuildRequires: pkg-config +BuildRequires: rsync BuildRequires: golang(API) >= 1.10 BuildRequires: pkgconfig(lxc) >= 3.0.0 # Needed to build the sqlite fork and dqlite. @@ -96,6 +97,20 @@ # Move _dist/src (which is LXD's variant of vendoring) to vendor/. mv -v _dist/src vendor +# For some reason, some vendored packages have stored their vendored sources +# within their source tree inside the vendor tree (?!). So we need to +# workaround this, even though it's probably a bug in LXD packaging. +for vendor in $(find vendor/* -type d -name vendor) +do + rsync -a "$vendor/" vendor/ + rm -rf "$vendor/" +done + +# Create fake "go mod"-like import paths. This is going to be really fun to +# maintain but it's unfortunately necessary because openSUSE doesn't have nice +# "go mod" support in OBS... +ln -s . vendor/github.com/cpuguy83/go-md2man/v2 + %build # Make sure any leftover go build caches are gone. go clean -cache @@ -179,12 +194,11 @@ do binary="$(basename "$mainpkg")" ( - # We need to link against our dylib deps when dealing with lxd proper. - [ "$binary" == "lxd" ] && export \ - BUILDTAGS="libsqlite3" \ + # We need to link against our particular dylib deps. + export \ CGO_CFLAGS="-I $INSTALL_INCLUDEDIR" \ CGO_LDFLAGS="-L $INSTALL_LIBDIR" ||: - go build -buildmode=pie -tags "$BUILDTAGS" -o "bin/$binary" "$mainpkg" + go build -buildmode=pie -tags "libsqlite3" -o "bin/$binary" "$mainpkg" ) done @@ -234,7 +248,7 @@ # Switch to absolute DT_NEEDED for all dylibs we have as well as the main LXD # binary. We do this for all dylibs to make sure we don't end up with weird # chain-loading problems. -for target in bin/lxd "$INSTALL_LIBDIR"/lib*.so +for target in bin/* "$INSTALL_LIBDIR"/lib*.so do # Drop RPATH in case it got included during builds. patchelf --remove-rpath "$target" @@ -256,6 +270,8 @@ do # Ensure that all our binaries are dynamic. boo#1138769 file "$bin" | grep 'dynamically linked' + # Check what they are linked against. + ldd "$bin" done popd ++ lxd-3.18.tar.gz -> lxd-3.19.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-3.18.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.26092/lxd-3.19.tar.gz differ: char 12, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2019-12-12 23:19:28 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.4691 (New) Package is "lxd" Thu Dec 12 23:19:28 2019 rev:7 rq:755961 version:3.18 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2019-10-03 14:09:29.296095862 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.4691/lxd.changes2019-12-12 23:19:36.810205673 +0100 @@ -1,0 +2,5 @@ +Wed Dec 11 23:55:40 UTC 2019 - Aleksa Sarai + +- Support older SLE systems which don't have "usermod -w -v". + +--- Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.n7DrM2/_old 2019-12-12 23:19:37.562205606 +0100 +++ /var/tmp/diff_new_pack.n7DrM2/_new 2019-12-12 23:19:37.562205606 +0100 @@ -1,7 +1,7 @@ # # spec file for package lxd # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -326,9 +326,11 @@ # This default setting of 500 million is enough for ~8000 isolated containers, # which should be enough for most users. grep -q '^root:' /etc/subuid || \ - usermod -v 4-9 root ||: + usermod -v 4-9 root &>/dev/null || \ + echo "root:4:50001" >>/etc/subuid ||: grep -q '^root:' /etc/subgid || \ - usermod -w 4-9 root ||: + usermod -w 4-9 root &>/dev/null || \ + echo "root:4:50001" >>/etc/subgid ||: %service_add_pre %{name}.service
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2019-10-03 14:09:18 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.2352 (New) Package is "lxd" Thu Oct 3 14:09:18 2019 rev:6 rq:734693 version:3.18 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2019-09-26 20:40:45.486618790 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.2352/lxd.changes2019-10-03 14:09:29.296095862 +0200 @@ -1,0 +2,13 @@ +Thu Oct 3 01:53:53 UTC 2019 - Aleksa Sarai + +- Update to LXD 3.18. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-3-18-has-been-released/5869 + boo#1152846 + + New /1.0/instances endpoint + + Support for storing VM images + + Extended disk resources information + + Modification of image expiry date + + Clustering roles + + IPv4 configuration when in Fan mode + +--- Old: lxd-3.17.tar.gz lxd-3.17.tar.gz.asc New: lxd-3.18.tar.gz lxd-3.18.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.GAdxWZ/_old 2019-10-03 14:09:32.024088844 +0200 +++ /var/tmp/diff_new_pack.GAdxWZ/_new 2019-10-03 14:09:32.028088834 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:3.17 +Version:3.18 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 ++ lxd-3.17.tar.gz -> lxd-3.18.tar.gz ++ /work/SRC/openSUSE:Factory/lxd/lxd-3.17.tar.gz /work/SRC/openSUSE:Factory/.lxd.new.2352/lxd-3.18.tar.gz differ: char 12, line 1
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2019-09-26 20:40:40 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.2352 (New) Package is "lxd" Thu Sep 26 20:40:40 2019 rev:5 rq:733136 version:3.17 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2019-09-25 08:45:43.118244911 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.2352/lxd.changes2019-09-26 20:40:45.486618790 +0200 @@ -1,0 +2,5 @@ +Wed Sep 25 11:03:42 UTC 2019 - Aleksa Sarai + +- Clean up a few remaining specfile bits left over from the 3.17 update. + +--- Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.MSmIpu/_old 2019-09-26 20:40:46.826615210 +0200 +++ /var/tmp/diff_new_pack.MSmIpu/_new 2019-09-26 20:40:46.826615210 +0200 @@ -100,24 +100,25 @@ # Make sure any leftover go build caches are gone. go clean -cache -# Keep track of the current set of paths needed to generate the include-related -# variables for later stages. -declare -a CURRENT_DEPLIST - # Set up GOPATH. export GOPATH="$PWD/.gopath" export PKGDIR="$GOPATH/src/%{import_path}" mkdir -p "$PKGDIR" cp -a * "$PKGDIR" -# First we need to build the sqlite fork and dqlite. We need to build them -# dynamically (to avoid binary bloat), but we also then need to mess with -# patchelf to stop us from breaking openSUSE packaging. +# Set up temporary installation paths. +export INSTALL_ROOT="$PKGDIR/.install" +export INSTALL_INCLUDEDIR="$INSTALL_ROOT/%{_includedir}" +export INSTALL_LIBDIR="$INSTALL_ROOT/%{_libdir}/%{name}" + +# We first need to build all of the LXD-specific dependencies. To avoid binary +# bloat, we build them as dylibs -- but we then later need to mess around with +# the ELF headers to stop the openSUSE packaging scripts from freaking out. export CFLAGS="%{optflags} -fPIC -DPIC" -# We have a temporary-install directory which contains our pkg-configs. -export PKG_CONFIG_SYSROOT_DIR="$PKGDIR/.install" -export PKG_CONFIG_PATH="$PKG_CONFIG_SYSROOT_DIR/%{_libdir}/%{name}/pkgconfig:$PKG_CONFIG_SYSROOT_DIR/%{_datadir}/pkgconfig" +# We have a temporary-install directory which contains all of the dylib deps. +export PKG_CONFIG_SYSROOT_DIR="$INSTALL_ROOT" +export PKG_CONFIG_PATH="$INSTALL_LIBDIR/pkgconfig" # SQLite pushd "$PKGDIR/_dist/deps/sqlite" @@ -129,9 +130,7 @@ --disable-tcl make clean make %{?_smp_mflags} -make DESTDIR="$PKGDIR/.install" install -# Add sqlite to dependency list. -CURRENT_DEPLIST+=("$PWD") +make DESTDIR="$INSTALL_ROOT" install popd # libco @@ -141,10 +140,8 @@ PREFIX="" \ INCLUDEDIR="%{_includedir}" \ LIBDIR="%{_libdir}/%{name}" \ - DESTDIR="$PKGDIR/.install" \ + DESTDIR="$INSTALL_ROOT" \ all install -# Add libco to dependency list. -CURRENT_DEPLIST+=("$PWD") popd # raft @@ -154,9 +151,7 @@ --libdir="%{_libdir}/%{name}" \ --disable-static make %{?_smp_mflags} -make DESTDIR="$PKGDIR/.install" install -# Add raft to dependency list. -CURRENT_DEPLIST+=("$PWD") +make DESTDIR="$INSTALL_ROOT" install popd # dqlite @@ -168,10 +163,8 @@ --disable-static make clean make %{?_smp_mflags} -make DESTDIR="$PKGDIR/.install" install +make DESTDIR="$INSTALL_ROOT" install ) -# Add raft to dependency list. -CURRENT_DEPLIST+=("$PWD") popd # Find all of the main packages using go-list. @@ -186,11 +179,11 @@ do binary="$(basename "$mainpkg")" ( - # We need to link against sqlite and dqlite only when dealing with lxd proper. + # We need to link against our dylib deps when dealing with lxd proper. [ "$binary" == "lxd" ] && export \ BUILDTAGS="libsqlite3" \ - CGO_CFLAGS="-I $PKGDIR/.install/%{_includedir}" \ - CGO_LDFLAGS="-L $PKGDIR/.install/%{_libdir}/%{name}" ||: + CGO_CFLAGS="-I $INSTALL_INCLUDEDIR" \ + CGO_LDFLAGS="-L $INSTALL_LIBDIR" ||: go build -buildmode=pie -tags "$BUILDTAGS" -o "bin/$binary" "$mainpkg" ) done @@ -224,27 +217,29 @@ # A simple check that lxd isn't broken. We can't do this after patchelf # because we'd need to chroot(2) into {buildroot} which isn't permitted due # to user namespaces being blocked inside rpmbuild. boo#1138769 - export LD_LIBRARY_PATH="$PKGDIR/.install/%{_libdir}/%{name}" - ./bin/lxd help >/dev/null + export LD_LIBRARY_PATH="$INSTALL_LIBDIR" + ./bin/lxd help ) -for lib in $PKGDIR/.install/%{_libdir}/%{name}/lib*.so +for lib in "$INSTALL_LIBDIR"/l
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2019-09-25 08:45:33 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.7948 (New) Package is "lxd" Wed Sep 25 08:45:33 2019 rev:4 rq:732962 version:3.17 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2019-06-19 21:13:53.194831108 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.7948/lxd.changes2019-09-25 08:45:43.118244911 +0200 @@ -1,0 +2,44 @@ +Tue Sep 24 12:31:21 UTC 2019 - Aleksa Sarai + +- Completely drop all stripping -- it appears to cause all sorts of problems + with unresolved symbol errors. +- Update to LXD 3.17. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-3-17-has-been-released/5679 + boo#1151874 + + Storage pool backed image tarballs and backups + + Container configuration as YAML on lxc init and lxc launch + * Ported to final Dqlite 1.0 + * Database rework + * Container devices rework + * Storage rework + +--- +Mon Jul 15 06:40:30 UTC 2019 - Aleksa Sarai + +- Update to LXD 3.15. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-3-15-has-been-released/5218 + + Switch to dqlite 1.0. + * Reworked DHCP lease handling + * Reworked cluster heartbeat handling + * Better syscall interception framework + * More reliable unix socket proxying + + Hardware VLAN and MAC filtering on SR-IOV + + New storage-size option for lxd-p2c + + IPv4 and IPv6 filtering (spoof protection) + * Reworked resources API (host hardware) + + Control over uid, gid and cwd during command execution + + Quota support for custom storage volumes on dir backend + * Lots of bug fixes... + +--- +Wed Jun 19 07:21:29 UTC 2019 - Aleksa Sarai + +- Update to LXD 3.14. The full upstream changelog is available from: + https://discuss.linuxcontainers.org/t/lxd-3-14-has-been-released/5045 + boo#1138770 + + Cluster: Re-worked DNS forwarding + + Script to factory reset LXD + + Improvements to syscall interception + * Lots of bug fixes... + +--- @@ -5 +49 @@ - binaries on Leap 15.1. + binaries on Leap 15.1. boo#1138769 Old: lxd-3.13.tar.gz lxd-3.13.tar.gz.asc New: lxd-3.17.tar.gz lxd-3.17.tar.gz.asc Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.xWVVbN/_old 2019-09-25 08:45:45.826244550 +0200 +++ /var/tmp/diff_new_pack.xWVVbN/_new 2019-09-25 08:45:45.834244549 +0200 @@ -23,7 +23,7 @@ %define import_path github.com/lxc/lxd Name: lxd -Version:3.13 +Version:3.17 Release:0 Summary:Container hypervisor based on LXC License:Apache-2.0 @@ -86,52 +86,92 @@ %prep %setup -q -# Move dist/src (which is LXD's variant of vendoring) to vendor/. -mv -v dist/src vendor + +# If there is a vendor/ move it to _dist/src/. +if [ -d vendor ] +then + cp -at _dist/src vendor/* + rm -rf vendor/ +fi +# Move _dist/src (which is LXD's variant of vendoring) to vendor/. +mv -v _dist/src vendor %build # Make sure any leftover go build caches are gone. go clean -cache +# Keep track of the current set of paths needed to generate the include-related +# variables for later stages. +declare -a CURRENT_DEPLIST + # Set up GOPATH. export GOPATH="$PWD/.gopath" export PKGDIR="$GOPATH/src/%{import_path}" mkdir -p "$PKGDIR" cp -a * "$PKGDIR" -# First we need to build the sqlite fork and dqlite. We build them as static -# libs because they are only ever going to be used for LXD, and so it makes no -# sense to go through the pain of packaging them properly (hopefully the code -# will one day be merged into upstream sqlite). +# First we need to build the sqlite fork and dqlite. We need to build them +# dynamically (to avoid binary bloat), but we also then need to mess with +# patchelf to stop us from breaking openSUSE packaging. export CFLAGS="%{optflags} -fPIC -DPIC" +# We have a temporary-install directory which contains our pkg-configs. +export PKG_CONFIG_SYSROOT_DIR="$PKGDIR/.install" +export PKG_CONFIG_PATH="$PKG_CONFIG_SYSROOT_DIR/%{_libdir}/%{name}/pkgconfig:$PKG_CONFIG_SYSROOT_DIR/%{_datadir}/pkgconfig" + # SQLite -pushd "$PKGDIR/dist/sqlite" +pushd "$PKGDIR/_dist/deps/sqlite" autoreconf -fiv %configure \ --libdir="%{_libdir}/%{name}" \ --disable-static \ --enable-replication \ - --disable-tcl \ + --disable-tcl make clean make %{?_smp_mflags} +make DESTDIR="$PKGDIR/.install" install +# Add sqlite to de
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2019-06-19 21:13:11 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.4811 (New) Package is "lxd" Wed Jun 19 21:13:11 2019 rev:3 rq:710701 version:3.13 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2019-06-13 23:03:11.311401663 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.4811/lxd.changes2019-06-19 21:13:53.194831108 +0200 @@ -1,0 +2,6 @@ +Wed Jun 19 03:16:40 UTC 2019 - Aleksa Sarai + +- Update build to use go_nostrip, in order to attempt to fix the broken + binaries on Leap 15.1. + +--- Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.pACbtM/_old 2019-06-19 21:13:53.982831911 +0200 +++ /var/tmp/diff_new_pack.pACbtM/_new 2019-06-19 21:13:53.986831915 +0200 @@ -14,8 +14,11 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # +# nodebuginfo +%go_nostrip + %define _buildshell /bin/bash %define import_path github.com/lxc/lxd @@ -295,7 +298,7 @@ %dir %{_localstatedir}/log/%{name} %{_sysctldir}/60-lxd.conf -%{_sysconfdir}/dnsmasq.d/60-lxd.conf +%config(noreplace) %{_sysconfdir}/dnsmasq.d/60-lxd.conf %files bash-completion %defattr(-,root,root)
commit lxd for openSUSE:Factory
Hello community, here is the log from the commit of package lxd for openSUSE:Factory checked in at 2019-06-13 23:03:10 Comparing /work/SRC/openSUSE:Factory/lxd (Old) and /work/SRC/openSUSE:Factory/.lxd.new.4811 (New) Package is "lxd" Thu Jun 13 23:03:10 2019 rev:2 rq:709492 version:3.13 Changes: --- /work/SRC/openSUSE:Factory/lxd/lxd.changes 2019-06-12 13:19:34.956543891 +0200 +++ /work/SRC/openSUSE:Factory/.lxd.new.4811/lxd.changes2019-06-13 23:03:11.311401663 +0200 @@ -18,0 +19 @@ + boo#1138031 Other differences: -- ++ lxd.spec ++ --- /var/tmp/diff_new_pack.QLdHMf/_old 2019-06-13 23:03:12.223400869 +0200 +++ /var/tmp/diff_new_pack.QLdHMf/_new 2019-06-13 23:03:12.223400869 +0200 @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define _buildshell /bin/bash %define import_path github.com/lxc/lxd @@ -34,23 +35,24 @@ # Additional runtime configuration. Source200: %{name}.sysctl Source201: %{name}.dnsmasq +BuildRequires: fdupes BuildRequires: golang-packaging -BuildRequires: golang(API) >= 1.10 -BuildRequires: pkg-config -BuildRequires: pkgconfig(lxc) >= 3.0.0 BuildRequires: libacl-devel BuildRequires: libcap-devel BuildRequires: patchelf -BuildRequires: fdupes +BuildRequires: pkg-config +BuildRequires: golang(API) >= 1.10 +BuildRequires: pkgconfig(lxc) >= 3.0.0 # Needed to build the sqlite fork and dqlite. BuildRequires: autoconf BuildRequires: libtool -BuildRequires: pkgconfig(tcl) BuildRequires: pkgconfig(libuv) >= 1.8.0 +BuildRequires: pkgconfig(tcl) # Bits required for images and other things at runtime. -Requires: ebtables Requires: acl +Requires: ebtables BuildRequires: dnsmasq +Requires: criu >= 2.0 Requires: dnsmasq Requires: lxcfs Requires: lxcfs-hooks-lxc @@ -58,7 +60,6 @@ Requires: squashfs Requires: tar Requires: xz -Requires: criu >= 2.0 # Storage backends -- we don't recommend ZFS since it's not *technically* a # blessed configuration. Recommends: lvm2