From 0e56c0b653312eae126e48c7f28798af49ef0702 Mon Sep 17 00:00:00 2001 From: Shivam Mathur Date: Wed, 27 May 2020 09:29:35 +0530 Subject: [PATCH] Add WA for setrlimit warning with sudo in focal --- src/scripts/linux.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/scripts/linux.sh b/src/scripts/linux.sh index 66dbcc10..4755fa00 100644 --- a/src/scripts/linux.sh +++ b/src/scripts/linux.sh @@ -27,6 +27,7 @@ update_ppa() { # Function to setup environment for self-hosted runners pre_setup() { sudo mkdir -p /var/run /run/php + echo "Set disable_coredump false" | sudo tee -a /etc/sudo.conf >/dev/null 2>&1 if [ "$runner" = "self-hosted" ]; then if [[ "$version" =~ $old_versions ]] || [ "$version" = "5.3" ]; then add_log "$cross" "PHP" "PHP $version is not supported on self-hosted runner"