1
0
mirror of synced 2024-11-28 23:56:04 +03:00

Workaround for xl2tpd bug

- Temporary workaround for an xl2tpd bug which affects CentOS 7
- Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1406360
This commit is contained in:
hwdsl2 2016-12-23 16:17:36 -06:00
parent eba1e4e08e
commit 8cc1362d17

View File

@ -144,7 +144,15 @@ yum -y install nss-devel nspr-devel pkgconfig pam-devel \
libcap-ng-devel libselinux-devel \ libcap-ng-devel libselinux-devel \
curl-devel flex bison gcc make \ curl-devel flex bison gcc make \
fipscheck-devel unbound-devel xmlto || exiterr2 fipscheck-devel unbound-devel xmlto || exiterr2
yum -y install ppp xl2tpd || exiterr2 yum -y install ppp || exiterr2
# Temporary workaround for xl2tpd bug
# Ref: https://bugzilla.redhat.com/show_bug.cgi?id=1406360
if grep -qs "release 6" /etc/redhat-release; then
yum -y install xl2tpd || exiterr2
else
yum -y --enablerepo=epel-testing install xl2tpd || exiterr2
fi
# Install Fail2Ban to protect SSH server # Install Fail2Ban to protect SSH server
yum -y install fail2ban || exiterr2 yum -y install fail2ban || exiterr2