bug-bash
[Top][All Lists]
Advanced

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

Re: launched by rungetty bash breaks terminal input interpretation upon


From: Paul Jarc
Subject: Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change
Date: Wed, 05 Dec 2001 14:00:50 -0500
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 (i386-redhat-linux-gnu)

Dumas Patrice <address@hidden> wrote:
> On Tue, Dec 04, 2001 at 01:09:03PM -0500, Paul Jarc wrote:
>> Right, but getty only handles half of the accounting, at login.  init
>> handles the other half at logout, and it uses the inittab id field to
>> find the record it's supposed to clean up.
>
> Yes, but if I am not wrong, init doesn't use the utmp record to find that a
> process has to be killed, but some information in memory.

Right; that's for changing runlevels.  But when the process exits on
its own (e.g., when you log out), init marks the utmp record.  It
needs the id field to update it correctly.

> I checked, it seems that I don't have any utmp accounting, as I have nothing
> in /var/run and most of the filesystem is read-only (except /tmp and
> some files/dir linked to /tmp, like /var).

What do "w" and "who" say?


paul



reply via email to

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