Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package nginx-image for openSUSE:Factory 
checked in at 2026-10-22 15:50:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/nginx-image (Old)
 and      /work/SRC/openSUSE:Factory/.nginx-image.new.2252680 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "nginx-image"

Thu Oct 22 15:50:56 2026 rev:55 rq:1386991 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/nginx-image/nginx-image.changes  2026-10-21 
20:58:05.551504956 +0200
+++ /work/SRC/openSUSE:Factory/.nginx-image.new.2252680/nginx-image.changes     
2026-10-22 15:54:48.678458901 +0200
@@ -1,0 +2,5 @@
+Wed Oct 21 11:20:41 UTC 2026 - SUSE Update Bot <[email protected]>
+
+- further fixes for non-root usage
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ 40-unprivileged-mode.sh ++++++
--- /var/tmp/diff_new_pack.WEudA4/_old  2026-10-22 15:54:50.779546973 +0200
+++ /var/tmp/diff_new_pack.WEudA4/_new  2026-10-22 15:54:50.782547099 +0200
@@ -1,6 +1,16 @@
 #!/bin/sh
 
-echo "$0: Creating temporary folder at /tmp/nginx"
+set -e
+
+ME=$(basename "$0")
+
+entrypoint_log() {
+    if [ -z "${NGINX_ENTRYPOINT_QUIET_LOGS:-}" ]; then
+        echo "$@"
+    fi
+}
+
+entrypoint_log "$ME: Creating temporary folder at /tmp/nginx"
 
 install -d /tmp/nginx/client_temp \
            /tmp/nginx/proxy_temp \

++++++ Dockerfile ++++++
--- /var/tmp/diff_new_pack.WEudA4/_old  2026-10-22 15:54:50.804548021 +0200
+++ /var/tmp/diff_new_pack.WEudA4/_new  2026-10-22 15:54:50.808548188 +0200
@@ -47,13 +47,17 @@
 RUN set -euo pipefail; cp /target/etc/nginx/nginx.conf.default 
/target/etc/nginx/nginx.conf.non-root
 RUN set -euo pipefail; \
     sed -i 's/listen\s*80;/listen 8080;/g' 
/target/etc/nginx/nginx.conf.non-root; \
+    sed -i -e '/^[[:space:]]*user[[:space:]]/d' 
/target/etc/nginx/nginx.conf.non-root; \
     sed -i -e 's,^#\?\s*pid\s\+.*;$,pid /tmp/nginx.pid;,' 
/target/etc/nginx/nginx.conf.non-root; \
-    sed -i "/http {/a\    client_body_temp_path /tmp/client_temp;" 
/target/etc/nginx/nginx.conf.non-root; \
-    sed -i "/http {/a\    proxy_temp_path /tmp/proxy_temp;" 
/target/etc/nginx/nginx.conf.non-root; \
-    sed -i "/http {/a\    fastcgi_temp_path /tmp/fastcgi_temp;" 
/target/etc/nginx/nginx.conf.non-root; \
-    sed -i "/http {/a\    uwsgi_temp_path /tmp/uwsgi_temp;" 
/target/etc/nginx/nginx.conf.non-root; \
-    sed -i "/http {/a\    scgi_temp_path /tmp/scgi_temp;" 
/target/etc/nginx/nginx.conf.non-root
+    sed -i "/http {/a\    client_body_temp_path /tmp/nginx/client_temp;" 
/target/etc/nginx/nginx.conf.non-root; \
+    sed -i "/http {/a\    proxy_temp_path /tmp/nginx/proxy_temp;" 
/target/etc/nginx/nginx.conf.non-root; \
+    sed -i "/http {/a\    fastcgi_temp_path /tmp/nginx/fastcgi_temp;" 
/target/etc/nginx/nginx.conf.non-root; \
+    sed -i "/http {/a\    uwsgi_temp_path /tmp/nginx/uwsgi_temp;" 
/target/etc/nginx/nginx.conf.non-root; \
+    sed -i "/http {/a\    scgi_temp_path /tmp/nginx/scgi_temp;" 
/target/etc/nginx/nginx.conf.non-root
 RUN set -euo pipefail; chmod o+rx /target/var/log/nginx
+RUN set -euo pipefail; \
+    ln -sf /dev/stdout /target/var/log/nginx/access.log; \
+    ln -sf /dev/stderr /target/var/log/nginx/error.log
 
 # cleanup logs and temporary files
 RUN set -euo pipefail; zypper -n --installroot /target clean -a; \
@@ -90,9 +94,5 @@
 ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
 CMD ["nginx", "-g", "daemon off;"]
 EXPOSE 80/tcp
-
-RUN set -euo pipefail; \
-    ln -sf /dev/stdout /var/log/nginx/access.log; \
-    ln -sf /dev/stderr /var/log/nginx/error.log
 STOPSIGNAL SIGQUIT
 

++++++ docker-entrypoint.sles.sh ++++++
--- /var/tmp/diff_new_pack.WEudA4/_old  2026-10-22 15:54:50.871550829 +0200
+++ /var/tmp/diff_new_pack.WEudA4/_new  2026-10-22 15:54:50.875550997 +0200
@@ -55,7 +55,7 @@
     done
 
     if [ "$HAS_CUSTOM_CONFIG" -eq 0 ]; then
-        if ! grep -q " /etc/nginx/nginx.conf " /proc/self/mountinfo && [ "$(id 
-u)" -gt 0 ]; then
+        if ! grep -q " /etc/nginx" /proc/self/mountinfo && [ "$(id -u)" -gt 0 
]; then
             set -- "$@" -c /etc/nginx/nginx.conf.non-root
         fi
     fi

Reply via email to