*BSD News Article 16418


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!wupost!gumby!yale!zip.eecs.umich.edu!niagara.eecs.umich.edu!khushro
From: khushro@niagara.eecs.umich.edu (Khushro Shahookar)
Newsgroups: comp.os.386bsd.questions
Subject: Cannot login without sending HUP to getty
Date: 23 May 1993 18:10:12 GMT
Organization: University of Michigan Engineering, Ann Arbor
Lines: 21
Distribution: world
Message-ID: <1toem4$hpc@zip.eecs.umich.edu>
Reply-To: khushro@niagara.eecs.umich.edu (Khushro Shahookar)
NNTP-Posting-Host: niagara.eecs.umich.edu

After every reboot, there are 3 possibilities:
1. Everything is normal, I am able to login (rare, but it occurs)
2. Does not respond to the keyboard atall (rare, but it also occurs)
3. Lets me enter the login name, then does not respond with the passwd prompt
Then it echoes the keyboard, but does not log me in (most frequent).

In both 2, and 3, the cure is to rlogin, and send a HUP signal to getty.
Then normal behavior is restored. This problem never occurs for rlogin -
only on the local console. The system is NetBSD, with the NetBSD kernel,
and the problem was also there when I was using the pccons kernel.

Questions:
1. How do I fix this (I mean a real solution, not just to put a kill
command in /etc/rc)?
2. What does the HUP signal to getty do that /etc/rc does not do?

--
Copyright KHUSHRO SHAHOOKAR,   $0.02
khushro@eecs.umich.edu   Univ. of Michigan, Ann Arbor