2 Commits

Author SHA256 Message Date
fb4f463096 Accepting request 1301760 from Apache:Modules
OBS-URL: https://build.opensuse.org/request/show/1301760
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/apache2-mod_jk?expand=0&rev=43
2025-08-28 15:19:45 +00:00
2997dc54de - Minor tweak to the shipped jk.conf (boo#1239178):
+ Set JkLogFile to /var/log/apache/jk.conf: as this is written by
    apache, the previous location /var/log/tomcat is not permitted
  + Set JkShmFile to /var/lib/apache2/jk-runtime-status: again,
    /var/log/tomcat is no suitable location, as mod_jk is running
    as apache's user. Moving it to /var/log does not make sense, as
    SHM is not a log file.

OBS-URL: https://build.opensuse.org/package/show/Apache:Modules/apache2-mod_jk?expand=0&rev=90
2025-08-28 09:21:42 +00:00
3 changed files with 15 additions and 4 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Aug 27 15:40:51 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- Minor tweak to the shipped jk.conf (boo#1239178):
+ Set JkLogFile to /var/log/apache/jk.conf: as this is written by
apache, the previous location /var/log/tomcat is not permitted
+ Set JkShmFile to /var/lib/apache2/jk-runtime-status: again,
/var/log/tomcat is no suitable location, as mod_jk is running
as apache's user. Moving it to /var/log does not make sense, as
SHM is not a log file.
-------------------------------------------------------------------
Wed Mar 19 15:44:20 UTC 2025 - Andreas Stieger <andreas.stieger@gmx.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package apache2-mod_jk
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -57,7 +57,7 @@ cd native
%configure \
--with-pic \
--with-apxs=%{apache_apxs} \
%{nil}
%{nil}
%make_build
%install

View File

@@ -3,8 +3,8 @@
<IfModule mod_jk.c>
JkWorkersFile /etc/tomcat/workers.properties
JkLogFile /var/log/tomcat/mod_jk.log
JkShmFile /var/log/tomcat/jk-runtime-status
JkLogFile /var/log/apache2/mod_jk.log
JkShmFile /var/lib/apache2/jk-runtime-status
# Log level to be used by mod_jk
JkLogLevel error