Systemctl restart incus-lxcfs.service

On ubuntu 22.04 LTS and 24.04 LTS with zabbly stable packages, i do get

Service restarts being deferred:
 systemctl restart incus-lxcfs.service

and so far i have a script that shuts down all current running containers, then runs systemctl restart incus-lxcfs.service and then starts up all previously running containers.

As far as i understand otherwise the containers would be working on the previous version until restart, am i correct in doing so?

That’s correct. A restart of LXCFS would immediately break all running containers, so we usually just stage it for the next restart, assuming that folks would do frequent restarts for kernel updates.