HADOOP-15923. create-release script should set max-cache-ttl as well as default-cache-ttl for gpg-agent.
(cherry picked from commit 703b2860a49577629e7b3ef461d8a61292e79c88) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f64b4516 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f64b4516 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f64b4516 Branch: refs/heads/branch-2-jhung-test Commit: f64b4516c9d06402060db456ea4fe4866b984fb8 Parents: 00b4455 Author: Akira Ajisaka <[email protected]> Authored: Tue Nov 13 13:40:43 2018 +0900 Committer: Jonathan Hung <[email protected]> Committed: Fri Dec 14 16:03:56 2018 -0800 ---------------------------------------------------------------------- dev-support/bin/create-release | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/f64b4516/dev-support/bin/create-release ---------------------------------------------------------------------- diff --git a/dev-support/bin/create-release b/dev-support/bin/create-release index 39c9133..fbe3fb2 100755 --- a/dev-support/bin/create-release +++ b/dev-support/bin/create-release @@ -259,7 +259,8 @@ function startgpgagent if [[ "${SIGN}" = true ]]; then if [[ -n "${GPGAGENT}" && -z "${GPG_AGENT_INFO}" ]]; then echo "starting gpg agent" - echo "default-cache-ttl 14400" > "${LOGDIR}/gpgagent.conf" + echo "default-cache-ttl 36000" > "${LOGDIR}/gpgagent.conf" + echo "max-cache-ttl 36000" >> "${LOGDIR}/gpgagent.conf" # shellcheck disable=2046 eval $("${GPGAGENT}" --daemon \ --options "${LOGDIR}/gpgagent.conf" \ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
