Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package apache2 for openSUSE:Factory checked 
in at 2026-05-04 12:48:15
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/apache2 (Old)
 and      /work/SRC/openSUSE:Factory/.apache2.new.30200 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "apache2"

Mon May  4 12:48:15 2026 rev:224 rq:1350419 version:2.4.66

Changes:
--------
--- /work/SRC/openSUSE:Factory/apache2/apache2.changes  2026-01-06 
17:42:53.145466425 +0100
+++ /work/SRC/openSUSE:Factory/.apache2.new.30200/apache2.changes       
2026-05-04 12:48:23.996838245 +0200
@@ -1,0 +2,23 @@
+Fri May  1 21:45:25 UTC 2026 - Martin Schreiner <[email protected]>
+
+- cgi-bin is disabled by default in modern Apache configurations;
+  creating it unconditionally via tmpfiles.d is unnecessary
+- Remove /srv/www/cgi-bin from apache2.tmpfiles
+- Drop %ghost %dir %{cgidir} from %files
+- Drop %{cgidir} from %check mkdir invocation
+
+-------------------------------------------------------------------
+Tue Apr 28 17:51:13 UTC 2026 - Martin Schreiner <[email protected]>
+
+- Fix bsc#1262159.
+- MaxRequestWorkers (256) must be a multiple of ThreadsPerChild (25).
+  Decreased to 250.
+- use tmpfiles.d for runtime directory creation
+  This improves compatibility with immutable OSs, such as MicroOS.
+- Add apache2.tmpfiles.
+- Drop buildroot mkdir calls for log, cache and lib directories:
+  these are now created at runtime via tmpfiles.d
+- Mark /srv/www, htdocs, cgi-bin, log, cache and lib dirs as %ghost
+  in %files: RPM registers ownership without packaging the paths
+
+-------------------------------------------------------------------

New:
----
  apache2.tmpfiles

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

Other differences:
------------------
++++++ apache2.spec ++++++
--- /var/tmp/diff_new_pack.Eze9Lg/_old  2026-05-04 12:48:29.249054517 +0200
+++ /var/tmp/diff_new_pack.Eze9Lg/_new  2026-05-04 12:48:29.249054517 +0200
@@ -75,16 +75,16 @@
 
 %define datadir         /srv/www
 %define htdocsdir       %{datadir}/htdocs
+%define cgidir          %{datadir}/cgi-bin
 %define manualdir       %{_datadir}/apache2/manual
 %define errordir        %{_datadir}/apache2/error
 %define iconsdir        %{_datadir}/apache2/icons
-%define cgidir          %{datadir}/cgi-bin
 %define localstatedir   %{_localstatedir}/lib/apache2
-%define runtimedir      /run
 %define proxycachedir   %{_localstatedir}/cache/apache2
 %define logfiledir      %{_localstatedir}/log/apache2
 %define sysconfdir      %{_sysconfdir}/apache2
 %define includedir      %{_includedir}/apache2
+%define runtimedir      /run
 %if "%{mpm}" != ""
 %define libexecdir      %{_libdir}/apache2-%{mpm}
 %else
@@ -119,6 +119,7 @@
 Source5:        apache2.target
 # Add file to take mtime from it in prep section
 Source6:        apache2.changes
+Source7:        apache2.tmpfiles
 Source10:       apache2-ssl-dirs.tar.bz2
 # test
 # svn checkout http://svn.apache.org/repos/asf/httpd/test/framework/trunk/ 
httpd-framework
@@ -485,10 +486,11 @@
 
 # main package install
 %if "%{flavor}" == ""
-mkdir -p %{buildroot}%{logfiledir} \
-         %{buildroot}%{proxycachedir} \
-         %{buildroot}%{localstatedir} \
-         %{buildroot}%{libexecdir}
+mkdir -p %{buildroot}%{libexecdir}
+
+# install tmpfiles snippet
+mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d
+install -m 644 %{SOURCE7} %{buildroot}%{_prefix}/lib/tmpfiles.d/apache2.conf
 
 # save MODULE_MAGIC_NUMBER
 mkdir -p %{buildroot}/%{_libexecdir}
@@ -692,7 +694,7 @@
 exit_code=0
 # create test configuration, based on default distro one
 # with minimum changes to see it is working
-mkdir -p 
$PWD{%{_sysconfdir}/sysconfig,%{localstatedir},%{runtimedir},%{logfiledir}}
+mkdir -p 
$PWD{%{_sysconfdir}/sysconfig,%{localstatedir},%{runtimedir},%{logfiledir},%{htdocsdir}}
 # adjust sysconfig file
 cp %{_sysconfdir}/sysconfig/apache2 $PWD%{_sysconfdir}/sysconfig/
 sed -i -e "s:\(APACHE_HTTPD_CONF=\).*:\1$PWD%{sysconfdir}/httpd.conf:" \
@@ -702,6 +704,7 @@
 cp -r %{_sysconfdir}/apache2/ %{_sysconfdir}/mime.types etc 2>/dev/null || true
 find etc/apache2 -name *.conf | xargs sed -i "s:\(%{_localstatedir}\):$PWD\1:"
 find etc/apache2 -name *.conf | xargs sed -i "s:/etc:$PWD/etc:"
+find etc/apache2 -name *.conf | xargs sed -i "s:%{datadir}:$PWD%{datadir}:"
 sed -i -e 's:80:60080:' -e 's:443:60443:' etc/apache2/listen.conf
 # /usr/sbin/start_apache2 is 744
 cp %{_sbindir}/start_apache2 .
@@ -821,11 +824,12 @@
 %files
 %doc INSTALL READM* ABOUT_APACHE CHANGES
 %license LICENSE
-%attr(750,root,root) %dir %{logfiledir}
-%attr(750,%{httpduser},root) %dir %{proxycachedir}
-%attr(750,%{httpduser},root) %dir %{localstatedir}
-%dir %{datadir}
-%dir %{htdocsdir}
+%{_tmpfilesdir}/apache2.conf
+%ghost %dir %{datadir}
+%ghost %dir %{htdocsdir}
+%ghost %attr(750,root,root) %dir %{logfiledir}
+%ghost %attr(750,%{httpduser},root) %dir %{proxycachedir}
+%ghost %attr(750,%{httpduser},root) %dir %{localstatedir}
 %dir %{libexecdir}
 %dir %{_libexecdir}
 %attr(755,root,root) %{_libexecdir}/apache2_MMN
@@ -957,6 +961,7 @@
 %if %{use_firewalld}
 %firewalld_reload
 %endif
+%tmpfiles_create apache2.conf
 exit 0
 
 %posttrans

++++++ apache2-mod_mime-defaults.conf ++++++
--- /var/tmp/diff_new_pack.Eze9Lg/_old  2026-05-04 12:48:29.749075107 +0200
+++ /var/tmp/diff_new_pack.Eze9Lg/_new  2026-05-04 12:48:29.753075271 +0200
@@ -128,10 +128,8 @@
 # are so commonly used that we add them here.
 Addtype image/x-icon .ico
 
-# Zipped SVG files (.svgz) are not registered by IANA yet, and we should hint
-# clients about their encoding
-AddType image/svg+xml .svg .svgz  
-AddEncoding gzip .svgz
+# .svgz is not registered by IANA; set the correct MIME type explicitly
+AddType image/svg+xml .svg .svgz
 
 #
 # For type maps (negotiated resources):

++++++ apache2-server-tuning.conf ++++++
--- /var/tmp/diff_new_pack.Eze9Lg/_old  2026-05-04 12:48:29.885080707 +0200
+++ /var/tmp/diff_new_pack.Eze9Lg/_new  2026-05-04 12:48:29.893081036 +0200
@@ -23,7 +23,7 @@
        ServerLimit        256
        # maximum number of server processes allowed to start (formerly 
MaxClients)
        # 
https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
-       MaxRequestWorkers         256
+       MaxRequestWorkers  250
        # maximum number of requests a server process serves
        # 
https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxconnectionsperchild
        MaxConnectionsPerChild  10000
@@ -45,7 +45,7 @@
        ThreadLimit         64
        # maximum number of simultaneous client connections (formerly 
MaxClients)
        # 
https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
-       MaxRequestWorkers         256
+       MaxRequestWorkers  250
        # number of worker threads created by each child process
        # https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild
        ThreadsPerChild     25
@@ -70,7 +70,7 @@
        ThreadLimit         64
        # maximum number of simultaneous client connections (formerly 
MaxClients)
        # 
https://httpd.apache.org/docs/2.4/mod/mpm_common.html#maxrequestworkers
-       MaxRequestWorkers         256
+       MaxRequestWorkers  250
        # number of worker threads created by each child process
        # https://httpd.apache.org/docs/2.4/mod/mpm_common.html#threadsperchild
        ThreadsPerChild     25

++++++ apache2.tmpfiles ++++++
d /srv/www              0755 root   root  -
d /srv/www/htdocs       0755 root   root  -
d /var/cache/apache2    0750 wwwrun root  -
d /var/lib/apache2      0750 wwwrun root  -
d /var/log/apache2      0750 root   root  -

Reply via email to