Greetings,
I am running Proxmox 5.1 fully updated with a CentOS 7 container, fully updated. I have a shell script in the CentOS container that uses the expect command. Up until about a month ago the script ran just fine. Today the script failed with:
Digging a little seems to indicate that /dev/pts in the CentOS container is not getting bind mounted to the Proxmox host. Notably, there is no gid=5 mount option in the container's /dev/pts options. Group ID 5 is the tty group. I suspect that this absense is why the expect script now fails when run as non-root.
Has anything changed the past few weeks in Proxmox that would cause this error message?
Thanks much.
Edit: I also notice in the container that /dev/ptmx is owned root:root rather than root:tty, as in the Proxmox host.
I am running Proxmox 5.1 fully updated with a CentOS 7 container, fully updated. I have a shell script in the CentOS container that uses the expect command. Up until about a month ago the script ran just fine. Today the script failed with:
Code:
The system has no more ptys.
Digging a little seems to indicate that /dev/pts in the CentOS container is not getting bind mounted to the Proxmox host. Notably, there is no gid=5 mount option in the container's /dev/pts options. Group ID 5 is the tty group. I suspect that this absense is why the expect script now fails when run as non-root.
Has anything changed the past few weeks in Proxmox that would cause this error message?
Thanks much.
Edit: I also notice in the container that /dev/ptmx is owned root:root rather than root:tty, as in the Proxmox host.
Last edited: