From 43a646581181cac474f2c1df3784016eb1e867c1 Mon Sep 17 00:00:00 2001 From: david hill Date: Mon, 6 Nov 2017 08:35:54 -0600 Subject: [PATCH] add a writeconfig after mysqlrep --- oamapps/postConfigure/postConfigure.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/oamapps/postConfigure/postConfigure.cpp b/oamapps/postConfigure/postConfigure.cpp index 571c7ded6..cc410e86a 100644 --- a/oamapps/postConfigure/postConfigure.cpp +++ b/oamapps/postConfigure/postConfigure.cpp @@ -883,6 +883,11 @@ int main(int argc, char *argv[]) catch(...) {} + if ( !writeConfig(sysConfig) ) { + cout << "ERROR: Failed trying to update MariaDB ColumnStore System Configuration file" << endl; + exit(1); + } + break; } } @@ -1058,6 +1063,7 @@ int main(int argc, char *argv[]) if ( !rootUser ) { system("sudo sed -i -e 's/#sudo runuser/sudo runuser/g' /etc/rc.d/rc.local >/dev/null 2>&1"); + system("sudo chmod 666 /etc/fstab >/dev/null 2>&1"); } if ( !writeConfig(sysConfig) ) {