From aafa9287d603123e869132bc43a7ea2e53d9518f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=E1=B4=8F=C9=B4=C9=A2=20Jie?= Date: Mon, 28 Jan 2019 16:18:16 +0800 Subject: [PATCH] Fix rsyslog.conf syntax error on RHEL 8 (#5950) --- xCAT/postscripts/syslog | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT/postscripts/syslog b/xCAT/postscripts/syslog index d9b971a3b..845e49be2 100755 --- a/xCAT/postscripts/syslog +++ b/xCAT/postscripts/syslog @@ -231,7 +231,7 @@ config_rsyslog_V8() if [ -f "$conf_file" ]; then #rhels7.4 ships rsyslogd 8.24.0, which does not ship remote.conf #the relevant sections are included in rsyslog.conf - sed -i '/#\$ModLoad \+imudp\|imtcp\|imudp.so\|imtcp.so/s/^#//; + sed -i '/#\$ModLoad \+imudp\|#\$ModLoad \+imtcp\|imudp.so\|imtcp.so/s/^#//; /#\$InputTCPServerRun\|UDPServerRun.*/s/^#//' $conf_file #ubuntu16.04 ships rsyslog 8.16.0,which does not ship remote.conf