[Bug 262844] Not recorded in syslog unless local-unbound is restarted

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 26 Mar 2022 19:25:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262844

            Bug ID: 262844
           Summary: Not recorded in syslog unless local-unbound is
                    restarted
           Product: Base System
           Version: 12.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: vfx9as@gmail.com

-boot-
# sockstat |grep  unbound
unbound  local-unbo 38547 3  udp6   ::1:53                *:*
unbound  local-unbo 38547 4  tcp6   ::1:53                *:*
unbound  local-unbo 38547 5  udp4   127.0.0.1:53          *:*
unbound  local-unbo 38547 6  tcp4   127.0.0.1:53          *:*
unbound  local-unbo 38547 7  stream /var/run/local_unbound.ctl
unbound  local-unbo 38547 8  stream -> ??
unbound  local-unbo 38547 9  stream -> ??

# service local_unbound restart
Stopping local_unbound.
Starting local_unbound.
Waiting for nameserver to start... good

# sockstat | grep unbound
unbound  local-unbo 62979 3  udp6   ::1:53                *:*
unbound  local-unbo 62979 4  tcp6   ::1:53                *:*
unbound  local-unbo 62979 5  udp4   127.0.0.1:53          *:*
unbound  local-unbo 62979 6  tcp4   127.0.0.1:53          *:*
unbound  local-unbo 62979 7  stream /var/run/local_unbound.ctl
unbound  local-unbo 62979 8  dgram  -> /var/run/logpriv
unbound  local-unbo 62979 9  stream -> ??
unbound  local-unbo 62979 10 stream -> ??

/var/unbound/unbound.conf 
(generated by local-unbound-setup. Not edited.)
 server:
        username: unbound
        directory: /var/unbound
        chroot: /var/unbound
        pidfile: /var/run/local_unbound.pid
        auto-trust-anchor-file: /var/unbound/root.key

include: /var/unbound/lan-zones.conf
include: /var/unbound/control.conf

/var/log/console.log
 kernel: Starting local_unbound.
 kernel: Waiting for nameserver to start... good
 kernel: Updating /var/run/os-release done.
 kernel: Creating and/or trimming log files.
 kernel: Updating motd:.
 kernel: Starting syslogd.

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