Skip to main content

[CPANEL-26440] Custom kernel leading to false reboot warnings

Comments

9 comments

  • bellwood
    Running: needs-restarting -r ...returns 0 if reboot is not needed, and 1 if a reboot is needed along with the associated packages. You'll need the yum-utils package installed. Docs: needs-restarting(1) - Linux manual page If nothing needs restarting it could be a UI bug.
    0
  • cPanelMichael
    Hello @jimlongo, Can you run the commands below and share the output here? /usr/local/cpanel/bin/whmapi1 system_needs_reboot cat /var/cpanel/envtype; echo
    Thank you.
    0
  • jimlongo
    [root@whm ~]# /usr/local/cpanel/bin/whmapi1 system_needs_reboot --- data: details: {} needs_reboot: 0 metadata: command: system_needs_reboot reason: Cannot determine startup kernel version. result: 0 version: 1 [root@whm ~]# cat /var/cpanel/envtype; echo kvm [root@whm ~]#
    0
  • cPanelMichael
    metadata: command: system_needs_reboot reason: Cannot determine startup kernel version. result: 0 version: 1

    Hello @jimlongo, Can you open a
    0
  • jimlongo
    Ticket 11715255. Something about "nonstandard kernel from the host/datacenter Linode". I'll see if that resolves anything. Note this ticket only addresses the kernel question. I did as the ticket suggested, however that has made no change in the response to the question you asked earlier. Also note that nothing has changed here except the cPanel version. The kernel didn't change, the plugin didn't change.
    0
  • cPanelMichael
    Hello @jimlongo, Thank you for taking the time to submit a ticket. Upon reviewing the information in the ticket, it looks like internal case CPANEL-15405 was published in the past (version 66) to address the scenario you've described: Fixed case CPANEL-15405: Don't instruct users to reboot when they're running a custom kernel. Thus, WHM should be able to detect the custom kernel and suppress the reboot warning. If that's not happening, then it's possible this requires a new case to report the problem in recent versions. I've added a note to the ticket to let our Technical Analysts know about this case. I'll continue to monitor the ticket and update this thread with the outcome once it's closed. Thank you.
    0
  • cPanelMichael
    Hello, To update, case CPANEL-26440 was opened to report false reboot warnings that appear on systems running a custom kernel. I'll monitor this case and update this thread with more information on it's status as it becomes available. Thank you.
    0
  • mickael
    Hello I just arrived on this forum after typing this in google: "You must reboot the server to apply software updates." And I too have this alert, I have a new dedicated server since January 12, 2019 with a custom kernel and from January 12 to April 10, 2019 I received this false alarm at least 10 times and too since today last time or yesterday, and the worst is that I always restart in the same week but I will not do it again if this alert is false ?!
    0
  • cPanelMichael
    Hello Everyone, The fix for CPANEL-26440 to ensure custom kernels are detected with reboot status updates is scheduled for inclusion with cPanel & WHM version 84. To receive an email when version 84 is published, subscribe to the cPanel
    0

Please sign in to leave a comment.