This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 2.x development tree".
The branch, next has been updated
via 0c466599d059d273a1d2d3d2255a421c1a09be34 (commit)
via 229a6dffd72cd526ccb13cbb1365c5c4adcb9f0c (commit)
from 81ebfac70d723cfabe214a0791d1d028da61102a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0c466599d059d273a1d2d3d2255a421c1a09be34
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Mon Mar 30 17:24:42 2020 +0000
amazon-ssm-agent: Allow to overcommit memory
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
commit 229a6dffd72cd526ccb13cbb1365c5c4adcb9f0c
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date: Mon Mar 30 17:24:41 2020 +0000
amazon-ssm-agent: Update to 2.3.930.0
Signed-off-by: Michael Tremer <michael.tremer(a)ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f(a)ipfire.org>
-----------------------------------------------------------------------
Summary of changes:
lfs/amazon-ssm-agent | 10 +++++++---
src/initscripts/packages/amazon-ssm-agent | 6 ++++++
2 files changed, 13 insertions(+), 3 deletions(-)
Difference in files:
diff --git a/lfs/amazon-ssm-agent b/lfs/amazon-ssm-agent
index 44a91f4ac..4b08bd41d 100644
--- a/lfs/amazon-ssm-agent
+++ b/lfs/amazon-ssm-agent
@@ -24,7 +24,7 @@
include Config
-VER = 2.3.786.0
+VER = 2.3.930.0
SUP_ARCH = x86_64
THISAPP = amazon-ssm-agent-$(VER)
@@ -33,7 +33,7 @@ DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = amazon-ssm-agent
-PAK_VER = 1
+PAK_VER = 3
DEPS =
@@ -47,7 +47,7 @@ objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
-$(DL_FILE)_MD5 = a2887445875d335b021c5044eab955dc
+$(DL_FILE)_MD5 = cf7c50976e2853764d308581f94cbdd1
install : $(TARGET)
@@ -88,6 +88,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Disable style check
cd $(DIR_BUILD) && sed -e "/checkstyle.sh/d" -i makefile
+ # agent/plugins/inventory/gatherers/application/dataProvider.go:10:78: error: imported and not used: localpackages
+ cd $(DIR_BUILD) && sed -e "/localpackages/d" \
+ -i agent/plugins/inventory/gatherers/application/dataProvider.go
+
# Build
cd $(DIR_BUILD) && make build-linux
diff --git a/src/initscripts/packages/amazon-ssm-agent b/src/initscripts/packages/amazon-ssm-agent
index c385d890c..eeaa7b7e5 100644
--- a/src/initscripts/packages/amazon-ssm-agent
+++ b/src/initscripts/packages/amazon-ssm-agent
@@ -13,6 +13,12 @@ case "${1}" in
exit 0
fi
+ # Allow the kernel to overcommit memory.
+ # The SSM agent fails to clone() itself when there is
+ # "not enough memory" available. This simply seems to
+ # fail no matter how much free memory is available.
+ echo 1 > /proc/sys/vm/overcommit_memory
+
boot_mesg "Starting Amazon SSM Agent..."
/usr/bin/amazon-ssm-agent &>/dev/null &
evaluate_retval
hooks/post-receive
--
IPFire 2.x development tree