ENODEV on /dev/ptmx

In an AppVM based on debian-11 template, script fails to launch after this:

openat(AT_FDCWD, "/dev/ptmx", O_RDWR)   = -1 ENODEV (No such device)

I find the thing puzzling, as a debian-10 AppVM has no such issue, despite /dev/ptmx having same major/minor/perms. Any idea where such a difference could come from ?

Update: This also caused my running screen to refuse creating more windows, and a VM restart made the problem go away. Could not find anything meaningful in the log to explain this event.

Works for me.
Where did you get the template, and what changes have you made to it?

this is major problem here, i think it mean there is no /dev/ptmx (it tries to open /dev/ptmx as RW and return ENODEV (mean pathname refers to a device special file and no corresponding device exists))
edit:4.1 is still in beta