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.changes 2019-12-12 23:19:36.810205673 +0100 @@ -1,0 +2,5 @@ +Wed Dec 11 23:55:40 UTC 2019 - Aleksa Sarai <[email protected]> + +- 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 400000000-900000000 root ||: + usermod -v 400000000-900000000 root &>/dev/null || \ + echo "root:400000000:500000001" >>/etc/subuid ||: grep -q '^root:' /etc/subgid || \ - usermod -w 400000000-900000000 root ||: + usermod -w 400000000-900000000 root &>/dev/null || \ + echo "root:400000000:500000001" >>/etc/subgid ||: %service_add_pre %{name}.service
