From b416ed220162871b1289765558cbbd3fb3d474a6 Mon Sep 17 00:00:00 2001 From: cmstew Date: Mon, 31 Dec 2018 16:35:13 -0700 Subject: [PATCH] Update vst-install-rhel.sh Not entirely sure what this function is for but it's broken in the current installer. This fixes it. However, on my Centos 7 Install, spamassassin creates it's own /var/lib/spamassassin. So I'm not sure why the script has to make that directory when the yum package manager should take care of that on it's own. --- install/vst-install-rhel.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install/vst-install-rhel.sh b/install/vst-install-rhel.sh index b7c2839e0..5ac53f39e 100755 --- a/install/vst-install-rhel.sh +++ b/install/vst-install-rhel.sh @@ -1177,9 +1177,7 @@ if [ "$spamd" = 'yes' ]; then service spamassassin start check_result $? "spamassassin start failed" if [ "$release" -ge '7' ]; then - groupadd -g 1001 spamd - useradd -u 1001 -g spamd -s /sbin/nologin -d \ - /var/lib/spamassassin spamd + useradd spamd -s /sbin/nologin -d /var/lib/spamassassin mkdir /var/lib/spamassassin chown spamd:spamd /var/lib/spamassassin fi