APLawrence - Information and Resources for Unix and Linux Systems, Bloggers and the self-employed
RSS Feeds Get APLawrence.com by RSS











(OLDER) <- More Stuff -> (NEWER) (NEWEST)
Home > News Posts > telnetd slow ––>Re: Whats the latest on the 30 secondlogin bug for 5.06
Printer Friendly Version




News Group Posts

telnetd slow




From: Bela Lubkin <belal@sco.com>
Subject: Re: Whats the latest on the 30 second login bug for 5.06
Date: Fri, 23 Mar 2001 12:02:55 GMT
References: <FuLn6.36652$Xx3.213352@news1.eburwd1.vic.optushome.com.au>
<97olnm$9dc$1@slb5.atl.mindspring.net> Anthony Hall wrote: > > I have seen the sco ta and also recommendations re deleting ttys-t. Anyone > > had a positive result on preventing the 30 second login problem for 5.06

David H. Funte replied:

> I applied the ta info, and the login delay has disappeared.  It's been a
> while, so I don't remember what I did..But it worked.  I'm hoping that they
> come out with a RS506a soon.

This problem is indeed fixed in rs506a, which is supposed to be
appearing on ftp.sco.com "soon".  I've lost track of the exact date it's
going to be there.

The actual bug is in telnetd; it can be killed by a stray self-generated
signal at a critical moment.  This bug was introduced during 5.0.6
development.  One workaround (until you can get rs506a) is to use the
5.0.5 version of /etc/telnetd.  I wouldn't use the workaround from the
TA if I could avoid it, it's pretty heavy-handed...

A little more detail, for the curious:

5.0.5 telnetd was OK (in fact, unchanged from 5.0.0 through rs505a).














5.0.6 telnetd included several minor fixes:

  - try to clean up utmp/utmpx records even if trouble with SecureWare
    files

  - log session exit status to utmp[x]

  - on exit, shutdown the socket before all the file manipulation
    (telnet client exits much more quickly)

  - fix syslog messages in "ripped-out" security mode

  - fix option negotiation problem w/HP-UX telnet client

Unfortunately a bit of signal handling was missed out such that a
SIGCHLD could come in at just the wrong moment and kill telnetd between
creating and deleting ttys-t.

rs506a telnetd fixes:

  - SIGCHLD race condition causing immortal ttys-t

  - use sane ut_id for /dev/ttyp1000..9999 ("%d" rather than "p%d",
    which got truncated to 4 chars, thus overwriting other entries)

>Bela<


If this page was useful to you, please click to help others find it:  

Your +1's can help friends, contacts, and others on the web find the best stuff when they search.

Comments?



Click here to add your comments



Don't miss responses! Subscribe to Comments by RSS or by Email

Click here to add your comments


If you want a picture to show with your comment, go get a Gravatar



Auto FTP Manager

Have you tried Searching this site?

Unix/Linux/Mac OS X support by phone, email or on-site: Support Rates

This is a Unix/Linux resource website. It contains technical articles about Unix, Linux and general computing related subjects, opinion, news, help files, how-to's, tutorials and more. We appreciate comments and article submissions.

Publishing your articles here

Jump to Comments



Many of the products and books I review are things I purchased for my own use. Some were given to me specifically for the purpose of reviewing them. I resell or can earn commissions from the sale of some of these items. Links within these pages may be affiliate links that pay me for referring you to them. That's mostly insignificant amounts of money; whenever it is not I have made my relationship plain. I also may own stock in companies mentioned here. If you have any question, please do feel free to contact me.

Specific links that take you to pages that allow you to purchase the item I reviewed are very likely to pay me a commission. Many of the books I review were given to me by the publishers specifically for the purpose of writing a review. These gifts and referral fees do not affect my opinions; I often give bad reviews anyway.

We use Google third-party advertising companies to serve ads when you visit our website. These companies may use information (not including your name, address, email address, or telephone number) about your visits to this and other websites in order to provide advertisements about goods and services of interest to you. If you would like more information about this practice and to know your choices about not having this information used by these companies, click here.

g_face.jpg

This post tagged:

       - Performance
       - SCO_OSR5




Unix/Linux Consultants

Skills Tests

Guest Post Here