[Bug 293758] syslogd refuses to start without IPv6
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 293758] syslogd refuses to start without IPv6"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 Mar 2026 21:03:01 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293758
--- Comment #3 from Peter Eriksson <pen@lysator.liu.se> ---
Looks like syslogd only tries to connect using the IPv6 address of
syslog.it.liu.se, and just fails when that doesn't work. Perhaps it should try
all addresses before exiting? :-)
# syslogd -Fd
new socket fd is 6
listening on socket
sending on socket
new socket fd is 7
listening on socket
sending on socket
Trying peer: /var/run/log
new socket fd is 8
listening on socket
sending on socket
Trying peer: /var/run/logpriv
new socket fd is 10
listening on socket
sending on socket
off & running....
init
cfline("*.err;kern.warning;auth.notice;mail.crit /dev/console",
f, "*", "*", "*")
cfline("*.notice;authpriv.none;kern.debug;lpr.info;mail.crit;news.err
/var/log/messages", f, "*", "*", "*")
cfline("security.* /var/log/security", f,
"*", "*", "*")
cfline("auth.info;authpriv.info /var/log/auth.log", f,
"*", "*", "*")
cfline("mail.info /var/log/maillog", f,
"*", "*", "*")
cfline("cron.* /var/log/cron", f, "*",
"*", "*")
cfline("*.=debug /var/log/debug.log", f,
"-devd", "*", "*")
cfline("*.emerg *", f, "-devd", "*",
"*")
cfline("daemon.info /var/log/daemon.log",
f, "-devd", "*", "*")
Trying to include files in '/etc/syslog.d'
reading /etc/syslog.d/liu.conf
cfline("*.notice @syslog.it.liu.se", f, "*", "*", "*")
syslogd: connect: No route to host
Failed to xfer configuration nvlist: Socket is not connected
logmsg: pri 53, flags 0, from balur00, msg Failed to xfer configuration nvlist:
Socket is not connected
Logging to CONSOLE /dev/console
/etc/rc.conf:
ifconfig_lagg0="inet 172.199.37.16 netmask 255.255.255.0 laggproto lacp
laggport ice0 laggport ice1 laggport ixl0 laggport ixl1 up"
# ifconfig lagg0
lagg0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0
mtu 1500
options=4e507bb<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,JUMBO_MTU,VLAN_HWCSUM,TSO4,TSO6,LRO,VLAN_HWFILTER,VLAN_HWTSO,RXCSUM_IPV6,TXCSUM_IPV6,HWSTATS,MEXTPG>
ether 50:7c:6f:8a:45:ae
hwaddr 00:00:00:00:00:00
inet 172.199.37.16 netmask 0xffffff00 broadcast 172.199.37.255
laggproto lacp lagghash l2,l3,l4
laggport: ixl0 flags=18<COLLECTING,DISTRIBUTING>
laggport: ixl1 flags=18<COLLECTING,DISTRIBUTING>
laggport: ice0 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
laggport: ice1 flags=1c<ACTIVE,COLLECTING,DISTRIBUTING>
groups: lagg
media: Ethernet autoselect
status: active
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
# ifconfig lo0
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
--
You are receiving this mail because:
You are the assignee for the bug.