File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3164,10 +3164,15 @@ sub mysql_stats {
31643164 infoprint
31653165" Skipped name resolution test due to missing skip_name_resolve in system variables." ;
31663166 }
3167- elsif ( -r " /etc/psa/.psa.shadow" and $result {' Variables' }{' skip_name_resolve' } eq ' OFF' ) {
3168- infoprint " CPanel and Flex system skip-name-resolve should be on" ;
3169- push (@generalrec , " cPanal and skip-name-resolve: https://support.cpanel.net/hc/en-us/articles/360052752094" );
3170- push (@adjvars , " skip-name-resolve=0" );
3167+ # Cpanel and Skip name resolve
3168+ elsif ( -r " /usr/local/cpanel/cpanel" ){
3169+ if ( $result {' Variables' }{' skip_name_resolve' } eq ' OFF' ) {
3170+ badprint " CPanel and Flex system skip-name-resolve should be on" ;
3171+ push (@generalrec , " name resolution is enabled due to cPanel doesn't support this disabled." );
3172+ push (@adjvars , " skip-name-resolve=0" );
3173+ else {
3174+ infoprint " CPanel and Flex system skip-name-resolve should be on" ;
3175+ }
31713176 }
31723177 elsif ( $result {' Variables' }{' skip_name_resolve' } eq ' OFF' ) {
31733178 badprint
You can’t perform that action at this time.
0 commit comments