Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ddclient for openSUSE:Factory 
checked in at 2021-06-19 23:04:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ddclient (Old)
 and      /work/SRC/openSUSE:Factory/.ddclient.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ddclient"

Sat Jun 19 23:04:12 2021 rev:50 rq:900771 version:3.9.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/ddclient/ddclient.changes        2020-08-20 
22:35:21.748164674 +0200
+++ /work/SRC/openSUSE:Factory/.ddclient.new.2625/ddclient.changes      
2021-06-19 23:04:55.747846107 +0200
@@ -1,0 +2,11 @@
+Tue May 18 14:43:16 UTC 2021 - Josef M??llers <[email protected]>
+
+- Systemd expects the PID file to exist as soon as the main process
+  exists. However, it takes quite a while until the pid file is
+  created by the daemon process, so we delay the main process
+  for 1 second before exit()ing.
+  This gets rid of an annoying warning message in "systemctl
+  status".
+  [ddclient, ddclient-delay-main-process-for-systemd.patch]
+
+-------------------------------------------------------------------

New:
----
  ddclient-delay-main-process-for-systemd.patch

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

Other differences:
------------------
++++++ ddclient.spec ++++++
--- /var/tmp/diff_new_pack.JFfeve/_old  2021-06-19 23:04:56.223846841 +0200
+++ /var/tmp/diff_new_pack.JFfeve/_new  2021-06-19 23:04:56.227846847 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package ddclient
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -28,6 +28,7 @@
 Source2:        %{name}.sysconfig
 Source3:        %{name}-tmpfiles.conf
 Patch0:         %{name}-3.8.1-config.patch
+Patch1:         %{name}-delay-main-process-for-systemd.patch
 Requires:       perl >= 5.004
 Requires:       perl-Data-Validate-IP
 Requires(pre):  %fillup_prereq
@@ -51,6 +52,7 @@
 %prep
 %setup -q
 %patch0
+%patch1 -p1
 rm -f sample-etc_ddclient.conf.orig
 chmod a-x sample-*
 mkdir examples

++++++ ddclient-delay-main-process-for-systemd.patch ++++++
Index: ddclient-3.9.1/ddclient
===================================================================
--- ddclient-3.9.1.orig/ddclient
+++ ddclient-3.9.1/ddclient
@@ -847,6 +847,7 @@ if (opt('foreground') || opt('force')) {
        print STDERR "${program}: can not fork ($!)\n";
        exit -1;
     } elsif ($pid) {
+       sleep(1);
        exit 0;
     }
     $SIG{'CHLD'}   = 'DEFAULT';

Reply via email to