From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.sysutils.supervision.general/204 Path: main.gmane.org!not-for-mail From: Lukas Beeler Newsgroups: gmane.comp.sysutils.supervision.general Subject: Re: some getties require setsid() Date: Mon, 21 Jul 2003 12:13:10 +0200 Message-ID: <20030721101310.GX26132@may.projectdream.org> References: <20030717140019.57d767fd.hleil@yahoo.com.cn> <20030717162649.74911.qmail@web14401.mail.yahoo.com> <20030718102058.11278.qmail@h14f7d.mid.smarden.org> <20030718162724.GO26132@may.projectdream.org> <20030721100155.26473.qmail@h14f7d.mid.smarden.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: main.gmane.org 1058782472 18168 80.91.224.249 (21 Jul 2003 10:14:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Jul 2003 10:14:32 +0000 (UTC) Original-X-From: supervision-return-442-gcsg-supervision=m.gmane.org@list.skarnet.org Mon Jul 21 12:14:28 2003 Return-path: Original-Received: from antah.skarnet.org ([212.43.221.114]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 19eXdu-0004aj-00 for ; Mon, 21 Jul 2003 12:11:42 +0200 Original-Received: (qmail 24866 invoked by uid 76); 21 Jul 2003 10:13:12 -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 24860 invoked from network); 21 Jul 2003 10:13:12 -0000 Original-To: supervision@list.skarnet.org Mail-Followup-To: supervision@list.skarnet.org Content-Disposition: inline In-Reply-To: <20030721100155.26473.qmail@h14f7d.mid.smarden.org> X-Operating-System: CRUX+sw-ports and NetBSD X-URL: X-GPG-Fingerprint: DE6F 8806 ACFA 861C AF26 F2FD D4B8 8C79 FDF4 C1B0 X-GPG-KeyID: 0xFDF4C1B0 User-Agent: Mutt/1.5.4i Xref: main.gmane.org gmane.comp.sysutils.supervision.general:204 X-Report-Spam: http://spam.gmane.org/gmane.comp.sysutils.supervision.general:204 * Gerrit Pape : > Thanks for the info. Is this specific to these getty implementations, > or specific to an OS or Linux distribution? agetty (util-linux) does the setsid() by itself, apparently all getty's need to be session leader to work. mingetty/fgetty (same codebase) require somebody else do to the setsid call for them. mingetty is widely used on linux distributions, all *BSD systems ship with their own gettys. It looks like NetBSD's /usr/libexec/getty does not use setsid. However, iam not sure about this, because iam not really familiar with NetBSD's ktruss, and how getty invocation works on NetBSD. > Do you know about the reason why these getties require this? Not really. -- Today is the first day of the rest of our lives. http://www.suug.ch