Hi Tore, On Wed, Aug 04, 2010 at 11:06:28AM +0200, Agblad Tore wrote: > I have made some digging myself since last mail. > So I figured SSH is not involved here at all. > Haven't tried your suggestion yet, but will. > However the man pages says that default for iucvtty is to > use /bin/login.
That's correct but iucvtty passes some additional parameters to login, the -h option which causes the DNS lookup... Try to specify the login program directy as suggested. > So I took a look in the login source, and it does a gethostname(....) > that obviously need the DNS. > Probably IP default behaviour is to end gesthostname request > with error code if DNS is missing, without any delay. > and the login pgm accepts this, just warns I think. In the meantime, I also looked into the sources. My suspicion is that the gethostbyname() times out. But the DNS timeout is greater than the timeout login waits for user input. This (login) timeout is triggered through an alarm signal (SIGALRM) that is registered before gethostbyname is called. The alarm signal handler might then interrupt the gethostbyname() call and exits the login program. > I would like an option to login: dont_gethostname > That would solve the problem I guess. > Thank's for your advice about the conflict. > It works fine here with the names I have, but not for lnxhvc0 > for some reason. Maybe because the IUCV HVC device is already active and accepts connections for terminal ID lnxhvc0. You might add another inittab entry: h0:2345:respawn:/sbin/mingetty hvc0 You then can try to connect to lnxhvc0 with ts-shell or iucvconn. > I did use these names becasue this is the defaults used by ts-shell > if none specified ( I read it somewhere in the docs ) For ts-shell, lnxhvc0 is the default. It is the terminal ID of the first terminal device of the IUCV HVC device driver which is available with recent linux distributions. Regards, Hendrik ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/