From owner-freebsd-ports@FreeBSD.ORG Sat Dec 31 02:07:58 2005 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AC1F116A41F for ; Sat, 31 Dec 2005 02:07:58 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.12]) by mx1.FreeBSD.org (Postfix) with SMTP id D600043D53 for ; Sat, 31 Dec 2005 02:07:57 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 20034 invoked by uid 399); 31 Dec 2005 02:07:56 -0000 Received: from localhost (HELO ?192.168.1.101?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 31 Dec 2005 02:07:56 -0000 Message-ID: <43B5E7FB.5000606@FreeBSD.org> Date: Fri, 30 Dec 2005 18:07:55 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (Windows/20051025) MIME-Version: 1.0 To: "Timur I. Bakeyev" References: <002601c60667$271c6bd0$0102a8c0@bogomip> <43AB064A.3040706@FreeBSD.org> <20051222202437.GA24311@bledge.tmseck.homedns.org> <20051223033152.GB78138@com.bat.ru> In-Reply-To: <20051223033152.GB78138@com.bat.ru> X-Enigmail-Version: 0.93.1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Derkjan de Haan , Thomas-Martin Seck , freebsd-ports@FreeBSD.org Subject: Re: squid, samba startup scripts fail to run from base system rcorder X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Dec 2005 02:07:58 -0000 Timur I. Bakeyev wrote: > And Samba here :) > And this one :) Actually, we have new release, so if you guys can give me > hints how to fix rc script for Samba. Ok, thanks for asking. :) The first thing I would do is to separate this into 3 scripts, rather than trying to run things all in one. That will make it possible to do better ordering, and also fix the problem that many users are seeing where samba fails to start because something that ldconfig is supposed to do hasn't been done yet. As Brooks has said, generally anything local running as part of the system (and as root) should REQUIRE: DAEMON, and anything running as a user should REQUIRE: LOGIN. If you have compelling reasons why parts of samba need to run earlier than that, please strike up the conversation on freebsd-rc@freebsd.org. hth, Doug -- This .signature sanitized for your protection