Reboot Now Message - How to Clear - CentOS

Hi,

I have a CentOS 6 server that is fully updated, but Webmin always shows a warning (see attached) that a reboot is needed.

I had problems updating the Kernel, but it is updated now and the VM has been rebooted multiple times.

Any idea how I can clear this warning message?

Thanks,

G

p.s. I heard that on Ubuntu, you could delete the file /var/run/reboot-required but that file doesn't exist on CentOS?

Status: 
Active

Comments

RJM Web Design's picture
Submitted by RJM Web Design on Thu, 08/01/2019 - 12:53 Pro Licensee

what does needs-restarting -r return?

needs-restarting: error: no such option: -r

Running without the -r outputs nothing.

However, I found more to the story.

This CentOS 6 VM is running PV under Xen. Updating the kernel above 2.6.32-696 stops the VM from booting. I think it had to do with mitigating Meltdown and Spectre bugs.

I think the solution would be to change the VM from PV to HVM, but I have been unsuccessful in accomplishing this.

This may not be a Webmin issue at all...

Thanks,

G

RJM Web Design's picture
Submitted by RJM Web Design on Thu, 08/01/2019 - 13:39 Pro Licensee

Kind of strange that the -r flag doesn't work. I thought that was a standard flag. Maybe it's only for 7.

Yeah, the -r flag is the problem. We'll release a Webmin update that includes a fix for this issue..

I'm having the same issue with Centos 7.6.1810, rebooting multiple times does not clear the Webmin dashboard "Warning! Recent package updates (such as a new kernel version) require a reboot to be fully applied.". Dashboard does show correct Kernel and CPU: Linux 3.10.0-957.27.2.el7.x86_64 on x86_64, any idea how to resolve this?

[root@ns1 ~]# needs-restarting -r

Core libraries or services have been updated:

systemd -> 219-62.el7_6.9

glibc -> 2.17-260.el7_6.6

kernel -> 3.10.0-957.27.2.el7

Reboot is required to ensure that your system benefits from these updates.

I'm having the same issue with Centos 7.6.1810, rebooting multiple times does not clear the Webmin dashboard "Warning!

Authentic theme version 19.38

[root@somick ~]# needs-restarting -r Core libraries or services have been updated: systemd -> 219-62.el7_6.9 glibc -> 2.17-260.el7_6.6 openssl-libs -> 1:1.0.2k-16.el7_6.1 dbus -> 1:1.10.24-13.el7_6 kernel -> 3.10.0-957.27.2.el7

Reboot is required to ensure that your system benefits from these updates.

More information: https://access.redhat.com/solutions/27943

RJM Web Design's picture
Submitted by RJM Web Design on Tue, 08/06/2019 - 23:07 Pro Licensee

Just a shot in the dark... For those having problems, is yum-utils up-to-date?

yum list installed | grep yum-utils

Should be 1.1.31-50.el7.

On my updated CentOS 6 system, the version is 1.1.30-42.el6_10.

RJM Web Design's picture
Submitted by RJM Web Design on Wed, 08/07/2019 - 12:49 Pro Licensee

I'm sorry. I should have clarified I was referring to CentOS 7.

@ikirin

I'm also running CentOS 7.6.1810

@RJM Web Design

[root@ns1 ~]# yum list installed | grep yum-utils

yum-utils.noarch 1.1.31-50.el7 @base

RJM Web Design's picture
Submitted by RJM Web Design on Wed, 08/07/2019 - 14:38 Pro Licensee

@Asawa

Yes, that's current. @base just refers to the repo.

It was just a shot in the dark. I'm running Virtualmin on Centos 7 7.6.1810 with no such issues, so it was worth a shot. I'm also running KernelCare, but I did a manual update and still don't have the warning described here.

Same issue here as well, Centos 7.