From owner-freebsd-questions@FreeBSD.ORG Fri Jul 3 00:29:39 2009 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 4EB551065670 for ; Fri, 3 Jul 2009 00:29:39 +0000 (UTC) (envelope-from danny@dannysplace.net) Received: from mail.dannysplace.net (mail.dannysplace.net [80.69.71.124]) by mx1.freebsd.org (Postfix) with ESMTP id 040B88FC15 for ; Fri, 3 Jul 2009 00:29:39 +0000 (UTC) (envelope-from danny@dannysplace.net) Received: from 60-242-243-193.static.tpgi.com.au ([60.242.243.193] helo=[192.168.10.10]) by mail.dannysplace.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1MMWBq-000MWX-Vb; Fri, 03 Jul 2009 09:59:44 +1000 Message-ID: <4A4D4A15.5020006@dannysplace.net> Date: Fri, 03 Jul 2009 10:00:21 +1000 From: Danny Carroll User-Agent: Thunderbird 2.0.0.22 (Windows/20090605) MIME-Version: 1.0 To: fbsd@dannysplace.net References: <4A4CC4F1.6080303@dannysplace.net> <20090702110159.8a175688.wmoran@potentialtech.com> <4A4D3ADA.50601@dannysplace.net> In-Reply-To: <4A4D3ADA.50601@dannysplace.net> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Authenticated-User: danny X-Authenticator: plain X-Sender-Verify: SUCCEEDED (sender exists & accepts mail) X-Exim-Version: 4.69 (build at 08-Jul-2008 08:59:40) X-Date: 2009-07-03 09:59:43 X-Connected-IP: 60.242.243.193:18614 X-Message-Linecount: 37 X-Body-Linecount: 23 X-Message-Size: 1618 X-Body-Size: 999 X-Received-Count: 1 X-Recipient-Count: 3 X-Local-Recipient-Count: 3 X-Local-Recipient-Defer-Count: 0 X-Local-Recipient-Fail-Count: 0 X-SA-Exim-Connect-IP: 60.242.243.193 X-SA-Exim-Rcpt-To: fbsd@dannysplace.net, wmoran@potentialtech.com, freebsd-questions@freebsd.org X-SA-Exim-Mail-From: danny@dannysplace.net X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ferrari.dannysplace.net X-Spam-Level: X-Spam-Status: No, score=0.2 required=8.0 tests=ALL_TRUSTED,AWL,TVD_RCVD_IP autolearn=disabled version=3.2.5 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail.dannysplace.net) Cc: Bill Moran , freebsd-questions@freebsd.org Subject: Re: Strange startup behaviour. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Jul 2009 00:29:39 -0000 Danny Carroll wrote: > That would surprise me. The thing that looked strange to me was that > there was a heap of files in /etc/rc.d/ that look like they had not been > accessed since the last shutdown of the machine. I think I figured out this behaviour. I believe that the access times are different because at boot time adjkerntz runs and sets the correct time (or rather zone) during boot. The times are 10 hours apart which is the difference between UTC and my time zone. It was a strange co-incidence that I rebooted my machine yesterday twice, the second time was almost 10 hours after the first which is why I was confused. Perhaps if the clock was set to UTC then this would not happen. It still does not explain why /etc/rc.d/natd does not start natd at boot. I also tried copying /etc/rc.d/natd to /usr/local/etc/rc.d in the thought that this was a chicken/egg problem and /usr/local/etc/rc.d scripts might run late enough to work. But I still need to restart natd manually. -D