Ubuntu kernel 4.15.0-60-generic seems to be broken with Docker and --dns flags, do NOT use it!

master
andryyy 2019-09-03 22:01:47 +02:00
parent dc6eea5142
commit 3cae2389a0
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,12 @@
set -o pipefail set -o pipefail
if [[ "$(uname -r)" =~ ^4\.15\.0-60 ]]; then
echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!";
echo "Please update to 5.x or use another distribution."
exit 1
fi
if grep --help 2>&1 | grep -q -i "busybox"; then if grep --help 2>&1 | grep -q -i "busybox"; then
echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\"" echo "BusybBox grep detected, please install gnu grep, \"apk add --no-cache --upgrade grep\""
exit 1 exit 1

View File

@ -6,6 +6,12 @@ if [ "$(id -u)" -ne "0" ]; then
exit 1 exit 1
fi fi
if [[ "$(uname -r)" =~ ^4\.15\.0-60 ]]; then
echo "DO NOT RUN mailcow ON THIS UBUNTU KERNEL!";
echo "Please update to 5.x or use another distribution."
exit 1
fi
# Exit on error and pipefail # Exit on error and pipefail
set -o pipefail set -o pipefail