respawn not working ?

Grail Dane grail69 at hotmail.com
Tue May 17 03:23:13 UTC 2011


Well I am no guru, but on mine the path to the tty is given, ie.
exec /sbin/agetty /dev/tty1 38400
Does this make any difference for you?
cheersgrail

> From: sharma34 at illinois.edu
> Date: Mon, 16 May 2011 22:18:18 -0500
> Subject: respawn not working ?
> To: upstart-devel at lists.ubuntu.com
> 
> So i'm using the default tty scripts i think, but with agetty instead
> of tty, but my terminals dont respawn on exit even though i have
> specified exit in the upstart job.
> the upstart job is basically this:
> 
> start on mountall-done
> stop on shutdown
> 
> task
> 
> respawn
> exec /sbin/agetty tty1 38400
> 
> but when i exit from tty1 it doesn't respawn. here's verbose init
> output when i exit the tty:
> 
> init: tty1 main process (1016) exited normally
> init: tty1 goal changed from start to stop
> init: tty1 state changed from running to stopping
> init: Handling stopping event
> init: tty1 state changed from stopping to killed
> init: tty1 state changed from killed to post-stop
> init: tty1 state changed from post-stop to waiting
> init: Handling stopped event
> 
> is this whats supposed to happen ? is agetty returning a failure maybe
> ? any ideas why agetty isnt respawning ?
> 
> Thanks
> Karshan
> 
> -- 
> upstart-devel mailing list
> upstart-devel at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/upstart-devel
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/upstart-devel/attachments/20110517/8c549d82/attachment.html>


More information about the upstart-devel mailing list