Hello community, here is the log from the commit of package irqbalance for openSUSE:Factory checked in at 2020-08-19 18:46:51 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/irqbalance (Old) and /work/SRC/openSUSE:Factory/.irqbalance.new.3399 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "irqbalance" Wed Aug 19 18:46:51 2020 rev:55 rq:827049 version:1.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/irqbalance/irqbalance.changes 2020-06-23 21:03:00.421535486 +0200 +++ /work/SRC/openSUSE:Factory/.irqbalance.new.3399/irqbalance.changes 2020-08-19 18:47:23.755546564 +0200 @@ -1,0 +2,20 @@ +Sun Aug 16 14:14:22 UTC 2020 - Dirk Mueller <dmuel...@suse.com> + +- update to 1.7.0: + * Strlen checking for IRQBALANCE_BANNED_CPU env var + * Typo cleanup in SOCKET_TMPFS + * consolidation of numa node creation on non-numa systems + * fix uninitialized use of package_mask in affinity setup + * use num_online_cpus instead of core_count + * fix a null ptr crash in do_one_cpu + * make list searching common from glib + * fix a calloc parameter bug + * remove some unused variables + * use g_list_free_full + * remove redundant call to free_cl_opts + * fix some resource leaks in main() + * fix some use after free issues in check_for_irq_ban + * fix resource leaks in irqballance-ui, and in add_one_node +- remove Correct-capitalizing-in-service-file.patch: upstream + +------------------------------------------------------------------- Old: ---- Correct-capitalizing-in-service-file.patch _service irqbalance-1.6.0+git20200317.0348a3b.tar.gz New: ---- irqbalance-1.7.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ irqbalance.spec ++++++ --- /var/tmp/diff_new_pack.yqZj4S/_old 2020-08-19 18:47:26.411547976 +0200 +++ /var/tmp/diff_new_pack.yqZj4S/_new 2020-08-19 18:47:26.419547980 +0200 @@ -21,17 +21,15 @@ %define _fillupdir %{_localstatedir}/adm/fillup-templates %endif Name: irqbalance -Version: 1.6.0+git20200317.0348a3b +Version: 1.7.0 Release: 0 Summary: Daemon to balance IRQs on SMP machines License: GPL-2.0-or-later Group: System/Daemons URL: https://github.com/Irqbalance/irqbalance -#Source: https://github.com/Irqbalance/irqbalance/archive/v%%{version}.tar.gz -Source: %{name}-%{version}.tar.gz +Source: https://github.com/Irqbalance/irqbalance/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source3: sysconfig.irqbalance Patch1: Set-fd-limit.patch -Patch2: Correct-capitalizing-in-service-file.patch BuildRequires: libcap-ng-devel BuildRequires: libtool BuildRequires: ncurses-devel @@ -39,8 +37,8 @@ BuildRequires: systemd-rpm-macros BuildRequires: pkgconfig(glib-2.0) Requires(pre): %fillup_prereq -ExcludeArch: s390 s390x Recommends: %{name}-ui +ExcludeArch: s390 s390x %{?systemd_requires} %ifnarch %{arm} BuildRequires: libnuma-devel @@ -65,7 +63,7 @@ %build NOCONFIGURE=1 ./autogen.sh %configure -make %{?_smp_mflags} LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE -pie $(ncurses6-config --cflags)" LDFLAGS="$(ncurses6-config --libs)" +%make_build LDFLAGS="-Wl,-z,relro,-z,now" CFLAGS="%{optflags} -fPIE -pie $(ncurses6-config --cflags)" LDFLAGS="$(ncurses6-config --libs)" cp %{SOURCE3} . %install ++++++ irqbalance-1.6.0+git20200317.0348a3b.tar.gz -> irqbalance-1.7.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irqbalance-1.6.0+git20200317.0348a3b/.gitignore new/irqbalance-1.7.0/.gitignore --- old/irqbalance-1.6.0+git20200317.0348a3b/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/irqbalance-1.7.0/.gitignore 2020-08-04 14:30:13.000000000 +0200 @@ -0,0 +1,36 @@ +*.a +*.o +*~ + +.deps + +*.diff +*.patch +*.orig +*.rej + +/INSTALL +/Makefile +/Makefile.in +*/Makefile +*/Makefile.in +/aclocal.m4 +/autom4te.cache +/compile +/config.guess +/config.h +/config.h.in +/config.log +/config.status +/config.sub +/configure +/install-sh +/libtool +/ltmain.sh +/m4 +/missing +/stamp-h1 +/depcomp + +/irqbalance +irqbalance-*.tar.* diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irqbalance-1.6.0+git20200317.0348a3b/configure.ac new/irqbalance-1.7.0/configure.ac --- old/irqbalance-1.6.0+git20200317.0348a3b/configure.ac 2020-03-17 13:06:25.000000000 +0100 +++ new/irqbalance-1.7.0/configure.ac 2020-08-04 14:30:13.000000000 +0200 @@ -1,4 +1,4 @@ -AC_INIT(irqbalance,1.6.0) +AC_INIT(irqbalance,1.7.0) AC_PREREQ(2.12)dnl AM_CONFIG_HEADER(config.h) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irqbalance-1.6.0+git20200317.0348a3b/cputree.c new/irqbalance-1.7.0/cputree.c --- old/irqbalance-1.6.0+git20200317.0348a3b/cputree.c 2020-03-17 13:06:25.000000000 +0100 +++ new/irqbalance-1.7.0/cputree.c 2020-08-04 14:30:13.000000000 +0200 @@ -110,6 +110,7 @@ char buffer[4096]; cpumask_t nohz_full; cpumask_t isolated_cpus; + char *env = NULL; cpus_clear(isolated_cpus); cpus_clear(nohz_full); @@ -120,8 +121,9 @@ strlen(banned_cpumask_from_ui), banned_cpus); goto out; } - if (getenv("IRQBALANCE_BANNED_CPUS")) { - cpumask_parse_user(getenv("IRQBALANCE_BANNED_CPUS"), strlen(getenv("IRQBALANCE_BANNED_CPUS")), banned_cpus); + env = getenv("IRQBALANCE_BANNED_CPUS"); + if (env && strlen(env)) { + cpumask_parse_user(env, strlen(env), banned_cpus); goto out; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irqbalance-1.6.0+git20200317.0348a3b/irqbalance.h new/irqbalance-1.7.0/irqbalance.h --- old/irqbalance-1.6.0+git20200317.0348a3b/irqbalance.h 2020-03-17 13:06:25.000000000 +0100 +++ new/irqbalance-1.7.0/irqbalance.h 2020-08-04 14:30:13.000000000 +0200 @@ -162,7 +162,7 @@ #endif /* HAVE_LIBSYSTEMD */ #define SOCKET_PATH "irqbalance" -#define SOCKET_TMPFS "/run/irqbalance/" +#define SOCKET_TMPFS "/run/irqbalance" extern int process_one_line(char *path, void (*cb)(char *line, void *data), void *data); extern void get_mask_from_bitmap(char *line, void *mask); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/irqbalance-1.6.0+git20200317.0348a3b/misc/irqbalance.service new/irqbalance-1.7.0/misc/irqbalance.service --- old/irqbalance-1.6.0+git20200317.0348a3b/misc/irqbalance.service 2020-03-17 13:06:25.000000000 +0100 +++ new/irqbalance-1.7.0/misc/irqbalance.service 2020-08-04 14:30:13.000000000 +0200 @@ -5,7 +5,7 @@ ConditionVirtualization=!container [Service] -Environmentfile=-/usr/lib/irqbalance/defaults.env +EnvironmentFile=-/usr/lib/irqbalance/defaults.env EnvironmentFile=-/path/to/irqbalance.env ExecStart=/usr/sbin/irqbalance --foreground $IRQBALANCE_ARGS CapabilityBoundingSet=