!26 回退“设置会话超时时间”

From: @hongjinghao 
Reviewed-by: @licunlong 
Signed-off-by: @licunlong
This commit is contained in:
openeuler-ci-bot 2023-08-29 03:06:42 +00:00 committed by Gitee
commit 2fc387ac3e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 5 additions and 24 deletions

View File

@ -1,21 +0,0 @@
From 6a99b637893db19b8ec8279ee51ae9887ccb2a98 Mon Sep 17 00:00:00 2001
From: rpm-build <rpm-build>
Date: Thu, 8 Jun 2023 11:20:24 +0800
Subject: [PATCH] set TMOUT 300
---
profile | 1 +
1 file changed, 1 insertion(+)
diff --git a/profile b/profile
index 542add4..8f086af 100644
--- a/profile
+++ b/profile
@@ -80,3 +80,4 @@ then
. /etc/bashrc
fi
+export TMOUT=300
--
2.33.0

View File

@ -1,14 +1,13 @@
Summary: A set of system configuration and setup files Summary: A set of system configuration and setup files
Name: setup Name: setup
Version: 2.14.3 Version: 2.14.3
Release: 3 Release: 4
License: Public Domain License: Public Domain
Group: System Environment/Base Group: System Environment/Base
URL: https://pagure.io/setup/ URL: https://pagure.io/setup/
Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2 Source0: http://releases.pagure.org/%{name}/%{name}-%{version}.tar.bz2
Patch0: support-filesystems-xfs.patch Patch0: support-filesystems-xfs.patch
Patch1: source-cshlocal-when-login.patch Patch1: source-cshlocal-when-login.patch
Patch2: set-TMOUT-300.patch
BuildArch: noarch BuildArch: noarch
BuildRequires: systemd BuildRequires: systemd
BuildRequires: bash tcsh perl-interpreter BuildRequires: bash tcsh perl-interpreter
@ -120,8 +119,11 @@ end
%{_tmpfilesdir}/%{name}.conf %{_tmpfilesdir}/%{name}.conf
%changelog %changelog
* Tue Aug 29 2023 hongjinghao <hongjinghao@huawei.com> - 2.14.3-4
- Revert "set TMOUT=300"
* Fri Jun 9 2023 hongjinghao <hongjinghao@huawei.com> - 2.14.3-3 * Fri Jun 9 2023 hongjinghao <hongjinghao@huawei.com> - 2.14.3-3
* Revert "set default umask" - Revert "set default umask"
* Thu Jun 8 2023 hongjinghao <hongjinghao@huawei.com> - 2.14.3-2 * Thu Jun 8 2023 hongjinghao <hongjinghao@huawei.com> - 2.14.3-2
- set TMOUT=300 and set default umask - set TMOUT=300 and set default umask