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

jimlongo

Well-Known Member
Mar 20, 2008
253
21
68
This just started today with the latest update v78.0.18. Rebooted server.

When I'm on any of my plugin's pages in WHM the "You must reboot the server to apply software updates." is always displayed. Any other pages it's not.

What could the difference be? Any ideas what might be causing this?

Thanks.
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
Hello @jimlongo,

Can you run the commands below and share the output here?

Code:
/usr/local/cpanel/bin/whmapi1 system_needs_reboot
cat /var/cpanel/envtype; echo
Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
metadata: command: system_needs_reboot reason: Cannot determine startup kernel version. result: 0 version: 1
Hello @jimlongo,

Can you open a support ticket so we can take a closer look at the system to see why the startup kernel version isn't detectable? You can post the ticket number here and we'll link this thread to it.

Thank you.
 

jimlongo

Well-Known Member
Mar 20, 2008
253
21
68
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.
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
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.
 

mickael

Active Member
Aug 3, 2014
27
3
53
cPanel Access Level
Root Administrator
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 ?!
 
  • Like
Reactions: cPanelMichael

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,904
2,219
463
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 mailing list.

Let me know of any questions.

Thank you.