You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-07 03:22:57 +03:00
change rsa key checkin
This commit is contained in:
@@ -4657,7 +4657,7 @@ namespace oam
|
|||||||
{
|
{
|
||||||
buf = line;
|
buf = line;
|
||||||
|
|
||||||
string::size_type pos = buf.find("Offending RSA key",0);
|
string::size_type pos = buf.find("Offending",0);
|
||||||
if (pos != string::npos) {
|
if (pos != string::npos) {
|
||||||
// line ID
|
// line ID
|
||||||
pos = buf.find(":",0);
|
pos = buf.find(":",0);
|
||||||
|
@@ -4602,8 +4602,8 @@ int ProcessManager::addModule(oam::DeviceNetworkList devicenetworklist, std::str
|
|||||||
system(cmd.c_str());
|
system(cmd.c_str());
|
||||||
if (!oam.checkLogStatus("/tmp/login_test.log", "README")) {
|
if (!oam.checkLogStatus("/tmp/login_test.log", "README")) {
|
||||||
//check for RSA KEY ISSUE and fix
|
//check for RSA KEY ISSUE and fix
|
||||||
if (oam.checkLogStatus("/tmp/login_test.log", "Offending RSA key")) {
|
if (oam.checkLogStatus("/tmp/login_test.log", "Offending")) {
|
||||||
log.writeLog(__LINE__, "addModule - login failed, RSA key issue, try fixing: " + moduleName, LOG_TYPE_DEBUG);
|
log.writeLog(__LINE__, "addModule - login failed, Offending key issue, try fixing: " + moduleName, LOG_TYPE_DEBUG);
|
||||||
string file = "/tmp/login_test.log";
|
string file = "/tmp/login_test.log";
|
||||||
oam.fixRSAkey(file);
|
oam.fixRSAkey(file);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user