[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: launched by rungetty bash breaks terminal input interpretation upon
From: |
Dumas Patrice |
Subject: |
Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change |
Date: |
Thu, 6 Dec 2001 18:14:14 +0100 |
User-agent: |
Mutt/1.2.5i |
On Thu, Dec 06, 2001 at 11:30:35AM -0500, Paul Jarc wrote:
> Dumas Patrice <dumas@centre-cired.fr> wrote:
> > I've read the init code related to utmp initialization, it is:
> > /*
> > * Initialize /var/run/utmp (only works if /var is on
> > * root and mounted rw)
> > */
> > (void) close(open(UTMP_FILE, O_WRONLY|O_CREAT|O_TRUNC, 0644));
>
> You can duplicate this in the proper place in your boot scripts easily
> enough:
> (umask 022; : > /var/run/utmp)
Yes, but I thought the utmp could be badly initialized, but in fact this
possibility is taken into account by init and if it appears that utmp is empty
a record corresponding with boot is put. Nice and thanks.
I did it, now utmp is working properly. The other problem is still here,
though...
Pat
- launched by rungetty bash breaks terminal input interpretation upon runlevel change, Dumas Patrice, 2001/12/03
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Paul Jarc, 2001/12/03
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Dumas Patrice, 2001/12/04
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Paul Jarc, 2001/12/04
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Dumas Patrice, 2001/12/04
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Paul Jarc, 2001/12/04
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Dumas Patrice, 2001/12/05
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Paul Jarc, 2001/12/05
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Dumas Patrice, 2001/12/06
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Paul Jarc, 2001/12/06
- Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change,
Dumas Patrice <=
Re: launched by rungetty bash breaks terminal input interpretation upon runlevel change, Dumas Patrice, 2001/12/07