Date: Tue, 22 May 2001 23:20:02 -0700 (PDT) From: Peter Pentchev <roam@orbitel.bg> To: freebsd-bugs@FreeBSD.org Subject: Re: conf/27418: There are *no* examples of using /etc/ttys inittab-like feature Message-ID: <200105230620.f4N6K2d18452@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR conf/27418; it has been noted by GNATS. From: Peter Pentchev <roam@orbitel.bg> To: Doug Barton <DougB@DougBarton.net> Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: conf/27418: There are *no* examples of using /etc/ttys inittab-like feature Date: Wed, 23 May 2001 09:17:08 +0300 On Tue, May 22, 2001 at 03:30:03PM -0700, Doug Barton wrote: > The following reply was made to PR conf/27418; it has been noted by GNATS. > > From: Doug Barton <DougB@DougBarton.net> > To: mwm@mired.org > Cc: FreeBSD-gnats-submit@FreeBSD.ORG > Subject: Re: conf/27418: There are *no* examples of using /etc/ttys inittab-like > feature > Date: Tue, 22 May 2001 15:20:09 -0700 > > mwm@mired.org wrote: > > > The init page mentions - in one paragraph - that /etc/ttys can be used to > > start a daemon, similar to the SysV /etc/inittab. This doesn't include an > > example, and there don't seem to be any such examples. > > I think that's because in practice it doesn't work well for daemons that > fork and put themselves in the background. getty doesn't do that, so init > holds it open continuously, and respawns a new copy if the one it's holding > open dies. In the case of a standard daemon, init will continuously restart > it since when init runs the command the copy it's trying to hold open > "disappears" each time. > > How would you feel about amending the man page to describe this problem > instead of adding an example to /etc/ttys? Isn't this the (standard, expected) behavior for init(8) when handling SysV-style /etc/inittab-started daemons? G'luck, Peter -- I am the meaning of this sentence. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105230620.f4N6K2d18452>