as it is, installing a new kernel version using the distribution's package management system will break Agent for Linux every time because the veeamsnap module needs to be rebuilt, which doesn't happen automatically.
In my opinion, there should be an option like this in Veeam: "Install kernel source/headers for current kernel and rebuild veeamsnap module if necessary".
If you don't intend to do this, I suggest you create a knowledge base article explaining the issue and provide a script to automate this. We do it on Debian/Ubuntu by running the following script on reboot (there might be more elegant ways to do this, but it works):
Code: Select all
#!/usr/bin/env bash
# Check if veeamsnap kernel module is loaded
modprobe veeamsnap
# If module is not loaded, install kernel headers and
# reconfigure veeamsnap package (build kernel module)
if [ "$?" -ne "0" ]; then
echo "Reinstalling veeamsnap kernel module"
apt-get -y install linux-headers-$(uname -r)
dpkg-reconfigure veeamsnap
exit
else
echo "Kernel module veeamsnap OK"
fi
JW