Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch add tools/kernelcheck.sh kernel check for SSH login in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Dec 5, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,784
    Local Time:
    1:01 AM
    Nginx 1.13.x
    MariaDB 5.5
  2. eva2000

    eva2000 Administrator Staff Member

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,784
    Local Time:
    1:01 AM
    Nginx 1.13.x
    MariaDB 5.5
    example on ssh login
    Code (Text):
    ===============================================================================
     system kernel is up to date, nothing to do
    ===============================================================================
    
    ===============================================================================
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    ===============================================================================
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    29,034
    6,589
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,784
    Local Time:
    1:01 AM
    Nginx 1.13.x
    MariaDB 5.5
    just updated from CentOS 7.2 to 7.3 with newer kernel so this kernel check triggered on ssh login but seems getting duplicate message alerts heh. Will need to investigate :)
    Code (Text):
    ===============================================================================
     newer kernel is available, system reboot needed
     please run command below then reboot server:
    
      yum update
    ===============================================================================
    
    ===============================================================================
     newer kernel is available, system reboot needed
     please run command below then reboot server:
    
      yum update
    ===============================================================================
    
    ===============================================================================
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    ===============================================================================


    with DEBUG='y' mode enabled in kernelcheck.sh output manually
    Code (Text):
    ./tools/kernelcheck.sh        
    latest: 3.10.0-514.2.2
    current: 3.10.0-514
    distro: rpm
    needs_update: True
    latest_installed: True
    latest_available: False
    inside_container: False
    installed: False
    up2date: False
    supported: False
    
    DEBUG Mode Output:
    kc_latest = 3.10.0-514.2.2
    kc_current = 3.10.0-514
    kc_distro = rpm
    kc_needs_update = True
    kc_latest_installed = True
    kc_latest_available = False
    kc_inside_container = False
    kc_installed = False
    kc_up2date = False
    kc_supported = False
    
    ===============================================================================
     newer kernel is available, system reboot needed
     please run command below then reboot server:
    
      yum update
    ===============================================================================
    
    ===============================================================================
     newer kernel is available, system reboot needed
     please run command below then reboot server:
    
      yum update
    ===============================================================================
    
     
    Last edited: Dec 13, 2016