[Pkg-sysvinit-devel] Bug#613618: Bug#613618: sysvinit: init emits warning when we don't have getty in /etc/inittab

Henrique de Moraes Holschuh hmh at debian.org
Wed Feb 16 09:43:09 UTC 2011


reassign 613618 ngetty
thanks

On Wed, 16 Feb 2011, NIIBE Yutaka wrote:
> I am using ngetty (1.1-2) which doesn't use /etc/inittab
> but invoked by /etc/init.d/ngetty.

I suggest you invoke the master ngetty from init, instead.

> Since ngetty works differently than traditional getty, we don't need
> entries in /etc/inittab; single ngetty process watches all ttys
> and login processes simultaneously, and it runs forever.

And nothing ressurects if should it die or get killed by mistake/OOM
killer/memory corruption.  That is not resilient.

> Perhaps, init assumes that it needs to watch some processes (such as
> getty) to be respawned.  But using ngetty, I don't have any such
> processes.

I think it is on the sysv init design, yes.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh





More information about the Pkg-sysvinit-devel mailing list