Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch update tools/kernelcheck.sh new kernel reboot message in 123.09beta01

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

  1. eva2000

    eva2000 Administrator Staff Member

    30,166
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    11:17 AM
    Nginx 1.13.x
    MariaDB 5.5
    update tools/kernelcheck.sh new kernel reboot message in 123.09beta01

    Code (Text):
    ./tools/kernelcheck.sh
    
    ===============================================================================
     newer kernel is available or recently updated
     a system reboot is needed
     please run commands below to check kernel yum package history (Begin time),
     yum update and then reboot server (if Begin time is recent):
    
      yum history package-info kernel
      yum update
    ===============================================================================
    


    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,166
    6,784
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,136
    Local Time:
    11:17 AM
    Nginx 1.13.x
    MariaDB 5.5
    example for command output to check Begin time
    Code (Text):
    yum history package-info kernel
    

    Code (Text):
    yum history package-info kernel
    Loaded plugins: fastestmirror, priorities
    Transaction ID : 40
    Begin time     : Tue Dec 13 13:19:57 2016
    Package        : kernel-3.10.0-514.2.2.el7.x86_64
    State          : Install
    Size           : 154,811,758
    Build host     : kbuilder.dev.centos.org
    Build time     : Tue Dec  6 23:58:01 2016
    Packager       : CentOS BuildSystem <http://bugs.centos.org>
    Vendor         : CentOS
    License        : GPLv2
    URL            : http://www.kernel.org/
    Source RPM     : kernel-3.10.0-514.2.2.el7.src.rpm
    Commit Time    : Tue Dec  6 12:00:00 2016
    Committer      : CentOS Sources <bugs@centos.org>
    Reason         : user
    Command Line   : update --disableplugin=priorities --enablerepo=remi
    From repo      : updates
    Installed by   : root <root>
    
    Transaction ID : 34
    Begin time     : Sun Nov 27 01:07:48 2016
    Package        : kernel-3.10.0-514.el7.x86_64
    State          : Install
    Size           : 154,799,976
    Build host     : kbuilder.dev.centos.org
    Build time     : Tue Nov 22 17:33:33 2016
    Packager       : CentOS BuildSystem <http://bugs.centos.org>
    Vendor         : CentOS
    License        : GPLv2
    URL            : http://www.kernel.org/
    Source RPM     : kernel-3.10.0-514.el7.src.rpm
    Commit Time    : Thu Nov  3 12:00:00 2016
    Committer      : CentOS Sources <bugs@centos.org>
    Reason         : user
    Command Line   : -y update --enablerepo=cr
    From repo      : cr
    Installed by   : root <root>
    
    Transaction ID : 2
    Begin time     : Fri Nov 25 07:27:21 2016
    Package        : kernel-3.10.0-327.36.3.el7.x86_64
    State          : Install
    Size           : 142,763,489
    Build host     : kbuilder.dev.centos.org
    Build time     : Mon Oct 24 16:54:21 2016
    Packager       : CentOS BuildSystem <http://bugs.centos.org>
    Vendor         : CentOS
    License        : GPLv2
    URL            : http://www.kernel.org/
    Source RPM     : kernel-3.10.0-327.36.3.el7.src.rpm
    Commit Time    : Mon Oct 24 12:00:00 2016
    Committer      : CentOS Sources <bugs@centos.org>
    Reason         : user
    Command Line   : -y install kernel.x86_64
    From repo      : updates
    history package-info