From owner-freebsd-stable@FreeBSD.ORG Wed Mar 22 04:28:48 2006 Return-Path: X-Original-To: stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8A90316A400; Wed, 22 Mar 2006 04:28:48 +0000 (UTC) (envelope-from sobomax@FreeBSD.org) Received: from sippysoft.com (gk.360sip.com [72.236.70.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 20B5143D48; Wed, 22 Mar 2006 04:28:48 +0000 (GMT) (envelope-from sobomax@FreeBSD.org) Received: from [192.168.1.46] ([204.244.149.125]) (authenticated bits=0) by sippysoft.com (8.13.4/8.13.4) with ESMTP id k2M4fcMF004784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 21 Mar 2006 20:41:40 -0800 (PST) (envelope-from sobomax@FreeBSD.org) Message-ID: <4420D279.2090405@FreeBSD.org> Date: Tue, 21 Mar 2006 20:28:41 -0800 From: Maxim Sobolev User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: stable@FreeBSD.org References: <4420D14C.4020503@FreeBSD.org> In-Reply-To: <4420D14C.4020503@FreeBSD.org> Content-Type: text/plain; charset=KOI8-U; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, re@FreeBSD.org, portmgr@FreeBSD.org Subject: Re: Switch to using rc.d for local packages is premature for RELENG_6 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Mar 2006 04:28:48 -0000 I have just realized that maybe the best approach to address this problem would be not reverting the change in question, but making find_local_scripts_new() more strict, so that only those local rc.d scripts that have been explicitly marked by maintainer as fully rc.d-safe are handled in a new way. Checking for '^# PROVIDE:' doesn't really work reliably. -Maxim Maxim Sobolev wrote: > Hi guys, > > As part of testing how well some of our products work with latest > RELENG_6, I have make a new build and found that lot of important > services (for example PostgreSQL, Apache) doesn't start up (despite > having respective xxx_enable entries in /etc/rc.conf) when installed > from the freshly updated ports tree onto a clean, freshly updated > RELENG_6 system. This is very bad, considering how close to release are > we and how much FreeBSD users rely on those services to work OOB. > > I would expect them to be really pissed off when lot of important > services just don't work after upgrading their server from 6.0 to 6.1 or > after installing it from install cd. This is apparently caused by the > fact that lot of rc.d scripts in /usr/local/etc/rc.d are newstyle one > now (sufficiently newstyle to pass find_local_scripts_new check), but > few of them were actually tested to work correctly in fully rc.d > environment. > > Therefore, I think that the RELENG_6 should be reverted to using old > stuff and it should be left for 7.x tree. > > Regards, > > Maxim >