From owner-freebsd-questions@FreeBSD.ORG Wed Jun 20 09:25:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3BCD106568F for ; Wed, 20 Jun 2012 09:25:30 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8D3758FC1A for ; Wed, 20 Jun 2012 09:25:30 +0000 (UTC) Received: by ghbz22 with SMTP id z22so6303118ghb.13 for ; Wed, 20 Jun 2012 02:25:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=9QP9xwyKgblgV4p+eyieac01IIuSA0NnxCD8DGgAWFA=; b=BbICkKigM9HoUN3yp7+2nXJsJxtN6XIE6Lh7LoILig2kgIaUma/+pHqsvgqeZxZVlw DgAc6sslOrSlg7ZjSt/seraUW/lS/WivlqTD/EjvjVApCwtzKEDWl6HKRsWgR3O5+yjk TPS3GWPhzrKehtxnZmu/si5p3nmQu4XULH88U= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=9QP9xwyKgblgV4p+eyieac01IIuSA0NnxCD8DGgAWFA=; b=SeaiTn3cpIff0RrAFbNbGsdh+1XwFION6LNgsFSHZrlx0iCoZsMVts9rEBxit0gOyb oFZ7QF29u7jHea+Pb8JyxfbRJrNDUscgzPLuWxhzEOZODa+bsjhGrnkyYn9gN5M9K/lh UcCwdv6vqGX6VpQNm+RJ8oxXy294ZZix9q442giUTzQo5XsFAaBAWY68o1htRQuCPwAM zd2aETTG1D2QoZooQfO6K58PhTgeOx0Ag4jCjHsBsW2G2rq5gmPyUxcDjrw1WuU9tN56 vHb2pJdnTUYPFP1OQ6OmLb6cMCzEhjAOVsLYpmvfxVTJ3RPyDNvx7o07OhafYGmOrYw3 BFDw== Received: by 10.236.155.6 with SMTP id i6mr27023461yhk.11.1340184330152; Wed, 20 Jun 2012 02:25:30 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id m43sm91553503yhi.13.2012.06.20.02.25.28 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 20 Jun 2012 02:25:29 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3WHLHW2fwyz2CG4F for ; Wed, 20 Jun 2012 05:25:27 -0400 (EDT) Date: Wed, 20 Jun 2012 05:25:26 -0400 From: Jerry To: FreeBSD Message-ID: <20120620052526.08c1a5b1@scorpio> In-Reply-To: References: <4FE18D93.4060809@FreeBSD.org> Organization: seibercom.net X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQm4QmxCNSxtwMrwi6+AEQwLdn+hwRkesvzNP2H+nxrcKM0E5fOYGSJeo5YZTH6RrLeCjRje Subject: Re: seems i cannot fully understand {/,/usr/local/}/etc/rc.d/* X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jun 2012 09:25:31 -0000 On Wed, 20 Jun 2012 10:51:04 +0200 (CEST) Wojciech Puchar articulated: > > Create a new file in /usr/local/etc/rc.d/precedence with the > > following contents: > > > > #!/bin/sh > > # > > # Persuade vboxheadless to start before samba. > > > > # PROVIDE: precedence > > # REQUIRE: vboxheadless > > # BEFORE: samba > > > > : > > > > Make it executable. Note -- the ':' does seem to be necessary. > > > thank you for help. I will test it when being on place and could > reboot. > > But still - do you know why it is necessary? > > cannot i just add BEFORE: samba in vboxheadless? I had a similar problem about two years ago. One program required program "X" to load prior to it while program "Y" wanted to load it after it. It was causing a conflict. It is slightly difficult to explain in a few words. I had to manually check every file in the /usr/local/etc/rc.d directory to straighten it out. I believe that there is a way to have all of that information displayed without going through that much intervention; however, I do not remember how to do it at the moment. Anyway, in the "samba" file, it has this notation: # PROVIDE: nmbd smbd I don't know if that makes any difference or not. I have never had to move the starting order of samba around. I do know that in other applications, they appear to have their name in the "PROVIDE" line. For example, from the Postfix script: # PROVIDE: postfix mail -- Jerry ♔ Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________