Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package postfix-image for openSUSE:Factory 
checked in at 2024-08-10 19:07:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/postfix-image (Old)
 and      /work/SRC/openSUSE:Factory/.postfix-image.new.7232 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "postfix-image"

Sat Aug 10 19:07:50 2024 rev:6 rq:1193003 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/postfix-image/postfix-image.changes      
2024-08-09 16:16:35.559761856 +0200
+++ /work/SRC/openSUSE:Factory/.postfix-image.new.7232/postfix-image.changes    
2024-08-10 19:13:35.420208392 +0200
@@ -1,0 +2,10 @@
+Fri Aug  9 07:32:37 UTC 2024 - Priyanka Saggu <priyanka.sa...@suse.com>
+
+- fix SLE entrypoint scripts
+
+-------------------------------------------------------------------
+Thu Aug  8 19:28:10 UTC 2024 - Dirk Mueller <dmuel...@suse.com>
+
+- add oci.image.ref.name
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ Dockerfile ++++++
--- /var/tmp/diff_new_pack.9IhXEB/_old  2024-08-10 19:13:36.192240453 +0200
+++ /var/tmp/diff_new_pack.9IhXEB/_new  2024-08-10 19:13:36.200240785 +0200
@@ -30,6 +30,7 @@
 LABEL org.opencontainers.image.created="%BUILDTIME%"
 LABEL org.opencontainers.image.vendor="openSUSE Project"
 LABEL org.opencontainers.image.source="%SOURCEURL%"
+LABEL org.opencontainers.image.ref.name="%%postfix_version%%-%RELEASE%"
 LABEL 
org.opensuse.reference="registry.opensuse.org/opensuse/postfix:%%postfix_version%%-%RELEASE%"
 LABEL org.openbuildservice.disturl="%DISTURL%"
 LABEL 
org.opensuse.lifecycle-url="https://en.opensuse.org/Lifetime#openSUSE_BCI";

++++++ entrypoint.sles.sh ++++++
--- /var/tmp/diff_new_pack.9IhXEB/_old  2024-08-10 19:13:36.260243277 +0200
+++ /var/tmp/diff_new_pack.9IhXEB/_new  2024-08-10 19:13:36.260243277 +0200
@@ -358,7 +358,7 @@
 
 terminate() {
     base=$(basename "$1")
-    pid=$(/bin/pidof "$base")
+    pid=$(/usr/bin/ps -aux | /usr/bin/grep "$base" | /usr/bin/grep -v grep | 
/usr/bin/awk '{print $2}' | /usr/bin/tr '\n' ' ')
 
     if [ -n "$pid" ]; then
        echo "Terminating $base..."
@@ -379,15 +379,15 @@
     typeset -i sec=$1
     typeset -i ms=$((sec*100))
 
-    (   while ! pidof qmgr > /dev/null 2>&1 ; do
+    (   while ! (ps -aux | grep qmgr | grep -v grep | awk '{print $2}' | tr 
'\n' ' ') > /dev/null 2>&1; do
             ((ms-- <= 0)) && break
             usleep 10000
-       done
-       exec postfix flush
-    ) > /dev/null 2>&1 &
+        done
+        exec postfix flush
+    ) > /dev/null 2>&1 & 
 
     postfix stop
-    terminate /usr/sbin/syslogd
+    terminate /usr/sbin/rsyslogd
 }
 
 stop_daemons() {
@@ -397,7 +397,13 @@
 start_daemons() {
     # Don't start syslogd in background while starting it in the background...
     # Logging to stdout does not work else.
-    /usr/sbin/syslogd -n -S -O - "$@"
+    echo '# rsyslog configuration file to log to stdout
+    module(load="imuxsock")  # provides support for local system logging (e.g. 
via logger command)
+
+    *.*                         action(type="omfile" 
file="/var/log/rsyslog.log")' > /entrypoint/rsyslog-stdout.conf
+    /usr/sbin/rsyslogd -f /entrypoint/rsyslog-stdout.conf -i 
/var/run/rsyslogd-stdout.pid
+
+    "$@"
 }
 
 #

Reply via email to