!37 修改配置文件storage.config注释说明traffic_cache_tool不支持文件夹目录

From: @wk333 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
This commit is contained in:
openeuler-ci-bot 2022-09-26 08:17:00 +00:00 committed by Gitee
commit bf364d2efe
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,26 @@
From c12d4f5a9d9e3858d4b668ffc37240b160260d5f Mon Sep 17 00:00:00 2001
From: wk333 <13474090681@163.com>
Date: Mon, 26 Sep 2022 09:33:45 +0800
Subject: [PATCH 1/1] Modify storage.config for traffic_cache_tool
---
configs/storage.config.default.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configs/storage.config.default.in b/configs/storage.config.default.in
index 0bd9384..0c56d83 100644
--- a/configs/storage.config.default.in
+++ b/configs/storage.config.default.in
@@ -27,7 +27,8 @@
# assuming prefix of '@prefix@'
# @rel_cachedir@ 512M
#
-#
+# Note: The traffic_cache_tool command does not support directories
+# Refer: https://github.com/apache/trafficserver/issue/5168
#############################################################
## O_DIRECT Specific Configuration ##
#############################################################
--
2.27.0

View File

@ -1,7 +1,7 @@
%define _hardened_build 1
Name: trafficserver
Version: 9.1.3
Release: 3
Release: 4
Summary: Apache Traffic Server, a reverse, forward and transparent HTTP proxy cache
License: Apache-2.0
URL: https://trafficserver.apache.org/
@ -10,6 +10,7 @@ Patch0000: Add-openeuler-support.patch
Patch0001: Fix-status-failure-after-stopping-service.patch
Patch0002: Fix-log-in-debug-mode.patch
Patch0003: config-layout-openEuler.patch
Patch0004: Modify-storage.config-for-traffic_cache_tool.patch
BuildRequires: expat-devel hwloc-devel openssl-devel pcre-devel zlib-devel xz-devel
BuildRequires: libcurl-devel ncurses-devel gcc gcc-c++ perl-ExtUtils-MakeMaker
BuildRequires: libcap-devel cmake libunwind-devel automake
@ -112,6 +113,9 @@ getent passwd ats >/dev/null || useradd -r -u 176 -g ats -d / -s /sbin/nologin -
%{_datadir}/pkgconfig/trafficserver.pc
%changelog
* Mon Sep 26 2022 wangkai <wangkai385@h-partners.com> - 9.1.3-4
- Modify storage.config for traffic_cache_tool
* Wed Sep 07 2022 wangkai <wangkai385@h-partners.com> - 9.1.3-3
- Add log,run,cache dir