Date: Wed, 13 Nov 2024 23:05:03 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282741] local_unbound not responding to SIGTERM Message-ID: <bug-282741-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282741 Bug ID: 282741 Summary: local_unbound not responding to SIGTERM Product: Base System Version: 14.2-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: northboot@mailbox.org On my machine, local_unbound does not respond to SIGTERM, causing the rc sc= ript to fail when using the "stop" action. This is the system I'm using: # uname -a FreeBSD [...] 14.2-STABLE-HBSD FreeBSD 14.2-STABLE-HBSD HARDENEDBSD-14-STA= BLE amd64 This is the config file I'm using: # cat /var/unbound/unbound.conf server: username: unbound directory: /var/unbound chroot: /var/unbound pidfile: /var/run/local_unbound.pid do-ip4: yes do-ip6: no do-tcp: yes do-udp: yes interface: 127.0.0.1 port: 53 use-syslog: yes verbosity: 0 log-queries: no log-replies: no log-local-actions: no log-servfail: no extended-statistics: no hide-identity: yes hide-version: yes harden-glue: yes harden-dnssec-stripped: yes harden-below-nxdomain: yes harden-algo-downgrade: yes harden-short-bufsize: yes harden-large-queries: yes qname-minimisation: yes qname-minimisation-strict: yes minimal-responses: yes use-caps-for-id: yes val-clean-additional: yes aggressive-nsec: yes rrset-roundrobin: yes cache-min-ttl: 0 cache-max-ttl: 86400 infra-host-ttl: 20 msg-cache-size: 5m rrset-cache-size: 10m prefetch: no private-address: 127.0.0.0/8 access-control: 127.0.0.1/32 allow tls-cert-bundle: "/usr/local/share/certs/ca-root-nss.crt" auto-trust-anchor-file: "/var/unbound/root.key" remote-control: control-enable: yes control-interface: "/var/run/local_unbound.ctl" control-use-cert: no forward-zone: name: "." forward-tls-upstream: yes forward-addr: [...] Now try stopping local_unbound: # kill -TERM $(cat /var/run/local_unbound.pid) (does not stop) On the other hand, stopping local_unbound with the control interface does indeed work: # local-unbound-control stop (does stop) I've also tried setting verbosity to 4, but it does not output any log on receiving SIGTERM. Can anyone reproduce the bug or see the issue here? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282741-227>