Seeing What Updates were Applied

dermotd

Member
Nov 26, 2019
13
0
1
Dublin
cPanel Access Level
Root Administrator
When I log into my clients WHM I see the yellow bar across the top, 'You must reboot the server to apply software updates'. How do I see what updates were applied, so I can decide whether to reboot the server? Does grep -i 'updated' /var/cpanel/updatelogs/<latest update log> give the full story, or only any updates applied on the date of that log?

I have read from other forum postings that a server should only be rebooted following kernel updates (if thats your preference of course). How do other people approach reboots?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hello,

You can check the yum log and the cPanel update log to determine what had been updated:

yum
/var/log/yum.log

update logs
/var/cpanel/updatelogs/

To determine what specifically is being updated and the source of the reqeuest for rebooting is you can run the following:

/usr/local/cpanel/bin/needs-restarting-cpanel