Hello,
I have installed Almalinux 9.3 from the minimal iso and noticed that after a reboot, NetworkManager is disabled (I have enabled and started it previously). I enable it again, and after a reboot it is disabled again. I have tried various “fixes” found online, but without any luck.
My server is a VM on a KVM hypervisor. Fresh, minimal OS installation. Guest tools are installed and working. Other than the described issue, everything else appears to be working.
Grateful for any ideas that help resolve this problem,
Hello, Thanks for replying. Output is bellow. I didn’t notice errors, it feels like something is “undo’ing” systemctl enable NetworkManager during boot/reboot.
Right, no cloud-init. Other than a few warnings / errors, the logs are really uneventful.
Warning: the ifcfg-rh plugin is deprecated
Apr 16 17:24:18 my qemu-ga[545]: info: guest-exec-status failed, pid: 1060 not found
Apr 16 17:25:57 wazuh dbus-broker-launch[505]: Activation request for 'org.freedesktop.nm_dispatcher' failed: The systemd unit 'dbus-org.freedesktop.nm-dispatcher.service' could not be found.
Disabled the ifcfg-rh plugin and selinux, to see if it changes anything. Unfortunately not.
Will have to get back later to check the other two.
looks like the turning point, like my read is that NetworkManager is enabled and starts up when you reboot, but something’s killing it (and ostensibly also disabling it) five seconds later. I’d be wondering if you can find anything illuminating in the full system journal around that timestamp, like is there some other service that’s starting that might be responsible for killing and disabling NetworkManager, that sort of thing.
I have been busy with other tasks lately, but yesterday I found some time and got back to this issue. And actually I found a solution.
To put it shortly - the problem was our outdated hypervisor / guest tools. We have some compatibility issues on a few of our servers and have to hold back updates for certain packages including guest tools).
I was able to resolve the NetworkManager issue by replacing the outdated guest tool scripts with the newer ones. Now NetworkManager behaves normally.
The “fix”.
Inside the VM (with outdated hypervisor):
Replace all scripts in “/usr/lib/parallels-tools/tools/scripts/”
with the newer scripts “/usr/lib/vz-tools/tools/scripts/”
(these scripts are inside the VM with updated hypervisor).
Hopefully, this info will help someone save some time (probably not ).