syslogd starting earlier network scripts

Martin nakal at web.de
Tue Nov 18 15:38:23 PST 2008


Hi,

I have a weird situation here on 7-PRERELEASE since a longer time. When
I enable IPv6, syslogd tries to start before the network is being
initialised and I get the following output:


Mounting local file systems:.
hw.snd.default_unit: 0 -> 1
Setting hostname: zelda.local.
Creating and/or trimming log files:.
Starting syslogd.
Nov 18 16:01:27  syslogd: bind: Can't assign requested address
Nov 18 16:01:27  syslogd: bind: Can't assign requested address
syslogd: child pid 226 exited with return code 1
Checking for core dump on /dev/ad0s1b.eli...
savecore: error reading last dump header at offset 8589930496
in /dev/ad0s1b.eli : Invalid argument
savecore: no dumps found
Initial amd64 initialization:.
Additional ABI support: linux.
re0: link state changed to DOWN
re0: no link ....re0: link state changed to UP
 got link
re0: link state changed to DOWN
DHCPREQUEST on re0 to 255.255.255.255 port 67
re0: link state changed to UP
DHCPACK from 192.168.0.1
re0: link state changed to DOWN
re0: link state changed to UP
bound to 192.168.0.12 -- renewal in 180000 seconds.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        inet6 ::1 prefixlen 128
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet 127.0.0.1 netmask 0xff000000
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu
1500
options=389b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST ,WOL_MCAST,WOL_MAGIC>
        ether xxxxxxxxxxxxxx
        inet6 xxxxxxxxxxxxx%re0 prefixlen 64 scopeid 0x1
        inet 192.168.0.12 netmask 0xffffff00 broadcast 192.168.0.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active
Starting pflog.
pflog0: promiscuous mode enabled
Enabling pf.

[...]


At the moment, I'm using a workaround and start syslogd once again
in /etc/rc.local.


Here my rc.conf:
pf_enable="YES"
pflog_enable="YES"
pflog_logfile="/var/log/pflog"

hostname="xxxxxxxxxxxxxx"
defaultrouter="192.168.0.1"
ipv6_enable="YES"
ipv6_defaultrouter="xxxxxxxxxxxxxxxxx"
ipv6_ifconfig_re0="xxxxxxxxxxxxxxxxxx"
nfs_client_enable="YES"
ifconfig_re0="DHCP"
amd_enable="YES"
amd_flags="-d xxxxxxxxxx -a /.amd_mnt -l syslog /net /etc/amd.map"

keymap="german.iso"
keyrate="fast"
font8x14="iso15-8x14"
font8x16="iso15-8x16"
font8x8="iso15-8x8"

gdm_enable="YES"
hald_enable="YES"
cupsd_enable="YES"
dbus_enable="YES"
linux_enable="YES"
moused_ums0_enable="YES"
ntpd_enable="YES"
ntpd_config="/etc/ntp.conf"
polkitd_enable="YES"
smartd_enable="YES"
sshd_enable="YES"
hcsecd_enable="YES"
sdpd_enable="YES"

geli_devices="ad0s1g"
dumpdev="/dev/ad0s1b.eli"

bsdstats_enable="YES"


Is it a bug in the rc start script sequence or wrong configuration?

--
Martin


More information about the freebsd-stable mailing list