From 6f2f2fed781d0c69300760c7dd5185d2c6e879af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20=C3=81lvaro?= Date: Wed, 17 Jun 2020 19:27:19 +0200 Subject: [PATCH] fix: Mute sudo RLIMIT_CORE message --- assets/build/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/assets/build/install.sh b/assets/build/install.sh index 0b3b45db..275d7de0 100755 --- a/assets/build/install.sh +++ b/assets/build/install.sh @@ -15,6 +15,10 @@ BUILD_DEPENDENCIES=( apt-get update DEBIAN_FRONTEND=noninteractive apt-get install --yes --quiet --no-install-recommends "${BUILD_DEPENDENCIES[@]}" +# Mute sudo RLIMIT_CORE message -> Fixed in sudo 1.8.31p1 +echo "Muted sudo RLIMIT_CORE message" +echo "Set disable_coredump false" >> /etc/sudo.conf + # Create salt user echo "Creating ${SALT_USER} user ..." useradd -d "${SALT_HOME}" -ms /bin/bash -U -G root,sudo,shadow "${SALT_USER}"