NetBSD-Users archive

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

Re: logout delay



Greg, you're right!

It seems to be a getty issue not shell itself. As I mentioned before
(but chosen incorrect responder) I type 'exit', wait ~1 second then
login prompt appears. And I tried many shells with the same result.
Actually, I stopped worried about this because it happens only on
getty logout. I log in once a day then dive into X and don't see getty
until I turn computer on the next day :) I just wonder if somebody
knows what the issue is.

On Tue, Apr 21, 2020 at 6:26 PM Greg Troxel <gdt%lexort.com@localhost> wrote:
>
> Gua Chung Lim <gua.chunglim%gmail.com@localhost> writes:
>
> > * Vitaly Shevtsov <shev.vt1984%gmail.com@localhost> wrote:
> >> Does anybody know why there is about 1 second delay before OS exited
> >> from the shell? There is no such issue on FreeBSD for example - it
> >> quits immediately when you type 'exit' or press ^D.
>
> I would suggest looking into what's actually happening.  I would suspect
> that the shell actually exits promptly, and that the delay is between
> that and getty printing a new "login:" prompt.
>
> If that doesn't make sense, please be much more precise about what
> you're talking about.


Home | Main Index | Thread Index | Old Index