From: <ha...@no...> - 2002-05-14 15:33:21
|
Dear BProc users and gurus, I am trying to setup occasional master->slave OpenSSH access (just for the convenience of environment, pty etc. during service work on slave node). It works but it cannot use controlling tty. Server process complains: n1 sshd[19675]: error: ioctl(TIOCSCTTY): Operation not permitted n1 sshd[19675]: error: open /dev/tty failed - could not set controlling tty: No such device or address and client process complains: bash: initialize_job_control: setpgid: Operation not permitted Then it works OK, just job control is missing. Server process is able to use /dev/ptmx to allocate /dev/pts/0, it opens /dev/tty but then it is unable to use it. This seemes strange to me. At this moment I am not sure whether I should continue looking for missing files, kernel modules etc. on slave node (usual game when you insist on running some daemon :-) or delve into kernel sources and look for strange interactions of BProc and controlling tty. So, my only question is: Is it likely that controlling terminal things are a bit broken in BProc patched kernel? Just give me some opinions to let me search in more likely directions... Thanks Vaclav Hanzl |