[Bug 293758] syslogd refuses to start without IPv6

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 12 Mar 2026 13:15:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=293758

            Bug ID: 293758
           Summary: syslogd refuses to start without IPv6
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: pen@lysator.liu.se

syslogd refuses to start if no interface with IPv6 enabled.

# service syslogd start
Starting syslogd.
protect: option requires an argument -- p
usage: protect [-i] command
       protect [-cdi] -g pgrp | -p pid

# syslogd -s
# ps auxww|egrep syslogd
root     3632    0.0  0.0  14164  2668  1  S+   14:09     0:00.00 egrep syslogd


Workaround, force it to only use IPv4:

# sysrc syslogd_flags="-4s"
syslogd_flags: -s -> -4s

# service syslogd start
Starting syslogd.

# ps auxww|egrep syslogd
root     4275    0.1  0.0  14800  3556  -  SCs  14:14     0:00.00
/usr/sbin/syslogd -4s
root     4278    0.1  0.0  14800  3456  -  S    14:14     0:00.00 syslogd:
syslogd.casper (syslogd)
root     4279    0.1  0.0  14800  3380  -  Ss   14:14     0:00.00 syslogd:
system.net (syslogd)
root     4289    0.0  0.0  14164  2680  1  S+   14:14     0:00.00 egrep syslogd

-- 
You are receiving this mail because:
You are the assignee for the bug.