Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rsyslog for openSUSE:Factory checked in at 2023-10-26 17:12:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rsyslog (Old) and /work/SRC/openSUSE:Factory/.rsyslog.new.24901 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rsyslog" Thu Oct 26 17:12:06 2023 rev:174 rq:1120194 version:8.2306.0 Changes: -------- --- /work/SRC/openSUSE:Factory/rsyslog/rsyslog.changes 2023-07-17 19:22:48.693572380 +0200 +++ /work/SRC/openSUSE:Factory/.rsyslog.new.24901/rsyslog.changes 2023-10-26 17:12:23.499801453 +0200 @@ -1,0 +2,6 @@ +Tue Sep 5 12:43:28 UTC 2023 - Thomas Blume <[email protected]> + +- trigger daemon restart after modules packages have been updated + (bsc#1214996) + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rsyslog.spec ++++++ --- /var/tmp/diff_new_pack.S40IRJ/_old 2023-10-26 17:12:24.131824665 +0200 +++ /var/tmp/diff_new_pack.S40IRJ/_new 2023-10-26 17:12:24.135824811 +0200 @@ -21,6 +21,12 @@ %define _fillupdir /var/adm/fillup-templates %endif +%define mark_daemon_restart %if 0%{?suse_version} > 1550 \ + /usr/lib/systemd/systemd-update-helper mark-restart-system-units rsyslog.service \ + %else \ + /usr/bin/systemctl set-property "rsyslog.service" Markers=+needs-restart \ + %endif + # drop this with next release when doc tarball version lines up %define rsyslog_major 8.2306 %define rsyslog_patch 0 @@ -896,6 +902,131 @@ # to switch when installing it and there is a provider conflict. /usr/bin/systemctl -f enable rsyslog.service >/dev/null 2>&1 || : +%if %{with gssapi} + +%post module-gssapi +%mark_daemon_restart +%endif + +%if %{with mysql} + +%post module-mysql +%mark_daemon_restart +%endif + +%if %{with pgsql} + +%post module-pgsql +%mark_daemon_restart +%endif + +%if %{with dbi} + +%post module-dbi +%mark_daemon_restart +%endif + +%if %{with snmp} + +%post module-snmp +%mark_daemon_restart +%endif + +%if %{with gnutls} + +%post module-gtls +%mark_daemon_restart +%endif + +%if %{with openssl} + +%post module-ossl +%mark_daemon_restart +%endif + +%if %{with relp} + +%post module-relp +%mark_daemon_restart +%endif + +%if %{with mmnormalize} + +%post module-mmnormalize +%mark_daemon_restart +%endif + +%if %{with udpspoof} + +%post module-udpspoof +%mark_daemon_restart +%endif + +%if %{with elasticsearch} + +%post module-elasticsearch +%mark_daemon_restart +%endif + +%if %{with omhttpfs} + +%post module-omhttpfs +%mark_daemon_restart +%endif + +%if %{with hdfs} + +%post module-hdfs +%mark_daemon_restart +%endif + +%if %{with mongodb} + +%post module-mongodb +%mark_daemon_restart +%endif + +%if %{with hiredis} + +%post module-hiredis +%mark_daemon_restart +%endif + +%if %{with zeromq} + +%post module-zeromq +%mark_daemon_restart +%endif + +%if %{with kafka} + +%post module-kafka +%mark_daemon_restart +%endif + +%if %{with omamqp1} + +%post module-omamqp1 +%mark_daemon_restart +%endif + +%if %{with gcrypt} + +%post module-gcrypt +%mark_daemon_restart +%endif + +%if %{with tcl} + +%post module-omtcl +%mark_daemon_restart +%endif + +%posttrans +if [ -x /usr/bin/systemctl ] && /usr/bin/systemctl is-active rsyslog.service; then + /usr/bin/systemctl --marked reload-or-restart +fi + %preun # # stop the rsyslogd daemon when it is running
