From 3cc2f90162508eb213a0d35ced2426d09b105866 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Uhliarik?= Date: Mon, 8 Sep 2025 17:42:29 +0200 Subject: [PATCH] Resolves: RHEL-92663 - Image mode: The dir /var/www is not created when updating system in image mode --- httpd.spec | 6 +++++- httpd.tmpfiles | 7 +++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/httpd.spec b/httpd.spec index a21bbcf..772d1d6 100644 --- a/httpd.spec +++ b/httpd.spec @@ -25,7 +25,7 @@ Summary: Apache HTTP Server Name: httpd Version: 2.4.63 -Release: 4%{?dist} +Release: 5%{?dist} URL: https://httpd.apache.org/ Source0: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2 Source1: https://www.apache.org/dist/httpd/httpd-%{version}.tar.bz2.asc @@ -839,6 +839,10 @@ exit $rv %{_rpmconfigdir}/macros.d/macros.httpd %changelog +* Mon Sep 08 2025 Luboš Uhliarik - 2.4.63-5 +- Resolves: RHEL-92663 - Image mode: The dir /var/www is not created when + updating system in image mode + * Sat Aug 16 2025 Luboš Uhliarik - 2.4.63-4 - Resolves: RHEL-99945 - httpd: HTTP Session Hijack via a TLS upgrade (CVE-2025-49812) diff --git a/httpd.tmpfiles b/httpd.tmpfiles index f148886..a845ab5 100644 --- a/httpd.tmpfiles +++ b/httpd.tmpfiles @@ -1,2 +1,9 @@ d /run/httpd 710 root apache d /run/httpd/htcacheclean 700 apache apache +d /var/log/httpd 700 root root - +d /var/www 755 root root - +d /var/www/html 755 root root - +d /var/www/cgi-bin 755 root root - +d /var/lib/httpd 700 apache apache - +d /var/cache/httpd 700 apache apache - +d /var/cache/httpd/proxy 700 apache apache -