commit util-linux for openSUSE:Factory
Hello community,
here is the log from the commit of package util-linux for openSUSE:Factory checked in at 2017-06-29 14:58:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/util-linux (Old)
and /work/SRC/openSUSE:Factory/.util-linux.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "util-linux"
Thu Jun 29 14:58:21 2017 rev:218 rq:504843 version:2.30
Changes:
--------
--- /work/SRC/openSUSE:Factory/util-linux/python-libmount.changes 2017-04-25 08:55:22.398971323 +0200
+++ /work/SRC/openSUSE:Factory/.util-linux.new/python-libmount.changes 2017-06-29 14:58:41.756296404 +0200
@@ -1,0 +2,48 @@
+Sun Jun 11 12:12:44 UTC 2017 - lnussel@suse.de
+
+- don't conflict with sysvinit-tools in Tumblweed anymore. Needed for Leap 15
+ which wants to use a different release number scheme (lp150.x which produces
+ lower numbers than the conflict).
+
+-------------------------------------------------------------------
+Thu Jun 8 21:21:12 UTC 2017 - sweet_f_a@gmx.de
+
+- Update to version 2.30:
+ * Many changes and improvements, most notably:
+ * The libblkid library has been improved for hybrid CDROM/DVD
+ media.
+ * The deprecated command tailf has been removed. Use "tail -f"
+ from coreutils.
+ * blkzone -- NEW COMMAND to run zone commands on block devices
+ that support Zoned Block Commands (ZBC) or Zoned-device ATA
+ Commands (ZAC).
+ * fincore -- NEW COMMAND to count pages of file contents in
+ core (memory).
+ * lsmem -- NEW COMMAND to list the ranges of available memory
+ with their online status.
+ * The command fallocate -- supports an "insert range" operation
+ now.
+ * The command "column -t|--table" has been modified to use
+ libsmartcols. It now provides nearly all of that library's
+ functionality from the command line.
+ * Security issues:
+ * hwclock - no longer makes any internal permission checks. The
+ System Administrator must set proper permissions to control
+ user access to the RTC. It is NOT recommended to use SUID.
+ * CVE-2016-2779 - This security issue is NOT FIXED yet.
+ * More details at:
+ https://www.kernel.org/pub/linux/utils/util-linux/v2.30/v2.30-ReleaseNotes
+- Drop upstreamed patch
+ arm64-lscpu-use-sysfs-for-table-access-if-available.patch
+- Refreshed patch
+ util-linux-losetup-Add-support-for-setting-logical-blocksize.patch
+- fix compiler warnings for mkzimage_cmdline
+
+-------------------------------------------------------------------
+Thu Jun 8 16:28:41 UTC 2017 - msuchanek@suse.com
+
+- When when hypervisor_decode_sysfw fails continue with other
+ detection methods (bsc#1042991, bsc#1039360, bsc#1033718)
+ + util-linux-lscpu-cleanup-DMI-detection-return-codes.patch
+
+-------------------------------------------------------------------
@@ -181 +229 @@
- ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.2-ReleaseNotes
+ https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.2-ReleaseNotes
@@ -187 +235 @@
- ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.1-ReleaseNotes
+ https://www.kernel.org/pub/linux/utils/util-linux/v2.28/v2.28.1-ReleaseNotes
@@ -296 +344 @@
- ftp://ftp.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27.1-ReleaseNotes
+ https://www.kernel.org/pub/linux/utils/util-linux/v2.27/v2.27.1-ReleaseNotes
@@ -1851 +1899 @@
- ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.18/v2.18-ReleaseNotes
+ https://www.kernel.org/pub/linux/utils/util-linux/v2.18/v2.18-ReleaseNotes
util-linux-systemd.changes: same change
util-linux.changes: same change
Old:
----
arm64-lscpu-use-sysfs-for-table-access-if-available.patch
util-linux-2.29.2.tar.sign
util-linux-2.29.2.tar.xz
New:
----
util-linux-2.30.tar.sign
util-linux-2.30.tar.xz
util-linux-lscpu-cleanup-DMI-detection-return-codes.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-libmount.spec ++++++
--- /var/tmp/diff_new_pack.vKj8Gm/_old 2017-06-29 14:58:52.558771138 +0200
+++ /var/tmp/diff_new_pack.vKj8Gm/_new 2017-06-29 14:58:52.562770572 +0200
@@ -116,7 +116,7 @@
%endif
%endif
#END SECOND STAGE DEPENDENCIES
-Version: 2.29.2
+Version: 2.30
Release: 0
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
# that into the core build cycle. pwdutils also pulls in the whole
@@ -125,7 +125,7 @@
# these tools as well
#!BuildIgnore: pwdutils
Url: https://www.kernel.org/pub/linux/utils/util-linux/
-Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-%{version}.tar.xz
+Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-%{version}.tar.xz
Source1: util-linux-rpmlintrc
Source4: raw.service
Source5: etc.raw
@@ -135,7 +135,7 @@
Source9: remote.pamd
Source10: su.pamd
Source11: su.default
-Source12: https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-%{version}.tar.sign
+Source12: https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-%{version}.tar.sign
Source13: %{_name}.keyring
Source14: runuser.pamd
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
@@ -157,8 +157,8 @@
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
# PATCH-FEATURE-SLE util-linux-losetup-Add-support-for-setting-logical-blocksize.patch bsc931634 FATE319010 hare@suse.de -- Add support for setting logical blocksizes.
Patch1: util-linux-losetup-Add-support-for-setting-logical-blocksize.patch
-# PATCH-BUG-FIX arm64-lscpu-use-sysfs-for-table-access-if-available.patch bsc#1033718 agraf@suse.de -- Use SMBIOS3 tables when available in lscpu
-Patch2: arm64-lscpu-use-sysfs-for-table-access-if-available.patch
+# PATCH-BUG-FIX util-linux-lscpu-cleanup-DMI-detection-return-codes.patch bsc#1039360 msuchanek@suse.de -- lscpu: cleanup DMI detection return codes
+Patch2: util-linux-lscpu-cleanup-DMI-detection-return-codes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
%if %build_util_linux
@@ -177,8 +177,10 @@
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
+%if 0%{?suse_version} < 1330
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
+%endif
# File conflicts of completion files with <= Leap 42.1 and <= SLE12 SP1 (fixed by SLE12 Update, boo#977259#c3).
Conflicts: bash-completion <= 2.1-10
# The preset is provided by the presets branding package since 0.4 (bsc#1012850) and since 12.2 in SLE (boo#1029775)
@@ -601,6 +603,7 @@
export TS_OPT_fdisk_gpt_known_fail="yes"
export TS_OPT_fdisk_oddinput_known_fail="yes"
export TS_OPT_fdisk_sunlabel_known_fail="yes"
+export TS_OPT_fincore_count_known_fail="yes"
export TS_OPT_libfdisk_gpt_known_fail="yes"
export TS_OPT_misc_flock_known_fail="yes"
export TS_OPT_misc_ionice_known_fail="yes"
@@ -934,6 +937,7 @@
%{_bindir}/su
%{_bindir}/eject
%{_bindir}/cal
+%{_bindir}/chmem
%{_bindir}/chrt
%{_bindir}/col
%{_bindir}/colcrt
@@ -941,6 +945,7 @@
%{_bindir}/column
%{_bindir}/dmesg
%{_bindir}/fallocate
+%{_bindir}/fincore
%{_bindir}/findmnt
%{_bindir}/flock
%{_bindir}/getopt
@@ -960,6 +965,7 @@
%{_bindir}/lscpu
%{_bindir}/lsipc
%{_bindir}/lslocks
+%{_bindir}/lsmem
%{_bindir}/lsns
%{_bindir}/mcookie
%{_bindir}/mesg
@@ -976,7 +982,6 @@
%{_bindir}/setarch
%{_bindir}/setpriv
%{_bindir}/setsid
-%{_bindir}/tailf
%{_bindir}/taskset
%{_bindir}/ul
%{_bindir}/umount
@@ -994,6 +999,10 @@
%{_sbindir}/agetty
%{_sbindir}/blkid
%{_sbindir}/blkdiscard
+# blkzone depends on linux/blkzoned.h
+%if 0%{?suse_version} >= 1330
+%{_sbindir}/blkzone
+%endif
%{_sbindir}/blockdev
%{_sbindir}/chcpu
%{_sbindir}/ctrlaltdel
@@ -1041,6 +1050,7 @@
%{_mandir}/man1/dmesg.1.gz
%{_mandir}/man1/eject.1.gz
%{_mandir}/man1/fallocate.1.gz
+%{_mandir}/man1/fincore.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
%{_mandir}/man1/hexdump.1.gz
@@ -1055,6 +1065,7 @@
%{_mandir}/man1/look.1.gz
%{_mandir}/man1/lscpu.1.gz
%{_mandir}/man1/lsipc.1.gz
+%{_mandir}/man1/lsmem.1.gz
%{_mandir}/man1/mcookie.1.gz
%{_mandir}/man1/mesg.1.gz
%{_mandir}/man1/more.1.gz
@@ -1070,7 +1081,6 @@
%{_mandir}/man1/script.1.gz
%{_mandir}/man1/scriptreplay.1.gz
%{_mandir}/man1/setterm.1.gz
-%{_mandir}/man1/tailf.1.gz
%{_mandir}/man1/taskset.1.gz
%{_mandir}/man1/ul.1.gz
%{_mandir}/man1/unshare.1.gz
@@ -1086,9 +1096,13 @@
%{_mandir}/man5/terminal-colors.d.5.gz
%{_mandir}/man8/addpart.8.gz
%{_mandir}/man8/agetty.8.gz
+%if 0%{?suse_version} >= 1330
+%{_mandir}/man8/blkzone.8.gz
+%endif
%{_mandir}/man8/blockdev.8.gz
-%{_mandir}/man8/delpart.8.gz
+%{_mandir}/man8/chmem.8.gz
%{_mandir}/man8/ctrlaltdel.8.gz
+%{_mandir}/man8/delpart.8.gz
%{_mandir}/man8/blkid.8.gz
%{_mandir}/man8/blkdiscard.8.gz
%{_mandir}/man8/switch_root.8.gz
util-linux-systemd.spec: same change
++++++ util-linux.spec ++++++
--- /var/tmp/diff_new_pack.vKj8Gm/_old 2017-06-29 14:58:52.654757584 +0200
+++ /var/tmp/diff_new_pack.vKj8Gm/_new 2017-06-29 14:58:52.658757020 +0200
@@ -116,7 +116,7 @@
%endif
%endif
#END SECOND STAGE DEPENDENCIES
-Version: 2.29.2
+Version: 2.30
Release: 0
# util-linux is a base package and uuidd pre-requiring pwdutils pulls
# that into the core build cycle. pwdutils also pulls in the whole
@@ -125,7 +125,7 @@
# these tools as well
#!BuildIgnore: pwdutils
Url: https://www.kernel.org/pub/linux/utils/util-linux/
-Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-%{version}.tar.xz
+Source: https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-%{version}.tar.xz
Source1: util-linux-rpmlintrc
Source4: raw.service
Source5: etc.raw
@@ -135,7 +135,7 @@
Source9: remote.pamd
Source10: su.pamd
Source11: su.default
-Source12: https://www.kernel.org/pub/linux/utils/util-linux/v2.29/util-linux-%{version}.tar.sign
+Source12: https://www.kernel.org/pub/linux/utils/util-linux/v2.30/util-linux-%{version}.tar.sign
Source13: %{_name}.keyring
Source14: runuser.pamd
# klogconsole, http://opensuse.github.com/kiwi, 7.02.25, git 859dc050
@@ -157,8 +157,8 @@
Patch0: make-sure-sbin-resp-usr-sbin-are-in-PATH.diff
# PATCH-FEATURE-SLE util-linux-losetup-Add-support-for-setting-logical-blocksize.patch bsc931634 FATE319010 hare@suse.de -- Add support for setting logical blocksizes.
Patch1: util-linux-losetup-Add-support-for-setting-logical-blocksize.patch
-# PATCH-BUG-FIX arm64-lscpu-use-sysfs-for-table-access-if-available.patch bsc#1033718 agraf@suse.de -- Use SMBIOS3 tables when available in lscpu
-Patch2: arm64-lscpu-use-sysfs-for-table-access-if-available.patch
+# PATCH-BUG-FIX util-linux-lscpu-cleanup-DMI-detection-return-codes.patch bsc#1039360 msuchanek@suse.de -- lscpu: cleanup DMI detection return codes
+Patch2: util-linux-lscpu-cleanup-DMI-detection-return-codes.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
#
%if %build_util_linux
@@ -177,8 +177,10 @@
# File conflict of su and kill (up to 12.3 and SLE11).
# It should be coreutils < 8.21-4, but coreutils provide Release-less symbol.
Conflicts: coreutils < 8.21
+%if 0%{?suse_version} < 1330
# File conflict of sulogin and utmpdump (up to 12.3 and SLE11).
Conflicts: sysvinit-tools < 2.88+-87
+%endif
# File conflicts of completion files with <= Leap 42.1 and <= SLE12 SP1 (fixed by SLE12 Update, boo#977259#c3).
Conflicts: bash-completion <= 2.1-10
# The preset is provided by the presets branding package since 0.4 (bsc#1012850) and since 12.2 in SLE (boo#1029775)
@@ -601,6 +603,7 @@
export TS_OPT_fdisk_gpt_known_fail="yes"
export TS_OPT_fdisk_oddinput_known_fail="yes"
export TS_OPT_fdisk_sunlabel_known_fail="yes"
+export TS_OPT_fincore_count_known_fail="yes"
export TS_OPT_libfdisk_gpt_known_fail="yes"
export TS_OPT_misc_flock_known_fail="yes"
export TS_OPT_misc_ionice_known_fail="yes"
@@ -934,6 +937,7 @@
%{_bindir}/su
%{_bindir}/eject
%{_bindir}/cal
+%{_bindir}/chmem
%{_bindir}/chrt
%{_bindir}/col
%{_bindir}/colcrt
@@ -941,6 +945,7 @@
%{_bindir}/column
%{_bindir}/dmesg
%{_bindir}/fallocate
+%{_bindir}/fincore
%{_bindir}/findmnt
%{_bindir}/flock
%{_bindir}/getopt
@@ -960,6 +965,7 @@
%{_bindir}/lscpu
%{_bindir}/lsipc
%{_bindir}/lslocks
+%{_bindir}/lsmem
%{_bindir}/lsns
%{_bindir}/mcookie
%{_bindir}/mesg
@@ -976,7 +982,6 @@
%{_bindir}/setarch
%{_bindir}/setpriv
%{_bindir}/setsid
-%{_bindir}/tailf
%{_bindir}/taskset
%{_bindir}/ul
%{_bindir}/umount
@@ -994,6 +999,10 @@
%{_sbindir}/agetty
%{_sbindir}/blkid
%{_sbindir}/blkdiscard
+# blkzone depends on linux/blkzoned.h
+%if 0%{?suse_version} >= 1330
+%{_sbindir}/blkzone
+%endif
%{_sbindir}/blockdev
%{_sbindir}/chcpu
%{_sbindir}/ctrlaltdel
@@ -1041,6 +1050,7 @@
%{_mandir}/man1/dmesg.1.gz
%{_mandir}/man1/eject.1.gz
%{_mandir}/man1/fallocate.1.gz
+%{_mandir}/man1/fincore.1.gz
%{_mandir}/man1/flock.1.gz
%{_mandir}/man1/getopt.1.gz
%{_mandir}/man1/hexdump.1.gz
@@ -1055,6 +1065,7 @@
%{_mandir}/man1/look.1.gz
%{_mandir}/man1/lscpu.1.gz
%{_mandir}/man1/lsipc.1.gz
+%{_mandir}/man1/lsmem.1.gz
%{_mandir}/man1/mcookie.1.gz
%{_mandir}/man1/mesg.1.gz
%{_mandir}/man1/more.1.gz
@@ -1070,7 +1081,6 @@
%{_mandir}/man1/script.1.gz
%{_mandir}/man1/scriptreplay.1.gz
%{_mandir}/man1/setterm.1.gz
-%{_mandir}/man1/tailf.1.gz
%{_mandir}/man1/taskset.1.gz
%{_mandir}/man1/ul.1.gz
%{_mandir}/man1/unshare.1.gz
@@ -1086,9 +1096,13 @@
%{_mandir}/man5/terminal-colors.d.5.gz
%{_mandir}/man8/addpart.8.gz
%{_mandir}/man8/agetty.8.gz
+%if 0%{?suse_version} >= 1330
+%{_mandir}/man8/blkzone.8.gz
+%endif
%{_mandir}/man8/blockdev.8.gz
-%{_mandir}/man8/delpart.8.gz
+%{_mandir}/man8/chmem.8.gz
%{_mandir}/man8/ctrlaltdel.8.gz
+%{_mandir}/man8/delpart.8.gz
%{_mandir}/man8/blkid.8.gz
%{_mandir}/man8/blkdiscard.8.gz
%{_mandir}/man8/switch_root.8.gz
++++++ mkzimage_cmdline.c ++++++
--- /var/tmp/diff_new_pack.vKj8Gm/_old 2017-06-29 14:58:52.782739514 +0200
+++ /var/tmp/diff_new_pack.vKj8Gm/_new 2017-06-29 14:58:52.782739514 +0200
@@ -162,9 +162,9 @@
if (clear)
memset(s, 0x0, tmp - s);
if (set)
- snprintf(s, tmp - s, "%s", string);
+ snprintf((char*)s, tmp - s, "%s", string);
} else {
- fprintf(stdout, "cmd_line size:%d\n", tmp - s);
+ fprintf(stdout, "cmd_line size:%td\n", tmp - s);
fprintf(stdout, "cmd_line: %s\n", s);
fprintf(stdout, "active: %c\n", *active);
}
++++++ util-linux-2.29.2.tar.xz -> util-linux-2.30.tar.xz ++++++
++++ 488865 lines of diff (skipped)
++++++ util-linux-losetup-Add-support-for-setting-logical-blocksize.patch ++++++
--- /var/tmp/diff_new_pack.vKj8Gm/_old 2017-06-29 14:58:55.398370197 +0200
+++ /var/tmp/diff_new_pack.vKj8Gm/_new 2017-06-29 14:58:55.398370197 +0200
@@ -1,7 +1,20 @@
-Index: util-linux-2.29/include/loopdev.h
-===================================================================
---- util-linux-2.29.orig/include/loopdev.h
-+++ util-linux-2.29/include/loopdev.h
+From a60cc5c2eeaad7ea5ea0c4a74cc4af5e2dc3f6c2 Mon Sep 17 00:00:00 2001
+From: Ruediger Meier
From c972852b29391c35b1d5c7d3e1e6413e0cc86908 Mon Sep 17 00:00:00 2001 From: Karel Zak
Date: Tue, 13 Jun 2017 12:15:11 +0200 Subject: [PATCH] lscpu: cleanup DMI detection return codes
Michal wrote:
There is weird mix of logic in lscpu-dmi.c which sometimes returns 0 and
sometimes -1 on error. Since most checks are if (rc) goto done; this
bails out early on error skipping some detection methods. Further, in
lscpu.c all following detections are guarder by if(hyper) so returning
-1 causes all following methods to be skipped.
Reported-by: Michal Suchanek
participants (1)
-
root@hilbert.suse.de