From owner-freebsd-rc@FreeBSD.ORG Sun Oct 19 21:00:25 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9740885F for ; Sun, 19 Oct 2014 21:00:25 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6CFA6817 for ; Sun, 19 Oct 2014 21:00:25 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9JL0PkO009794 for ; Sun, 19 Oct 2014 21:00:25 GMT (envelope-from bugzilla-noreply@FreeBSD.org) Message-Id: <201410192100.s9JL0PkO009794@kenobi.freebsd.org> From: bugzilla-noreply@FreeBSD.org To: freebsd-rc@FreeBSD.org Subject: Problem reports for freebsd-rc@FreeBSD.org that need special attention X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 Date: Sun, 19 Oct 2014 21:00:25 +0000 Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2014 21:00:25 -0000 To view an individual PR, use: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=(Bug Id). The following is a listing of current problems submitted by FreeBSD users, which need special attention. These represent problem reports covering all versions including experimental development code and obsolete releases. Status | Bug Id | Description ----------------+-----------+------------------------------------------------- Patch Ready | 169047 | [rc.subr] [patch] /etc/rc.subr not checking som 1 problems total for which you should take action. From owner-freebsd-rc@FreeBSD.ORG Wed Oct 22 17:08:28 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 87BFB300; Wed, 22 Oct 2014 17:08:28 +0000 (UTC) Received: from zion.christianserving.org (zion.christianserving.org [66.128.242.154]) by mx1.freebsd.org (Postfix) with ESMTP id 5FFFB69D; Wed, 22 Oct 2014 17:08:27 +0000 (UTC) Received: from zion.christianserving.org (localhost.christianserving.org [127.0.0.1]) by zion.christianserving.org (Postfix) with ESMTP id 7020B22C1D3; Wed, 22 Oct 2014 12:02:38 -0500 (CDT) X-Virus-Scanned: amavisd-new at christianserving.org X-Spam-Flag: NO X-Spam-Score: -1.107 X-Spam-Level: X-Spam-Status: No, score=-1.107 tagged_above=-9999 required=6 tests=[BAYES_00=-1.9, RDNS_NONE=0.793] autolearn=no Received: from [192.168.2.27] (unknown [50.252.68.50]) by zion.christianserving.org (Postfix) with ESMTPSA; Wed, 22 Oct 2014 12:02:37 -0500 (CDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [CFT] multiple instance support in rc.d script From: Jim Riggs In-Reply-To: <20141017.102259.2303779237508789020.hrs@allbsd.org> Date: Wed, 22 Oct 2014 12:02:36 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <685F1351-19A9-47F8-8119-AD6FAE903B10@christianserving.org> References: <20141017.102259.2303779237508789020.hrs@allbsd.org> To: freebsd-rc@freebsd.org, hrs@FreeBSD.org X-Mailer: Apple Mail (2.1878.6) X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 17:08:28 -0000 On 16 Oct 2014, at 20:22, Hiroki Sato wrote: > I would like your feedback and testers of the attached patch. This > implements multiple instance support in rc.d scripts. You can try it > by replacing /etc/rc.subr with the attached one. I really like the idea, as I have written at least 2 or 3 ports in which = I have needed support for multiple "profiles" (as I have seen them = called in several ports). So, I had to duplicate the multiple-instance = logic in the rc script for each. This would save all of that = aggravation. The only concern I have with generalizing the approach in rc.subr, = though, is that not every app/daemon/script can or should support it. I = worry that some things if run multiple times may stomp on each other or = corrupt data or break something. It seems that there should be a way for = each rc script to either opt in or opt out of multiple instance support. = I don't know which is better. Opt-in is probably safer, but then core = devs and port maintainers have to make specific changes to support it. = :-\ Thoughts? From owner-freebsd-rc@FreeBSD.ORG Wed Oct 22 19:07:38 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E3BFDDE; Wed, 22 Oct 2014 19:07:38 +0000 (UTC) Received: from cargobay.net (cargobay.net [174.136.100.98]) by mx1.freebsd.org (Postfix) with ESMTP id 695EB3C4; Wed, 22 Oct 2014 19:07:37 +0000 (UTC) Received: from naruto.ccsys.com (unknown [65.35.132.177]) by cargobay.net (Postfix) with ESMTPSA id 950B5597; Wed, 22 Oct 2014 19:06:56 +0000 (UTC) Message-ID: <54480071.9040004@ccsys.com> Date: Wed, 22 Oct 2014 19:07:29 +0000 From: "Chad J. Milios" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Jim Riggs , freebsd-rc@freebsd.org, hrs@FreeBSD.org Subject: Re: [CFT] multiple instance support in rc.d script References: <20141017.102259.2303779237508789020.hrs@allbsd.org> <685F1351-19A9-47F8-8119-AD6FAE903B10@christianserving.org> In-Reply-To: <685F1351-19A9-47F8-8119-AD6FAE903B10@christianserving.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: freebsd-ports X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Oct 2014 19:07:38 -0000 On 10/22/14 17:02, Jim Riggs wrote: > On 16 Oct 2014, at 20:22, Hiroki Sato wrote: > >> I would like your feedback and testers of the attached patch. This >> implements multiple instance support in rc.d scripts. You can try it >> by replacing /etc/rc.subr with the attached one. > > > I really like the idea, as I have written at least 2 or 3 ports in which I have needed support for multiple "profiles" (as I have seen them called in several ports). So, I had to duplicate the multiple-instance logic in the rc script for each. This would save all of that aggravation. > > The only concern I have with generalizing the approach in rc.subr, though, is that not every app/daemon/script can or should support it. I worry that some things if run multiple times may stomp on each other or corrupt data or break something. It seems that there should be a way for each rc script to either opt in or opt out of multiple instance support. I don't know which is better. Opt-in is probably safer, but then core devs and port maintainers have to make specific changes to support it. :-\ > > Thoughts? Opt-in please From owner-freebsd-rc@FreeBSD.ORG Thu Oct 23 13:33:40 2014 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CDFF1C1C for ; Thu, 23 Oct 2014 13:33:40 +0000 (UTC) Received: from new1-smtp.messagingengine.com (new1-smtp.messagingengine.com [66.111.4.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F273794 for ; Thu, 23 Oct 2014 13:33:40 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by gateway2.nyi.internal (Postfix) with ESMTP id 34896132B for ; Thu, 23 Oct 2014 09:33:33 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute5.internal (MEProxy); Thu, 23 Oct 2014 09:33:33 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=eTpV4LQ9112vYTQPoztHxwYn Jyg=; b=JzT5wBwHRcRfjcjiF5oRpH1exabGJenv96RkYNeR2+sBA/3rEz9J/S7b WZ2n2BXPHMj5nBeH51yRDXtzGDKuA6AFYeVZZLCIKHZt8RqZQQKgECCnfg2ZHRDZ X3lnzpukd3UhQrZPMfh5WRrXMM839Odm+QSFcgbS79RkmWqHwPA= Received: by web3.nyi.internal (Postfix, from userid 99) id C915A10D74D; Thu, 23 Oct 2014 09:33:32 -0400 (EDT) Message-Id: <1414071212.176533.182439477.59A47812@webmail.messagingengine.com> X-Sasl-Enc: fmfBzIg41R4rjmTjPHSDZXRbXTBrxA5Wn5SAjb+j/9U9 1414071212 From: Mark Felder To: freebsd-rc@freebsd.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-c1967a3d In-Reply-To: <685F1351-19A9-47F8-8119-AD6FAE903B10@christianserving.org> References: <20141017.102259.2303779237508789020.hrs@allbsd.org> <685F1351-19A9-47F8-8119-AD6FAE903B10@christianserving.org> Subject: Re: [CFT] multiple instance support in rc.d script Date: Thu, 23 Oct 2014 08:33:32 -0500 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 13:33:40 -0000 On Wed, Oct 22, 2014, at 12:02, Jim Riggs wrote: > On 16 Oct 2014, at 20:22, Hiroki Sato wrote: > > > I would like your feedback and testers of the attached patch. This > > implements multiple instance support in rc.d scripts. You can try it > > by replacing /etc/rc.subr with the attached one. > > > I really like the idea, as I have written at least 2 or 3 ports in which > I have needed support for multiple "profiles" (as I have seen them called > in several ports). So, I had to duplicate the multiple-instance logic in > the rc script for each. This would save all of that aggravation. > > The only concern I have with generalizing the approach in rc.subr, > though, is that not every app/daemon/script can or should support it. I > worry that some things if run multiple times may stomp on each other or > corrupt data or break something. It seems that there should be a way for > each rc script to either opt in or opt out of multiple instance support. > I don't know which is better. Opt-in is probably safer, but then core > devs and port maintainers have to make specific changes to support it. > :-\ > > Thoughts? > I would definitely prefer opt-in. We don't want to break things or lose users' data; POLA. After the feature is available users can request support if the maintainers aren't already working on it. From owner-freebsd-rc@FreeBSD.ORG Sat Oct 25 20:23:47 2014 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C711AF39 for ; Sat, 25 Oct 2014 20:23:47 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE1A661D for ; Sat, 25 Oct 2014 20:23:47 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id s9PKNlLT078760 for ; Sat, 25 Oct 2014 20:23:47 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 165769] [rc][jai][ipv6] IPv6 Initialization on external iface is too slow for jail Date: Sat, 25 Oct 2014 20:23:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 9.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: swills@FreeBSD.org X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-rc@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2014 20:23:47 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=165769 Steve Wills changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |swills@FreeBSD.org --- Comment #4 from Steve Wills --- I've just run into this issue myself. I have a jail with two IPs, one ipv4 and one ipv6, and apache starts up in the jail. Apache is supposed to listed on both IPs but the v6 address isn't up before the apache rc script is called, so it fails. Adding a "sleep 1" to the top of the apache rc script works as a temporary work around, or adding "sleep 1" in rc.conf. Given netwait has "KEYWORD: nojail" now, I think Mark's comment that this should be worked around in the jail infrastructure is probably right. -- You are receiving this mail because: You are the assignee for the bug.