Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libcontainers-common for openSUSE:Factory checked in at 2023-01-27 10:15:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libcontainers-common (Old) and /work/SRC/openSUSE:Factory/.libcontainers-common.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libcontainers-common" Fri Jan 27 10:15:30 2023 rev:55 rq:1061152 version:20221122 Changes: -------- --- /work/SRC/openSUSE:Factory/libcontainers-common/libcontainers-common.changes 2023-01-24 20:24:47.053933269 +0100 +++ /work/SRC/openSUSE:Factory/.libcontainers-common.new.32243/libcontainers-common.changes 2023-01-27 10:15:30.595378758 +0100 @@ -1,0 +2,10 @@ +Wed Jan 25 10:01:49 UTC 2023 - Danish Prakash <danish.prak...@suse.com> + +- Reverts https://build.opensuse.org/request/show/1060361 + Changes introduced to c/storage's storage.conf which adds + a driver_priority attribute would break consumers of libcontainer-common + as long as those packages are vendoring an older c/storage version. + Instead of patching every consumer, we're reverting this change, until + those packages have been updated downstream. [boo#1207509] + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libcontainers-common.spec ++++++ --- /var/tmp/diff_new_pack.jKwuC8/_old 2023-01-27 10:15:31.283382566 +0100 +++ /var/tmp/diff_new_pack.jKwuC8/_new 2023-01-27 10:15:31.287382589 +0100 @@ -140,6 +140,17 @@ %post # Comment out ostree_repo if it's blank [boo#1189893] sed -i 's/ostree_repo = ""/\#ostree_repo = ""/g' %{_sysconfdir}/containers/storage.conf +# use btrfs storage driver if system storage is on btrfs +# For rootless it will fall back to overlay if btrfs is not working +# https://github.com/containers/storage/blob/main/docs/containers-storage.conf.5.md#storage-table +if [ $1 -eq 1 ] ; then + for dir in %{_localstatedir}/lib/containers %{_localstatedir}/lib ; do + test "$(findmnt -o FSTYPE -l --target '$dir' | grep -v FSTYPE)" != "btrfs" && CONTAINERS_USE_BTRFS_DRIVER=0 + done + if [ "$CONTAINERS_USE_BTRFS_DRIVER" != "0" ]; then + sed -i 's/driver = "overlay"/driver = "btrfs"/g' %{_sysconfdir}/containers/storage.conf + fi +fi %files %dir %{_sysconfdir}/containers ++++++ storage.conf ++++++ --- /var/tmp/diff_new_pack.jKwuC8/_old 2023-01-27 10:15:31.515383850 +0100 +++ /var/tmp/diff_new_pack.jKwuC8/_new 2023-01-27 10:15:31.523383894 +0100 @@ -14,14 +14,14 @@ [storage] # Default Storage Driver, Must be set for proper operation. -# driver = "overlay" +driver = "overlay" # Temporary storage location runroot = "/run/containers/storage" # Priority list for the storage drivers that will be tested one # after the other to pick the storage driver if it is not defined. -driver_priority = ["btrfs", "overlay"] +# driver_priority = ["btrfs", "overlay"] # Primary Read/Write location of container storage # When changing the graphroot location on an SELINUX system, you must