commit lxd for openSUSE:Leap:15.2:Update
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2:Update checked in at 2020-10-28 18:23:56 Comparing /work/SRC/openSUSE:Leap:15.2:Update/lxd (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.lxd.new.3463 (New) Package is "lxd" Wed Oct 28 18:23:56 2020 rev:4 rq:843586 version:unknown Changes: New Changes file: NO CHANGES FILE!!! Other differences: -- ++ _link ++ --- /var/tmp/diff_new_pack.tV3th6/_old 2020-10-28 18:23:58.294411842 +0100 +++ /var/tmp/diff_new_pack.tV3th6/_new 2020-10-28 18:23:58.294411842 +0100 @@ -1 +1 @@ - +
commit lxd for openSUSE:Leap:15.2:Update
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2:Update checked in at 2020-09-01 12:34:38 Comparing /work/SRC/openSUSE:Leap:15.2:Update/lxd (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.lxd.new.3399 (New) Package is "lxd" Tue Sep 1 12:34:38 2020 rev:3 rq:830443 version:unknown Changes: New Changes file: NO CHANGES FILE!!! Other differences: -- ++ _link ++ --- /var/tmp/diff_new_pack.aXBHjR/_old 2020-09-01 12:34:53.776342882 +0200 +++ /var/tmp/diff_new_pack.aXBHjR/_new 2020-09-01 12:34:53.776342882 +0200 @@ -1 +1 @@ - +
commit lxd for openSUSE:Leap:15.2:Update
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2:Update checked in at 2020-08-05 12:22:39 Comparing /work/SRC/openSUSE:Leap:15.2:Update/lxd (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.lxd.new.3592 (New) Package is "lxd" Wed Aug 5 12:22:39 2020 rev:2 rq:823976 version:unknown Changes: New Changes file: NO CHANGES FILE!!! Other differences: -- ++ _link ++ --- /var/tmp/diff_new_pack.urnApN/_old 2020-08-05 12:22:40.671384002 +0200 +++ /var/tmp/diff_new_pack.urnApN/_new 2020-08-05 12:22:40.671384002 +0200 @@ -1 +1 @@ - +
commit lxd for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2 checked in at 2020-06-20 06:19:54 Comparing /work/SRC/openSUSE:Leap:15.2/lxd (Old) and /work/SRC/openSUSE:Leap:15.2/.lxd.new.3606 (New) Package is "lxd" Sat Jun 20 06:19:54 2020 rev:12 rq:813001 version:4.2 Changes: --- /work/SRC/openSUSE:Leap:15.2/lxd/lxd.changes2020-04-28 20:10:50.728495424 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.lxd.new.3606/lxd.changes 2020-06-21 19:38:25.666433528 +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.UDXrcD/_old 2020-06-21 19:38:26.062434701 +0200 +++ /var/tmp/diff_new_pack.UDXrcD/_new 2020-06-21 19:38:26.066434713 +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:Leap:15.2/lxd/lxd-4.0.1.tar.gz /work/SRC/openSUSE:Leap:15.2/.lxd.new.3606/lxd-4.2.tar.gz differ: char 16, line 1
commit lxd for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2 checked in at 2020-04-28 20:10:49 Comparing /work/SRC/openSUSE:Leap:15.2/lxd (Old) and /work/SRC/openSUSE:Leap:15.2/.lxd.new.2738 (New) Package is "lxd" Tue Apr 28 20:10:49 2020 rev:11 rq:796790 version:4.0.1 Changes: --- /work/SRC/openSUSE:Leap:15.2/lxd/lxd.changes2020-04-02 16:49:06.754010792 +0200 +++ /work/SRC/openSUSE:Leap:15.2/.lxd.new.2738/lxd.changes 2020-04-28 20:10:50.728495424 +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.zBXkKg/_old 2020-04-28 20:10:51.584497202 +0200 +++ /var/tmp/diff_new_pack.zBXkKg/_new 2020-04-28 20:10:51.584497202 +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:Leap:15.2/lxd/lxd-4.0.0.tar.gz /work/SRC/openSUSE:Leap:15.2/.lxd.new.2738/lxd-4.0.1.tar.gz differ: char 12, line 1
commit lxd for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2 checked in at 2020-04-02 16:49:03 Comparing /work/SRC/openSUSE:Leap:15.2/lxd (Old) and /work/SRC/openSUSE:Leap:15.2/.lxd.new.3248 (New) Package is "lxd" Thu Apr 2 16:49:03 2020 rev:10 rq:790624 version:4.0.0 Changes: --- /work/SRC/openSUSE:Leap:15.2/lxd/lxd.changes2020-03-23 07:14:12.662509974 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.lxd.new.3248/lxd.changes 2020-04-02 16:49:06.754010792 +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.4k4N1Y/_old 2020-04-02 16:49:07.578011771 +0200 +++ /var/tmp/diff_new_pack.4k4N1Y/_new 2020-04-02 16:49:07.582011775 +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:Leap:15.2/lxd/lxd-3.23.tar.gz /work/SRC/openSUSE:Leap:15.2/.lxd.new.3248/lxd-4.0.0.tar.gz differ: char 16, line 1
commit lxd for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2 checked in at 2020-03-23 07:13:37 Comparing /work/SRC/openSUSE:Leap:15.2/lxd (Old) and /work/SRC/openSUSE:Leap:15.2/.lxd.new.3160 (New) Package is "lxd" Mon Mar 23 07:13:37 2020 rev:9 rq:787034 version:3.23 Changes: --- /work/SRC/openSUSE:Leap:15.2/lxd/lxd.changes2020-03-09 18:14:33.761417055 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.lxd.new.3160/lxd.changes 2020-03-23 07:14:12.662509974 +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.ykf32A/_old 2020-03-23 07:14:13.246510325 +0100 +++ /var/tmp/diff_new_pack.ykf32A/_new 2020-03-23 07:14:13.250510327 +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:Leap:15.2/lxd/lxd-3.22.tar.gz /work/SRC/openSUSE:Leap:15.2/.lxd.new.3160/lxd-3.23.tar.gz differ: char 13, line 1
commit lxd for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2 checked in at 2020-03-09 18:13:54 Comparing /work/SRC/openSUSE:Leap:15.2/lxd (Old) and /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092 (New) Package is "lxd" Mon Mar 9 18:13:54 2020 rev:8 rq:782547 version:3.22 Changes: --- /work/SRC/openSUSE:Leap:15.2/lxd/lxd.changes2020-02-14 17:58:41.866848590 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092/lxd.changes 2020-03-09 18:14:33.761417055 +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.fv9aYU/_old 2020-03-09 18:14:34.269417302 +0100 +++ /var/tmp/diff_new_pack.fv9aYU/_new 2020-03-09 18:14:34.273417304 +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:Leap:15.2/lxd/lxd-3.21.tar.gz /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092/lxd-3.22.tar.gz differ: char 12, line 1
commit lxd for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2 checked in at 2020-02-14 17:58:25 Comparing /work/SRC/openSUSE:Leap:15.2/lxd (Old) and /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092 (New) Package is "lxd" Fri Feb 14 17:58:25 2020 rev:7 rq:774285 version:3.21 Changes: --- /work/SRC/openSUSE:Leap:15.2/lxd/lxd.changes2020-02-09 11:25:01.363285422 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092/lxd.changes 2020-02-14 17:58:41.866848590 +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.FauJNj/_old 2020-02-14 17:58:42.394848906 +0100 +++ /var/tmp/diff_new_pack.FauJNj/_new 2020-02-14 17:58:42.398848908 +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:Leap:15.2/lxd/lxd-3.20.tar.gz /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092/lxd-3.21.tar.gz differ: char 29, line 1
commit lxd for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2 checked in at 2020-02-09 11:24:56 Comparing /work/SRC/openSUSE:Leap:15.2/lxd (Old) and /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092 (New) Package is "lxd" Sun Feb 9 11:24:56 2020 rev:6 rq:769655 version:3.20 Changes: --- /work/SRC/openSUSE:Leap:15.2/lxd/lxd.changes2020-02-01 06:10:24.474784963 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092/lxd.changes 2020-02-09 11:25:01.363285422 +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.SBwQNy/_old 2020-02-09 11:25:02.171285883 +0100 +++ /var/tmp/diff_new_pack.SBwQNy/_new 2020-02-09 11:25:02.175285884 +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:Leap:15.2
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2 checked in at 2020-02-01 06:10:18 Comparing /work/SRC/openSUSE:Leap:15.2/lxd (Old) and /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092 (New) Package is "lxd" Sat Feb 1 06:10:18 2020 rev:5 rq:769027 version:3.20 Changes: --- /work/SRC/openSUSE:Leap:15.2/lxd/lxd.changes2020-01-30 06:07:42.090440955 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092/lxd.changes 2020-02-01 06:10:24.474784963 +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.AzrH6r/_old 2020-02-01 06:10:25.578785514 +0100 +++ /var/tmp/diff_new_pack.AzrH6r/_new 2020-02-01 06:10:25.578785514 +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
commit lxd for openSUSE:Leap:15.2
Hello community, here is the log from the commit of package lxd for openSUSE:Leap:15.2 checked in at 2020-01-30 06:07:40 Comparing /work/SRC/openSUSE:Leap:15.2/lxd (Old) and /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092 (New) Package is "lxd" Thu Jan 30 06:07:40 2020 rev:4 rq:766446 version:3.19 Changes: --- /work/SRC/openSUSE:Leap:15.2/lxd/lxd.changes2020-01-15 15:27:53.458659353 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.lxd.new.26092/lxd.changes 2020-01-30 06:07:42.090440955 +0100 @@ -1,0 +2,20 @@ +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. + +--- +Wed Dec 11 23:55:40 UTC 2019 - Aleksa Sarai + +- Support older SLE systems which don't have "usermod -w -v". + +--- 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.DcUDZD/_old 2020-01-30 06:07:44.046442048 +0100 +++ /var/tmp/diff_new_pack.DcUDZD/_new 2020-01-30 06:07:44.046442048 +0100 @@ -1,7 +1,7 @@ # # spec file for package lxd # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -326,9 +342,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:' /e