When booting a machine, oozie fails to start automatically because it uses sudo and there is no tty at that time.