A privileged container gets devtmpfs as its /dev, and devtmpfs is one
filesystem for the whole kernel: on a Linux host, where there is no VM,
it is the host's /dev. Setting up the container replaced the host's
/dev/ptmx with a link to pts/ptmx, which is mode 000 in the host's
devpts, so no new terminal could start ("out of pty devices") until the
next boot. Turning on Kubernetes was enough: k3s runs privileged.
For a privileged container, the /dev links are now only added where
missing, and ptmx is left alone: the real ptmx opens the devpts mounted
beside it at /dev/pts, so the container still gets its own ptys.