From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/559 Path: main.gmane.org!not-for-mail From: Dan Melomedman Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: getty trouble Date: Fri, 20 Aug 2004 12:45:07 -0400 Message-ID: <20040820164507.GK30800@mail.devonit.com> References: <20040819173046.GE30800@mail.devonit.com> <20040820071950.11549.qmail@7e729926274f71.315fe32.mid.smarden.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1093020314 23237 80.91.224.253 (20 Aug 2004 16:45:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Aug 2004 16:45:14 +0000 (UTC) Original-X-From: supervision-return-797-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Aug 20 18:44:47 2004 Return-path: Original-Received: from antah.skarnet.org ([212.85.147.14]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1ByCVT-00086s-00 for ; Fri, 20 Aug 2004 18:44:47 +0200 Original-Received: (qmail 20451 invoked by uid 76); 20 Aug 2004 16:45:08 -0000 Mailing-List: contact supervision-help@list.skarnet.org; run by ezmlm List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Archive: Original-Received: (qmail 20445 invoked from network); 20 Aug 2004 16:45:08 -0000 Original-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20040820071950.11549.qmail@7e729926274f71.315fe32.mid.smarden.org> User-Agent: Mutt/1.4i Xref: main.gmane.org gmane.comp.sysutils.supervision.general:559 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:559 Gerrit Pape wrote: > On Thu, Aug 19, 2004 at 01:30:46PM -0400, Dan Melomedman wrote: > > Hello. Thanks for runit, I love it. > > > > 'getty' runs fine. 'mingetty' refuses to run though, because it gets > > EPERM on a tty open. Any ideas? mingetty used to run fine under SysV > > init. This is RH 6.2, with the old getty and mingetty. Thanks. > > Most probably it's because runsv doesn't automatically make a service > run script a process group leader. Some getties call setsid(2) on their > own, some doesn't. For those which doesn't, you can use chpst(8) to > change the process state. > > exec chpst -P mingetty ... > > Regards, Gerrit. Could you please document this fact on the installation page? This issue cost me a lot of time. Thanks. -- "You can't manage a process intended to produce beautiful things without knowing what beautiful is. American cars are ugly because American car companies are run by people with bad taste." -Paul Graham