Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Apr 2009 10:04:28 +0100
From:      Gavin Atkinson <gavin@FreeBSD.org>
To:        "Daniel O'Connor" <doconnor@gsoft.com.au>
Cc:        freebsd-current@FreeBSD.org
Subject:   Re: Syslog doesn't start at boot
Message-ID:  <1240995868.93326.11.camel@buffy.york.ac.uk>
In-Reply-To: <200904291157.07441.doconnor@gsoft.com.au>
References:  <200904291157.07441.doconnor@gsoft.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2009-04-29 at 11:56 +0930, 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..

Odd.  What does "rcorder /etc/rc.d/*" show?

The rc.d REQUIRE lines should prevent this from happening: (this is on a
RELENG_7 system, but it should be similar on HEAD)

ga9@buffy% grep REQUIRE /etc/rc.d/syslogd
# REQUIRE: mountcritremote cleanvar newsyslog

ga9@buffy% grep REQUIRE /etc/rc.d/mountcritremote
# REQUIRE: NETWORKING FILESYSTEMS cleanvar ipsec

ga9@buffy% grep REQUIRE /etc/rc.d/NETWORKING
# REQUIRE: netif netoptions routing network_ipv6 isdnd ppp
# REQUIRE: routed mrouted route6d mroute6d resolv

(I believe it's netif that configures the network interfaces)

Gavin


> 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.
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1240995868.93326.11.camel>