OS-3624 lxbrand ioctl(TIOCSCTTY) failed