The proposed fix - short of fixing glibc - is to set up an environment for the grantpt call with the container's /dev/pts bind-mounted to /dev/pts.
The proposed fix - short of fixing glibc - is to set up an environment for the grantpt call with the container's /dev/pts bind-mounted to /dev/pts.