feat: Remove patch for muting sudo RLIMIT_CORE message

This commit is contained in:
Carlos Álvaro
2020-10-17 21:06:38 +02:00
parent 3db9bdfc22
commit 7f48aa88bc
2 changed files with 1 additions and 4 deletions

View File

@@ -5,6 +5,7 @@ Please refer to the SaltStack [Release Notes](https://docs.saltstack.com/en/late
**3002** **3002**
- Remove patch for muting sudo `RLIMIT_CORE` message
- Install `pygit2` and `m2crypto` from ubuntu repositories - Install `pygit2` and `m2crypto` from ubuntu repositories
- Change Docker base image to `ubuntu:focal-20200925` - Change Docker base image to `ubuntu:focal-20200925`

View File

@@ -15,10 +15,6 @@ BUILD_DEPENDENCIES=(
apt-get update apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install --yes --quiet --no-install-recommends "${BUILD_DEPENDENCIES[@]}" 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 # Create salt user
echo "Creating ${SALT_USER} user ..." echo "Creating ${SALT_USER} user ..."
useradd -d "${SALT_HOME}" -ms /bin/bash -U -G root,sudo,shadow "${SALT_USER}" useradd -d "${SALT_HOME}" -ms /bin/bash -U -G root,sudo,shadow "${SALT_USER}"