From owner-freebsd-stable Thu Nov 16 14: 3:54 2000 Delivered-To: freebsd-stable@freebsd.org Received: from mail.gmx.net (pop.gmx.net [194.221.183.20]) by hub.freebsd.org (Postfix) with SMTP id 1DE2337B479 for ; Thu, 16 Nov 2000 14:03:51 -0800 (PST) Received: (qmail 19885 invoked by uid 0); 16 Nov 2000 21:57:43 -0000 Received: from p3ee20a94.dip.t-dialin.net (HELO speedy.gsinet) (62.226.10.148) by mail.gmx.net (mail04) with SMTP; 16 Nov 2000 21:57:43 -0000 Received: (from sittig@localhost) by speedy.gsinet (8.8.8/8.8.8) id WAA05326; Thu, 16 Nov 2000 22:42:41 +0100 Date: Thu, 16 Nov 2000 22:42:41 +0100 From: Gerhard Sittig To: Jordan Hubbard Cc: stable@FreeBSD.ORG, jkh@FreeBSD.ORG, rwatson@FreeBSD.ORG Subject: Re: Running inetd in jail panics system Message-ID: <20001116224241.V27042@speedy.gsinet> Mail-Followup-To: Jordan Hubbard , stable@FreeBSD.ORG, jkh@FreeBSD.ORG, rwatson@FreeBSD.ORG References: <52971.974402736@winston.osd.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0i In-Reply-To: <52971.974402736@winston.osd.bsdi.com>; from jkh@winston.osd.bsdi.com on Thu, Nov 16, 2000 at 11:25:36AM -0800 Organization: System Defenestrators Inc. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Nov 16, 2000 at 11:25 -0800, Jordan Hubbard wrote: > > I cc'ed jkh and rwatson (sorry to do so, I don't like getting > > list messages multiple times myself -- but I feel the MFC is > > really needed!) for approval and verification that is a fix > > to an existing problem. > > I'm not sure I understand you. You're quoting a PR which > references a fix which is already in both -current and -stable. > Is there another diff from -current relative to -stable you > meant to cite instead? No, it's in -CURRENT *only* and not (yet) in -STABLE. See (I know, Q&D and inelegant, but who cares? and you surely can read it) the following: $ F=/usr/src/sys/kern/uipc_socket.c; head -150 $F | tail -16; echo; ident $F if (proto) prp = pffindproto(dom, proto, type); else prp = pffindtype(dom, type); if (p->p_prison && jail_socket_unixiproute_only && prp->pr_domain->dom_family != PF_LOCAL && prp->pr_domain->dom_family != PF_INET && prp->pr_domain->dom_family != PF_ROUTE) { return (EPROTONOSUPPORT); } if (prp == 0 || prp->pr_usrreqs->pru_attach == 0) return (EPROTONOSUPPORT); if (prp->pr_type != type) return (EPROTOTYPE); /usr/src/sys/kern/uipc_socket.c: $FreeBSD: src/sys/kern/uipc_socket.c,v 1.68.2.9 2000/10/29 19:25:38 rwatson Exp $ Applying the "diff -r1.73 -r1.74" (i.e. the -CURRENT fix as applied in June) to -STABLE does help against the panics (it's what I did in my local copy in another installation). It just hasn't happened in the FreeBSD repo as of when I last cvsupped: $ ls -ltr /usr/sup/src-all total 3960 -rw-r--r-- 1 root wheel 4041169 Nov 14 18:38 checkouts.cvs there wasn't one when I checked the cvsweb.cgi today and neither did I see an appropriate commit message on cvs-all. I assure you this bug is known to exist, has a fix in -CURRENT but is still open in -STABLE. virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message