Thank you for your message.
I checked the same thing in centos-6.6.x86_64.openvz.md.raw.tar.gz (which I already have running
here) and the result is the same:
[root@ewhz3z6y ~]# tail -n 3 /var/log/secure
Jun 30 17:35:26 ewhz3z6y sshd[536]: Accepted publickey for root from 10.0.2.15 port 60473 ssh2
Jun 30 17:35:26 ewhz3z6y sshd[536]: pam_unix(sshd:session): session opened for user root by (uid=0)
Jun 30 17:35:26 ewhz3z6y sshd[538]: error: open /dev/tty failed - could not set controlling tty: No such file or directory
[root@ewhz3z6y ~]# ls -l /dev/tty
ls: cannot access /dev/tty: No such file or directory
For now, here is the workaround:
mknod -m 666 /dev/tty c 5 0
Thanks for pointing this out. We will put this step in the image
build scripts.
--Richard
2016年6月29日水曜日 22時13分41秒 UTC+9 Osamu Habuka: