From owner-freebsd-rc@FreeBSD.ORG Mon Feb 13 19:10:24 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 4CDA216A420 for ; Mon, 13 Feb 2006 19:10:24 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx22.fluidhosting.com [204.14.89.5]) by mx1.FreeBSD.org (Postfix) with SMTP id AE1ED43D5C for ; Mon, 13 Feb 2006 19:10:23 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 91449 invoked by uid 399); 13 Feb 2006 19:10:22 -0000 Received: from localhost (HELO ?192.168.1.100?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 13 Feb 2006 19:10:22 -0000 Message-ID: <43F0D99D.4060405@FreeBSD.org> Date: Mon, 13 Feb 2006 11:10:21 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (X11/20060112) MIME-Version: 1.0 To: "Mars G. Miro" References: <28edec3c0602130130t35e1af55y63a5a8b90f1710e@mail.gmail.com> In-Reply-To: <28edec3c0602130130t35e1af55y63a5a8b90f1710e@mail.gmail.com> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org Subject: Re: 6.1-prerelease, /etc/rc.d/localpkg, rc.subr and samba3 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: Mon, 13 Feb 2006 19:10:24 -0000 Mars G. Miro wrote: > Hi there, > > Today I upgraded a 6.0Rp4 box to RELENG_6 w/c brings it to > 6.1-PRERELEASE. This box has a jail w/c has samba (samba-3.0.21a,1) > installed and after the usual build{world,kernel}, > install{kernel,world}, mergemaster process, I found out that samba > would not start during boot. I traced it to /etc/rc.d/localpkg. > Reverting this to the 6.0Rp4 version works. I'm no rc guru but seems > that 'find_local_scripts_{old|new}' in /etc/rc.subr doesnt actually > find the local_startup rc scripts? The samba boot script is a new style rc.d script, so it will be found by rc.subr, but won't be started unless you have samba_enable=yes in /etc/rc.conf.local (or rc.conf). Doug -- This .signature sanitized for your protection