From owner-freebsd-current@FreeBSD.ORG Wed Apr 29 04:24:58 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EEBC81065676 for ; Wed, 29 Apr 2009 04:24:58 +0000 (UTC) (envelope-from avahilario@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 7BE678FC27 for ; Wed, 29 Apr 2009 04:24:58 +0000 (UTC) (envelope-from avahilario@gmail.com) Received: by fk-out-0910.google.com with SMTP id f33so464609fkf.11 for ; Tue, 28 Apr 2009 21:24:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=3eJ75gzoPuL38Z2eRfu/xYtjDjSuugE6LABrR6OCa4E=; b=ksz8+bVBsUxR2n8zPMfwSk9BTWsEr+wS0ZtKW5wPrmnXhsLMN7vX0Zoo924tGkeA8I bysLY9aldoc6AkKvMXEbho1V1qZvvYBzFPN75eW1sMDI97wuaOrInkoalMrj/P0S1xYK X8LBU7IqR3kOJU02l/Jo55VQr269i8hCpAtCE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=xSXgzX3UhLDG3LL3jV+9LfMtUH39ehCIAIkPuAr3MBZkZDweeI9ai/DX7h0/XhRP05 AWXFZazqlS7PJ+RpEBsGH39llWlkQn9PMQDgcNpSDGnFXTD80oMSq1fEzUmaTKkA0XJD BlKM6VzAk4gejTbpyCU6Jod6NeVTMPeQiTwKg= Received: by 10.103.212.2 with SMTP id o2mr4257972muq.131.1240977854314; Tue, 28 Apr 2009 21:04:14 -0700 (PDT) Received: from emily.avltrees.strangled.net (acl1-931bts.gw.smartbro.net [125.60.241.182]) by mx.google.com with ESMTPS id s10sm1217354muh.57.2009.04.28.21.04.11 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 28 Apr 2009 21:04:13 -0700 (PDT) Message-ID: <49F7D17F.20604@gmail.com> Date: Wed, 29 Apr 2009 12:03:11 +0800 From: Antonio A Hilario User-Agent: Thunderbird 2.0.0.21 (X11/20090426) MIME-Version: 1.0 To: Daniel O'Connor References: <200904291157.07441.doconnor@gsoft.com.au> In-Reply-To: <200904291157.07441.doconnor@gsoft.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Syslog doesn't start at boot X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: avahilario@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2009 04:24:59 -0000 Daniel O'Connor wrote: > Hi, > I have an odd problem with my 3 week old -current install - syslogd > isn't started. Or rather, it is started before lo0 is up and it fails to > start, eg.. > > Apr 29 11:13:05 inchoate kernel: /dev/ad0s3a: FILE SYSTEM CLEAN; SKIPPING CHECKS > Apr 29 11:13:05 inchoate kernel: /dev/ad0s3a: clean, 381721 free (3297 frags, 47303 blocks, 0.7% fragmentation) > Apr 29 11:13:05 inchoate kernel: /dev/ufs/inchoatevar: FILE SYSTEM CLEAN; SKIPPING CHECKS > Apr 29 11:13:05 inchoate kernel: /dev/ufs/inchoatevar: clean, 417071 free (4815 frags, 51532 blocks, 1.0% fragmentation) > Apr 29 11:13:05 inchoate kernel: /dev/ufs/inchoateusr: DEFER FOR BACKGROUND CHECKING > Apr 29 11:13:05 inchoate kernel: Apr 29 20:42:48 syslogd: bind: Can't assign requested address > Apr 29 11:13:05 inchoate kernel: Apr 29 20:42:48 syslogd: bind: Can't assign requested address > Apr 29 11:13:05 inchoate kernel: syslogd: > Apr 29 11:13:05 inchoate kernel: child pid 285 exited with return code 1 > Apr 29 11:13:05 inchoate kernel: > Apr 29 11:13:05 inchoate kernel: /etc/rc: WARNING: failed to start syslogd > Apr 29 11:13:05 inchoate kernel: Additional ABI support: > Apr 29 11:13:05 inchoate kernel: linux > Apr 29 11:13:05 inchoate kernel: . > Apr 29 11:13:05 inchoate kernel: Starting wpa_supplicant. > Apr 29 11:13:05 inchoate kernel: Starting Network: lo0 bfe0. > Apr 29 11:13:05 inchoate kernel: add net ::ffff:0.0.0.0: gateway ::1 > > I put '/etc/rc.d/syslogd restart' in rc.local but that's only a work around. > > I ran mergemaster -s and it did find a few changes (worringly) but the > rc.d ones were just removing 'noprofile' from the keyword line which I don't > think would affect things. > > Noticed that your network interface is being brought up * after * the sysklogd startup script runs. I'd try to maybe move the 'syslog_enable="YES"' directive in /etc/rc.conf to some point after the ifconfig_*=* lines.