From owner-freebsd-rc@FreeBSD.ORG Tue Apr 4 22:44:12 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4761516A41F for ; Tue, 4 Apr 2006 22:44:12 +0000 (UTC) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (corp.grupos.com.br [200.193.29.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id A124043D46 for ; Tue, 4 Apr 2006 22:44:11 +0000 (GMT) (envelope-from mnag@FreeBSD.org) Received: from corp.grupos.com.br (localhost [127.0.0.1]) by corp.grupos.com.br (Postfix) with ESMTP id A56BF5583; Tue, 4 Apr 2006 19:44:09 -0300 (BRT) Received: from [192.168.10.10] (marcus.grupos.com.br [192.168.10.10]) by corp.grupos.com.br (Postfix) with ESMTP id 5AE235570; Tue, 4 Apr 2006 19:44:09 -0300 (BRT) Message-ID: <4432F6B8.7070205@FreeBSD.org> Date: Tue, 04 Apr 2006 19:44:08 -0300 From: Marcus Alves Grando Organization: FreeBSD.org User-Agent: Thunderbird 1.5 (X11/20060114) MIME-Version: 1.0 To: Florent Thoumie References: <4432CC3D.5070501@FreeBSD.org> <20060404202354.GA2798@odin.ac.hmc.edu> <72A3202F-7561-47CE-8E30-F43CC3B7C17E@xbsd.org> In-Reply-To: <72A3202F-7561-47CE-8E30-F43CC3B7C17E@xbsd.org> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Filtered: By ProxSMTP using Clamav and Bogofilter Cc: freebsd-rc@freebsd.org, Kris Kennaway Subject: Re: compat{4,5}x X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 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: Tue, 04 Apr 2006 22:44:12 -0000 Well... New patch using misc/ldconfig_compat http://marcus.grupos.com.br:8080/patch/compat5x.patch Not tested yet. Regards Florent Thoumie wrote: > On Apr 4, 2006, at 9:23 PM, Brooks Davis wrote: > >> On Tue, Apr 04, 2006 at 04:42:53PM -0300, Marcus Alves Grando wrote: >>> Hi list, >>> >>> Please look my message to portmgr@ about compat{4,5}x ports. >>> >>> -------- Original Message -------- >>> Subject: Re: compat5x >>> Date: Tue, 4 Apr 2006 14:35:43 -0400 >>> From: Kris Kennaway >>> To: Marcus Alves Grando >>> CC: portmgr@FreeBSD.org >>> References: <44317910.7060809@FreeBSD.org> >>> >>> On Mon, Apr 03, 2006 at 04:35:44PM -0300, Marcus Alves Grando wrote: >>>> Portmgr's >>>> >>>> After migrate two servers from 5.x to 6.x, i produce this patch [1]. >>>> This patch fix rcorder to start compat5x before programs compiled in >>>> 5.x. Another point is turn "YES" by default in compat5x. I think if >>>> user >>>> install compat5x that's because he's need. >>>> >>>> Another option is use misc/ldconfig_compat in compat5x. >>>> >>>> What portmgr's thinking about this changes? >>> >>> I agree that compatNx ports should be enabled automatically. I don't >>> know about rcorder issues; please discuss them with the freebsd-rc >>> list. >> >> misc/ldconfig_compat should be used. These sorts of scripts should just >> die for a number of reasons including the fact that rc.d scripts aren't >> supposted to start by default. > > Agreed, I've submitted a patch for bsd.port.mk to integrate > bsd.ldconfig.mk, I hope it'll be integrated soon. In the meantime, it's > still possible to use bsd.ldconfig.mk directly. > > As for not starting services by default, I've had something in mind for > quite some time now. > > I'd like to have all ${name}_enable="YES" in one specific file (say > /etc/rc.conf.local, but I guess people are already using it), default > specific configuration for ${name} in > ${prefix}/etc/rc.conf.d/${name}.defaults and user specific configuration > in ${prefix}/etc/rc.conf.d/${name}. That way everything could be > automated. The port could install ${name}.defaults no matter what, a > ${name}_enable="YES" could be added automatically if something like > AUTO_ENABLE_RC_SCRIPT is defined (and removed automatically too). > > Kris, any chance we have this ports.conf patch and UID/GID files > committed once src/doc trees are tagged? > > --Florent Thoumie > flz@FreeBSD.org > FreeBSD Committer > > -- Marcus Alves Grando marcus(at)corp.grupos.com.br | Grupos Internet S/A mnag(at)FreeBSD.org | FreeBSD.org