Hello community, here is the log from the commit of package kmod for openSUSE:Factory checked in at 2016-07-10 18:46:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/kmod (Old) and /work/SRC/openSUSE:Factory/.kmod.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "kmod" Changes: -------- --- /work/SRC/openSUSE:Factory/kmod/kmod.changes 2016-02-18 12:35:34.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.kmod.new/kmod.changes 2016-07-10 18:46:21.000000000 +0200 @@ -1,0 +2,6 @@ +Fri Jun 17 15:18:29 UTC 2016 - mmarek@suse.cz + +- libkmod: Handle long lines in /proc/modules (bsc#983754) + 0001-libkmod-Handle-long-lines-in-proc-modules.patch + +------------------------------------------------------------------- New: ---- 0001-libkmod-Handle-long-lines-in-proc-modules.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kmod-testsuite.spec ++++++ --- /var/tmp/diff_new_pack.tJ3suf/_old 2016-07-10 18:46:22.000000000 +0200 +++ /var/tmp/diff_new_pack.tJ3suf/_new 2016-07-10 18:46:22.000000000 +0200 @@ -36,6 +36,8 @@ Patch4: 0010-modprobe-Implement-allow-unsupported-modules.patch Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch Patch7: 0001-use-correct-sort-method-in-test-array.patch +Patch8: depmod-Ignore_PowerPC64_ABIv2_.TOC.symbol.patch +Patch9: 0001-libkmod-Handle-long-lines-in-proc-modules.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -61,7 +63,7 @@ %prep %setup -q -n kmod-%version -%patch -P 1 -P 2 -P 3 -P 4 -P 5 -P 7 -p1 +%patch -P 1 -P 2 -P 3 -P 4 -P 5 -P 7 -P 8 -P 9 -p1 %build autoreconf -fi ++++++ kmod.spec ++++++ --- /var/tmp/diff_new_pack.tJ3suf/_old 2016-07-10 18:46:22.000000000 +0200 +++ /var/tmp/diff_new_pack.tJ3suf/_new 2016-07-10 18:46:22.000000000 +0200 @@ -37,6 +37,7 @@ Patch5: 0011-Do-not-filter-unsupported-modules-when-running-a-van.patch Patch7: 0001-use-correct-sort-method-in-test-array.patch Patch8: depmod-Ignore_PowerPC64_ABIv2_.TOC.symbol.patch +Patch9: 0001-libkmod-Handle-long-lines-in-proc-modules.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -102,7 +103,7 @@ %prep %setup -q -n kmod-%version -%patch -P 1 -P 2 -P 3 -P 4 -P 5 -P 7 -p1 -P 8 -p1 +%patch -P 1 -P 2 -P 3 -P 4 -P 5 -P 7 -P 8 -P 9 -p1 %build autoreconf -fi ++++++ 0001-libkmod-Handle-long-lines-in-proc-modules.patch ++++++
From d1a89109faebc3db7e01d10fb8ac6f9dd2332a8f Mon Sep 17 00:00:00 2001 From: Michal Marek
Date: Thu, 16 Jun 2016 09:18:52 +0200 Subject: [PATCH] libkmod: Handle long lines in /proc/modules Patch-mainline: Submitted to linux-modules@vger.kernel.org on 2016-06-17 References: bsc#983754
kmod_module_new_from_loaded() calls fgets with a 4k buffer. When a
module such as usbcore is used by too many modules, the rest of the line
is considered a beginning of another lines and we eventually get errors
like these from lsmod:
libkmod: kmod_module_get_holders: could not open '/sys/module/100,/holders': No such file or directory
together with bogus entries in the output. In kmod_module_get_size, the
problem does not affect functionality, but the line numbers in error
messages will be wrong.
Signed-off-by: Michal Marek