Switching runlevels (was Re: [ILUG] change server IP's)

Conor Daly conor.daly at met.ie
Mon Mar 12 18:19:54 GMT 2001


On Mon, Mar 12, 2001 at 06:05:34PM +0000 or thereabouts, Dave Airlie wrote:
> 
> 
> but in your friends case X hand't existed so was still running .. so why
> would init have kicked it? yu need to do a killall X in that case and let
> init re-spawn it .. or maybe killall xdm....
> 
> init can only respawn somthing that has died..
> 
> Dave.
> 
I don't remember the details now but something had died in this case and
needed a restart.  T'would be nice to have a "telinit -r" option where init
restarts everything in the current runlevel though.  (read the source time).
> On Mon, 12 Mar 2001, Conor Daly wrote:
> > Incidentally, is there any way to *restart* a particular runlevel's process
> > w/o having to manually restart them all?  Someone had a problem with a hung
> > console / X but could ssh in and I suggested "telinit 1; sleep 20; telinit
> > 5" to get the box back in order.  Now, what I would like is to be able to
> > do, from runlevel 5, "telinit 5" and have anything that is not running be
> > started or have everything for that runlevel be restarted.  At present,
> > telinit appears to check its current runlevel and, if that's the same as the
> > requested level, it just exits.
> >
> > tried "telinit u" which the man page suggested might help but nothing
> > changed.
> >

-- 
Conor Daly 
Met Eireann, Glasnevin Hill, Dublin 9, Ireland
Ph +353 1 8064217 Fax +353 1 8064275
------------------------------------
  6:15pm  up  8:05,  2 users,  load average: 0.00, 0.00, 0.03




More information about the ILUG mailing list