While experience with package management and system design is the better foundation for knowing when to reboot a system, we use the needrestart tool as an additional guide and only as a guide.
Some time ago I noticed the needrestart tool wants to always restart lxc-monitord.service and pve-container*.
Today there was a single Debian package update: tcpdump. There should not be any related triggers with that one update, but nonetheless we saw a restart request.
As a test, I rebooted one Proxmox host and immediately ran needrestart. The tool again wanted to restart lxc-monitord.service and pve-container*.
A full reboot is not required. Run systemctl restart lxc-monitord.service and then run needrestart and again the tool wants to restart the service.
Next I shutdown containers and restarted lxc-monitord.service. Again needrestart wants to restart the service.
This seems to be a bug. Is there anything unique about Proxmox that triggers this incorrect prompt?
I would be grateful if somebody would confirm this behavior.
In the short term I added the following needrestart configuration file:
I tried blacklist_rc rather than override_rc but that always resulted in a perl Not an ARRAY reference error.
Regardless, there should be no restart prompt at all.
Thank you.
Some time ago I noticed the needrestart tool wants to always restart lxc-monitord.service and pve-container*.
Today there was a single Debian package update: tcpdump. There should not be any related triggers with that one update, but nonetheless we saw a restart request.
As a test, I rebooted one Proxmox host and immediately ran needrestart. The tool again wanted to restart lxc-monitord.service and pve-container*.
A full reboot is not required. Run systemctl restart lxc-monitord.service and then run needrestart and again the tool wants to restart the service.
Next I shutdown containers and restarted lxc-monitord.service. Again needrestart wants to restart the service.
This seems to be a bug. Is there anything unique about Proxmox that triggers this incorrect prompt?
I would be grateful if somebody would confirm this behavior.
In the short term I added the following needrestart configuration file:
Code:
/etc/needrestart/conf.d/proxmox.conf
$nrconf{override_rc} = {
qr(^pve) => 0,
qr(^lxc-monitord) => 0,
};
I tried blacklist_rc rather than override_rc but that always resulted in a perl Not an ARRAY reference error.
Regardless, there should be no restart prompt at all.
Thank you.