From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/558 Path: main.gmane.org!not-for-mail From: Gerrit Pape Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: getty trouble Date: Fri, 20 Aug 2004 07:19:52 +0000 Message-ID: <20040820071950.11549.qmail@7e729926274f71.315fe32.mid.smarden.org> References: <20040819173046.GE30800@mail.devonit.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092986384 3614 80.91.224.253 (20 Aug 2004 07:19:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Aug 2004 07:19:44 +0000 (UTC) Original-X-From: supervision-return-796-gcsg-supervision=m.gmane.org@list.skarnet.org Fri Aug 20 09:19:35 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 1By3gV-0000W8-00 for ; Fri, 20 Aug 2004 09:19:35 +0200 Original-Received: (qmail 18035 invoked by uid 76); 20 Aug 2004 07:19:52 -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 18030 invoked from network); 20 Aug 2004 07:19:52 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20040819173046.GE30800@mail.devonit.com> Xref: main.gmane.org gmane.comp.sysutils.supervision.general:558 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:558 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.