Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package collectd for openSUSE:Factory 
checked in at 2025-10-17 17:25:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/collectd (Old)
 and      /work/SRC/openSUSE:Factory/.collectd.new.18484 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "collectd"

Fri Oct 17 17:25:49 2025 rev:49 rq:1311791 version:5.12.0.366.gc254dc2c

Changes:
--------
--- /work/SRC/openSUSE:Factory/collectd/collectd.changes        2025-01-29 
16:17:54.406202354 +0100
+++ /work/SRC/openSUSE:Factory/.collectd.new.18484/collectd.changes     
2025-10-17 17:26:18.939339983 +0200
@@ -1,0 +2,18 @@
+Thu Oct 16 11:19:43 UTC 2025 - Arvin Schnell <[email protected]>
+
+- Update to version 5.12.0.366.gc254dc2c:
+  * Fix FreeBSD image for Cirrus CI
+  * Fix build due to error in curl_easy_setopt
+  * Update BUILD.dpdkstat.md
+  * src: add NULL check for severity in logparser_config_message
+  * scr: daemon: fix memory leak in plugin_register_cache_event() in plugin.c
+  * src: fix memory leak in config parser in write_syslog.c
+  * configure.ac: use pkg-config to find libgcrypt
+  * Fix deprecated actions/upload-artifact@v3 in GitHub Actions
+  * Format correction
+  * When UseSerial is enabled, allow configured ignored disk names to be 
copied to the serial ignore list for devices without serials.
+  * processes: Do not post metrics from processes that are not running.
+- Add patch:
+  - collectd-fix_attr_unused.patch
+
+-------------------------------------------------------------------

Old:
----
  collectd-5.12.0.348.g93f9bdcb.obscpio

New:
----
  collectd-5.12.0.366.gc254dc2c.obscpio
  collectd-fix_attr_unused.patch

----------(New B)----------
  New:- Add patch:
  - collectd-fix_attr_unused.patch
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ collectd.spec ++++++
--- /var/tmp/diff_new_pack.GuucKb/_old  2025-10-17 17:26:19.699371996 +0200
+++ /var/tmp/diff_new_pack.GuucKb/_new  2025-10-17 17:26:19.703372164 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package collectd
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC and contributors
 # Copyright (c) 2005-2013 Pascal Bleser <[email protected]>
 #
 # All modifications and additions to the file contributed by third parties
@@ -60,7 +60,7 @@
 %endif
 %bcond_with epics
 Name:           collectd
-Version:        5.12.0.348.g93f9bdcb
+Version:        5.12.0.366.gc254dc2c
 Release:        0
 Summary:        Statistics Collection Daemon for filling RRD Files
 License:        GPL-2.0-only AND MIT
@@ -84,6 +84,7 @@
 # PATCH-FIX-OPENSUSE avoid-pg-config.patch avoid pg_config if possible
 Patch11:        avoid-pg-config.patch
 Patch12:        harden_collectd.service.patch
+Patch13:        collectd-fix_attr_unused.patch
 # for /etc/apache2/... ownership (rpmlint):
 BuildRequires:  apache2
 BuildRequires:  autoconf
@@ -156,8 +157,8 @@
 BuildRequires:  pkgconfig(libsigrok)
 %endif
 %if 0%{?suse_version} > 1500 || 0%{?sle_version} >= 150400
-BuildRequires:  pkgconfig(libmodbus)
 BuildRequires:  strip-nondeterminism
+BuildRequires:  pkgconfig(libmodbus)
 %endif
 %if 0%{?is_opensuse}
 BuildRequires:  pkgconfig(libmosquitto)

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.GuucKb/_old  2025-10-17 17:26:19.755374354 +0200
+++ /var/tmp/diff_new_pack.GuucKb/_new  2025-10-17 17:26:19.759374523 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/collectd/collectd.git</param>
-              <param 
name="changesrevision">5fe97a98e59a7447a12fa7b4df43f29f44bb2d4d</param></service></servicedata>
+              <param 
name="changesrevision">c254dc2c1eb10b43d32ed6a3202b770f73f6ef25</param></service></servicedata>
 (No newline at EOF)
 

++++++ collectd-5.12.0.348.g93f9bdcb.obscpio -> 
collectd-5.12.0.366.gc254dc2c.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/.cirrus.yml 
new/collectd-5.12.0.366.gc254dc2c/.cirrus.yml
--- old/collectd-5.12.0.348.g93f9bdcb/.cirrus.yml       2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/.cirrus.yml       2025-08-29 
16:22:03.000000000 +0200
@@ -224,7 +224,7 @@
 freebsd_task:
   freebsd_instance:
     matrix:
-      - image_family: freebsd-13-2
+      - image_family: freebsd-13-5
   allow_failures: false
   pkg_install_script:
     - >
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/collectd-5.12.0.348.g93f9bdcb/.github/workflows/build.yml 
new/collectd-5.12.0.366.gc254dc2c/.github/workflows/build.yml
--- old/collectd-5.12.0.348.g93f9bdcb/.github/workflows/build.yml       
2024-10-09 17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/.github/workflows/build.yml       
2025-08-29 16:22:03.000000000 +0200
@@ -56,9 +56,9 @@
     - name: Run configure script
       run: ./configure $CONFIGURE_FLAGS
     - name: Upload config.log
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
-        name: ${{ matrix.container_tag }}
+        name: configure log for ${{ matrix.container_tag }} ${{ 
matrix.configure_flags }}
         path: config.log
     - name: Build collectd
       run: make -j$(nproc) -sk
@@ -69,9 +69,9 @@
         echo "$?" >make-check.status
       continue-on-error: true
     - name: Upload log files
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
-        name: ${{ matrix.container_tag }}
+        name: Build logs ${{ matrix.container_tag }} ${{ 
matrix.configure_flags }}
         path: "*.log"
     - name: Report check status
       run: exit $(< make-check.status)
@@ -115,9 +115,9 @@
     - name: Run configure script
       run: ./configure $CONFIGURE_FLAGS
     - name: Upload config.log
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
-        name: ${{ matrix.container_tag }}
+        name: configure log for ${{ matrix.container_tag }} ${{ 
matrix.configure_flags }}
         path: config.log
     - name: Build collectd
       run: make -j$(nproc) -sk
@@ -128,9 +128,9 @@
         echo "$?" >make-check.status
       continue-on-error: true
     - name: Upload log files
-      uses: actions/upload-artifact@v3
+      uses: actions/upload-artifact@v4
       with:
-        name: ${{ matrix.container_tag }}
+        name: Build logs ${{ matrix.container_tag }} ${{ 
matrix.configure_flags }}
         path: "*.log"
     - name: Report check status
       run: exit $(< make-check.status)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/Makefile.am 
new/collectd-5.12.0.366.gc254dc2c/Makefile.am
--- old/collectd-5.12.0.348.g93f9bdcb/Makefile.am       2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/Makefile.am       2025-08-29 
16:22:03.000000000 +0200
@@ -581,8 +581,7 @@
 libcollectdclient_la_LIBADD += -lgnu -lws2_32 -liphlpapi
 endif
 if BUILD_WITH_LIBGCRYPT
-libcollectdclient_la_CPPFLAGS += $(GCRYPT_CPPFLAGS)
-libcollectdclient_la_LDFLAGS += $(GCRYPT_LDFLAGS)
+libcollectdclient_la_CPPFLAGS += $(GCRYPT_CFLAGS)
 libcollectdclient_la_LIBADD += $(GCRYPT_LIBS)
 endif
 
@@ -594,8 +593,7 @@
        -I$(srcdir)/src/libcollectdclient \
        -I$(top_builddir)/src/libcollectdclient
 if BUILD_WITH_LIBGCRYPT
-test_libcollectd_network_parse_CPPFLAGS += $(GCRYPT_CPPFLAGS)
-test_libcollectd_network_parse_LDFLAGS = $(GCRYPT_LDFLAGS)
+test_libcollectd_network_parse_CPPFLAGS += $(GCRYPT_CFLAGS)
 test_libcollectd_network_parse_LDADD = $(GCRYPT_LIBS)
 endif
 
@@ -1581,8 +1579,7 @@
 network_la_LIBADD += -lsocket
 endif
 if BUILD_WITH_LIBGCRYPT
-network_la_CPPFLAGS += $(GCRYPT_CPPFLAGS)
-network_la_LDFLAGS += $(GCRYPT_LDFLAGS)
+network_la_CPPFLAGS += $(GCRYPT_CFLAGS)
 network_la_LIBADD += $(GCRYPT_LIBS)
 endif
 
@@ -1591,8 +1588,8 @@
        src/utils_fbhash.c \
        src/daemon/configfile.c \
        src/daemon/types_list.c
-test_plugin_network_CPPFLAGS = $(AM_CPPFLAGS) $(GCRYPT_CPPFLAGS)
-test_plugin_network_LDFLAGS = $(PLUGIN_LDFLAGS) $(GCRYPT_LDFLAGS)
+test_plugin_network_CPPFLAGS = $(AM_CPPFLAGS) $(GCRYPT_CFLAGS)
+test_plugin_network_LDFLAGS = $(PLUGIN_LDFLAGS)
 test_plugin_network_LDADD = \
        libavltree.la \
        liboconfig.la \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/configure.ac 
new/collectd-5.12.0.366.gc254dc2c/configure.ac
--- old/collectd-5.12.0.348.g93f9bdcb/configure.ac      2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/configure.ac      2025-08-29 
16:22:03.000000000 +0200
@@ -2723,48 +2723,27 @@
 # }}}
 
 # --with-libgcrypt {{{
-GCRYPT_CPPFLAGS="$GCRYPT_CPPFLAGS"
-GCRYPT_LDFLAGS="$GCRYPT_LDFLAGS"
-GCRYPT_LIBS="$GCRYPT_LIBS"
 AC_ARG_WITH([libgcrypt],
-  [AS_HELP_STRING([--with-libgcrypt@<:@=PREFIX@:>@], [Path to libgcrypt.])],
+  [AS_HELP_STRING([--with-libgcrypt], [Use libgcrypt (default is auto)])],
   [
-    if test -f "$withval" && test -x "$withval"; then
-      with_libgcrypt_config="$withval"
-      with_libgcrypt="yes"
-    else if test -f "$withval/bin/libgcrypt-config" && test -x 
"$withval/bin/libgcrypt-config"; then
-      with_libgcrypt_config="$withval/bin/libgcrypt-config"
-      with_libgcrypt="yes"
-    else if test -d "$withval"; then
-      GCRYPT_CPPFLAGS="$GCRYPT_CPPFLAGS -I$withval/include"
-      GCRYPT_LDFLAGS="$GCRYPT_LDFLAGS -L$withval/lib"
-      with_libgcrypt="yes"
-    else
-      with_libgcrypt_config="libgcrypt-config"
-      with_libgcrypt="$withval"
-    fi; fi; fi
+    with_libgcrypt="$withval"
+    if test "x$withval" = "xno"; then
+      with_libgcrypt="no (disabled on command line)"
+    fi
   ],
-  [
-    with_libgcrypt_config="libgcrypt-config"
-    with_libgcrypt="yes"
-  ]
+  [with_libgcrypt="yes"]
 )
 
-if test "x$with_libgcrypt" = "xyes" && test "x$with_libgcrypt_config" != "x"; 
then
-  if test "x$GCRYPT_CPPFLAGS" = "x"; then
-    GCRYPT_CPPFLAGS=`"$with_libgcrypt_config" --cflags 2>/dev/null`
-  fi
-
-  if test "x$GCRYPT_LIBS" = "x"; then
-    GCRYPT_LIBS=`"$with_libgcrypt_config" --libs 2>/dev/null`
-  fi
+if test "x$with_libgcrypt" = "xyes"; then
+  PKG_CHECK_MODULES([GCRYPT], [libgcrypt],
+    [],
+    [with_libgcrypt="no (pkg-config could not find libgcrypt)"]
+  )
 fi
 
 SAVE_CPPFLAGS="$CPPFLAGS"
-SAVE_LDFLAGS="$LDFLAGS"
 SAVE_LIBS="$LIBS"
-CPPFLAGS="$CPPFLAGS $GCRYPT_CPPFLAGS"
-LDFLAGS="$LDFLAGS $GCRYPT_LDFLAGS"
+CPPFLAGS="$CPPFLAGS $GCRYPT_CFLAGS"
 LIBS="$LIBS $GCRYPT_LIBS"
 
 if test "x$with_libgcrypt" = "xyes"; then
@@ -2775,18 +2754,16 @@
 fi
 
 if test "x$with_libgcrypt" = "xyes"; then
-  AC_CHECK_LIB(gcrypt, gcry_md_hash_buffer,
+  AC_CHECK_FUNC([gcry_md_hash_buffer],
     [with_libgcrypt="yes"],
     [with_libgcrypt="no (symbol gcry_md_hash_buffer not found)"]
   )
 fi
 
 CPPFLAGS="$SAVE_CPPFLAGS"
-LDFLAGS="$SAVE_LDFLAGS"
 LIBS="$SAVE_LIBS"
 
-AC_SUBST([GCRYPT_CPPFLAGS])
-AC_SUBST([GCRYPT_LDFLAGS])
+AC_SUBST([GCRYPT_CFLAGS])
 AC_SUBST([GCRYPT_LIBS])
 AM_CONDITIONAL([BUILD_WITH_LIBGCRYPT], [test "x$with_libgcrypt" = "xyes"])
 # }}}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/docs/BUILD.dpdkstat.md 
new/collectd-5.12.0.366.gc254dc2c/docs/BUILD.dpdkstat.md
--- old/collectd-5.12.0.348.g93f9bdcb/docs/BUILD.dpdkstat.md    2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/docs/BUILD.dpdkstat.md    2025-08-29 
16:22:03.000000000 +0200
@@ -46,7 +46,7 @@
         git clone git://dpdk.org/dpdk
 
  *  Checkout the [DPDK system
-    requirements](http://dpdk.org/doc/guides/linux_gsg/sys_reqs.html) and make
+    requirements](https://doc.dpdk.org/guides/linux_gsg/sys_reqs.html) and make
     sure you have the required tools and hugepage setup as specified there.
 
     **Note:** It's recommended to use the 1GB hugepage setup for best
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/collectd.conf.in 
new/collectd-5.12.0.366.gc254dc2c/src/collectd.conf.in
--- old/collectd-5.12.0.348.g93f9bdcb/src/collectd.conf.in      2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/collectd.conf.in      2025-08-29 
16:22:03.000000000 +0200
@@ -1472,6 +1472,7 @@
 #      CollectMemoryMaps true
 #      CollectDelayAccounting false
 #      CollectSystemContextSwitch false
+#      SkipNonRunningProcess false
 #      Process "name"
 #      ProcessMatch "name" "regex"
 #      <Process "collectd">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/collectd.conf.pod 
new/collectd-5.12.0.366.gc254dc2c/src/collectd.conf.pod
--- old/collectd-5.12.0.348.g93f9bdcb/src/collectd.conf.pod     2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/collectd.conf.pod     2025-08-29 
16:22:03.000000000 +0200
@@ -8172,6 +8172,11 @@
 Can be configured only outside the B<Process> and B<ProcessMatch>
 blocks.
 
+=item B<SkipNonRunningProcess> I<Boolean>
+
+Skip submitting metrics for Zombie and non running processes.
+Disabled by default.
+
 =back
 
 The B<CollectContextSwitch>, B<CollectDelayAccounting>,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/curl.c 
new/collectd-5.12.0.366.gc254dc2c/src/curl.c
--- old/collectd-5.12.0.348.g93f9bdcb/src/curl.c        2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/curl.c        2025-08-29 
16:22:03.000000000 +0200
@@ -57,7 +57,7 @@
   char *instance;
 
   char *url;
-  int address_family;
+  long address_family;
   char *user;
   char *pass;
   char *credentials;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/curl_json.c 
new/collectd-5.12.0.366.gc254dc2c/src/curl_json.c
--- old/collectd-5.12.0.348.g93f9bdcb/src/curl_json.c   2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/curl_json.c   2025-08-29 
16:22:03.000000000 +0200
@@ -88,7 +88,7 @@
   char *sock;
 
   char *url;
-  int address_family;
+  long address_family;
   char *user;
   char *pass;
   char *credentials;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/curl_xml.c 
new/collectd-5.12.0.366.gc254dc2c/src/curl_xml.c
--- old/collectd-5.12.0.348.g93f9bdcb/src/curl_xml.c    2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/curl_xml.c    2025-08-29 
16:22:03.000000000 +0200
@@ -76,7 +76,7 @@
   char *host;
 
   char *url;
-  int address_family;
+  long address_family;
   char *user;
   char *pass;
   char *credentials;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/daemon/plugin.c 
new/collectd-5.12.0.366.gc254dc2c/src/daemon/plugin.c
--- old/collectd-5.12.0.348.g93f9bdcb/src/daemon/plugin.c       2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/daemon/plugin.c       2025-08-29 
16:22:03.000000000 +0200
@@ -1336,6 +1336,7 @@
   if (list_cache_event_num >= 32) {
     P_ERROR("plugin_register_cache_event: Too much cache event callbacks tried 
"
             "to be registered.");
+    free(name_copy);
     free_userdata(ud);
     return ENOMEM;
   }
@@ -1349,6 +1350,7 @@
       P_ERROR("plugin_register_cache_event: a callback named `%s' already "
               "registered!",
               name);
+      free(name_copy);
       free_userdata(ud);
       return -1;
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/logparser.c 
new/collectd-5.12.0.366.gc254dc2c/src/logparser.c
--- old/collectd-5.12.0.348.g93f9bdcb/src/logparser.c   2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/logparser.c   2025-08-29 
16:22:03.000000000 +0200
@@ -285,6 +285,10 @@
       ret = cf_util_get_string(child, &parser->def_type_inst);
     else if (strcasecmp("DefaultSeverity", child->key) == 0) {
       ret = cf_util_get_string(child, &severity);
+      if (ret != 0) {
+        ERROR(PLUGIN_NAME ": Error getting DefaultSeverity value");
+        goto error;
+      }
       if (strcasecmp(LOGPARSER_SEV_OK_STR, severity) == 0)
         parser->def_severity = NOTIF_OKAY;
       else if (strcasecmp(LOGPARSER_SEV_WARN_STR, severity) == 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/processes.c 
new/collectd-5.12.0.366.gc254dc2c/src/processes.c
--- old/collectd-5.12.0.348.g93f9bdcb/src/processes.c   2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/processes.c   2025-08-29 
16:22:03.000000000 +0200
@@ -297,6 +297,7 @@
   bool report_maps_num;
   bool report_ctx_switch;
   bool report_delay;
+  bool skip_non_running_procs;
 
   struct procstat *next;
   struct procstat_entry_s *instances;
@@ -310,6 +311,7 @@
 static bool report_maps_num;
 static bool report_delay;
 static bool report_sys_ctxt_switch;
+static bool skip_non_running_procs;
 
 #if HAVE_THREAD_INFO
 static mach_port_t port_host_self;
@@ -381,6 +383,7 @@
   new->report_maps_num = report_maps_num;
   new->report_ctx_switch = report_ctx_switch;
   new->report_delay = report_delay;
+  new->skip_non_running_procs = skip_non_running_procs;
 
 #if HAVE_REGEX_H
   if (regexp != NULL) {
@@ -680,6 +683,8 @@
       WARNING("processes plugin: The plugin has been compiled without support "
               "for the \"CollectDelayAccounting\" option.");
 #endif
+    } else if (strcasecmp(c->key, "SkipNonRunningProcess") == 0) {
+      cf_util_get_boolean(c, &ps->skip_non_running_procs);
     } else {
       ERROR("processes plugin: Option \"%s\" not allowed here.", c->key);
     }
@@ -750,6 +755,8 @@
 #endif
     } else if (strcasecmp(c->key, "CollectSystemContextSwitch") == 0) {
       cf_util_get_boolean(c, &report_sys_ctxt_switch);
+    } else if (strcasecmp(c->key, "SkipNonRunningProcess") == 0) {
+      cf_util_get_boolean(c, &skip_non_running_procs);
     } else {
       ERROR("processes plugin: The `%s' configuration option is not "
             "understood and will be ignored.",
@@ -839,6 +846,11 @@
 
 /* submit info about specific process (e.g.: memory taken, cpu usage, etc..) */
 static void ps_submit_proc_list(procstat_t *ps) {
+  if (ps->skip_non_running_procs && ps->num_lwp == 0) {
+    DEBUG("processes: Skip submit data from a non-running process %s",
+          ps->name);
+    return;
+  }
   value_list_t vl = VALUE_LIST_INIT;
   value_t values[2];
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/smart.c 
new/collectd-5.12.0.366.gc254dc2c/src/smart.c
--- old/collectd-5.12.0.348.g93f9bdcb/src/smart.c       2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/smart.c       2025-08-29 
16:22:03.000000000 +0200
@@ -150,7 +150,11 @@
       if (name[0] == '/')
         name++;
 
-      if (ignorelist_match(ignorelist, name) == 0 && serial != NULL) {
+      if (ignorelist_match(ignorelist, name) == 0) {
+        // Allow ignored devices with no serial to carry over to serial ignore
+        // list
+        if (!serial)
+          serial = name;
         ignorelist_add(ignorelist_by_serial, serial);
       }
     }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/collectd-5.12.0.348.g93f9bdcb/src/write_syslog.c 
new/collectd-5.12.0.366.gc254dc2c/src/write_syslog.c
--- old/collectd-5.12.0.348.g93f9bdcb/src/write_syslog.c        2024-10-09 
17:39:04.000000000 +0200
+++ new/collectd-5.12.0.366.gc254dc2c/src/write_syslog.c        2025-08-29 
16:22:03.000000000 +0200
@@ -591,6 +591,7 @@
       ERROR("write_syslog plugin: Invalid configuration "
             "option: %s.",
             child->key);
+      ws_callback_free(cb);
       return -1;
     }
   }

++++++ collectd-fix_attr_unused.patch ++++++
--- a/src/virt.c        2025-10-16 14:19:22.100971296 +0200
+++ b/src/virt.c        2025-10-16 14:20:20.193829575 +0200
@@ -2206,7 +2206,7 @@
   return 0;
 }
 
-static void virt_eventloop_timeout_cb(int timer ATTRIBUTE_UNUSED,
+static void virt_eventloop_timeout_cb(__attribute__((unused)) int timer,
                                       void *timer_info) {}
 
 static int register_event_impl(void) {

++++++ collectd.obsinfo ++++++
--- /var/tmp/diff_new_pack.GuucKb/_old  2025-10-17 17:26:20.707414455 +0200
+++ /var/tmp/diff_new_pack.GuucKb/_new  2025-10-17 17:26:20.715414792 +0200
@@ -1,5 +1,5 @@
 name: collectd
-version: 5.12.0.348.g93f9bdcb
-mtime: 1728488344
-commit: 93f9bdcbde34a02ff151608ebd7a9dfc86e4c2d0
+version: 5.12.0.366.gc254dc2c
+mtime: 1756477323
+commit: c254dc2c1eb10b43d32ed6a3202b770f73f6ef25
 

Reply via email to