Running Incus on Debian, latest version.
Whenever I edit a profile with lxc profile edit <name>, when saving and closing the editor, there’s a rather long delay before returning to the command line (several minutes). I do not recall having such a delay before but I reckon it has been quite a long time since I last modified my general profile (it was before migrating to Incus so that’s been a while!). I do have a bunch of containers, most of which are stopped.
You’re using LXD which isn’t supported here anymore.
If the same happens on Incus, it would most likely be because the change needs to be applied live to all affected instances, depending on the kind of change, this can take a while as it may involve hotplugging/hot-removing devices.
Okay. It should be basically instant when nothing is running but will take longer the more are running as it will sequentially call their Update function, checking if the change causes any other container visible change and if so applying it.
Oh thanks, I see. Sorry for the hasty responses, I’m on the move, using the email bridge. I do have a few containers running. I added a bind mount to a folder on the host to a profile that is shared by all containers, so that might be why, but it seemed surprising to me that mounting a folder would take any noticeable time. However it also happened later when I just went manually into “incus profile edit ”, edited nothing and immediately exited. Does it reapplies everything every time or only the modified entries ?