bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Release?


From: Joachim Gabler
Subject: Re: Release?
Date: Fri, 23 Feb 2001 13:43:04 +0100 (MET)

Hi,

> > 
> > > ...
> > > > 
> > > > - The r* deamon commands are not working on Solaris(SVR4) because
> > > >   of the use of STREAMS, unfortunately my solaris box was decommission
> > > >   and I do not have root priviledge to any.
> > > 
> > > How to solve this?  I can make it so that configure won't build r* 
> > > daemons on sun-sparc-solaris* if you'd like.
> > > 
> > 
> > It seems to be only rlogind that is not working, rsh works fine (as it does
> > no terminal handling).
> 
> Yes one of the problem was STREAM base pty "/dev/ptmx".  I put some
> code in libinetutils/{forkpty,openpty}.c to cope with this and
> rlogind should call forkpty(), I think I commited the code in,

Yes, the code is there. I think there was a bug in pushing the stream modules:
the "pckt" module must be pushed to the master file handle (fdm). This caused
rlogind to block the terminal.
But after fixing this, rlogind (master) still has problems when reading
from a file handle and then exits.

A possible workaround might be not to use streams - the old pty handling
also/still works on Solaris.

> 
> The other was UTMPX and how it was handle by svr4 and Solaris,
> think I commited some code in there too.

That seems to work, too. At least it writes entries to /var/adm/utmpx.
Is there a way (commandline tool) to read utmpx and verify the entries?

> 
> The last was spawning /bin/login with the right argument.

There is also still a problem - if I have the terminal handling working (by
not using streams), login still asks for a password - ignoring .rhosts.


I'm on vacation the next two weeks, but can try to continue when I'm 
back.


Best regards,

  Joachim

> 
> > I'll have a look at the code and can try to fix this problem.
> 
> Thanks! let me know the result, sometimes an strace(truss) -p <rlogind_pid>
> was a big help.
> 
> > Shouldn't rlogind and telnetd use the same code for terminal handling - 
> > somewhere in libinetutils? Telnetd seems to be OK!
> 
> Yes, we've been moving some code out of telnetd to clean the mess.
> But it takes time.
> 
> -- 
> au revoir, alain
> ----
> Aussi haut que l'on soit assis, on n'est toujours assis que sur son cul !!!
> 

- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Joachim Gabler          Tel: +49 941 3075-233 (x60233)
Sun Microsystems GmbH   Fax: +49 941 3075-222 (x60222) 
Dr.-Leo-Ritter-Str. 7   mailto:address@hidden
D-93049 Regensburg      http://www.sun.de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]