Lxc-execute hanging with kernel 5.4.0

Hi guys!

Sorry if this is not the correct place for asking this.
I have a container that I can manage to run successfully in several systems:

  • Ubuntu 18.04, kernel 4.9.15, lxc 2.0.8
  • Ubuntu 20.04, kernel 5.15.0, lxc 4.0.12
  • Ubuntu 20.04, kernel 5.4.0, lxc 4.0.2
  • Ubuntu 21.10, kernel 5.13.0, lxc 4.0.12
  • Ubuntu 22.04, kernel 5.15.0. lxc 5.0.0

However, I can’t run it on a Ubuntu 20.04 server with the following default specs:
Ubuntu 20.04; kernel 5.4.0-122-generic; lxc 4.0.12; lxd 4.0.9

The lxc-execute command hangs on this system.

If I use the TRACE option when running lxc-execute, I see the following output:

If I use strace, I see the following output.

It seems that it gets stuck in this command:
“sync - sync.c:lxc_sync_barrier_child:97 - Parent waking child with sequence ready-start and waiting with sequence restart”,
or maybe somewhere else.

Can I get some help from you guys? Or could re-direct me to the right place where to ask this question?