From nobody Wed Nov 13 23:05:03 2024 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Xpf4w10ySz5cjD4 for ; Wed, 13 Nov 2024 23:05:04 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xpf4v5r6Bz4f0K for ; Wed, 13 Nov 2024 23:05:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731539103; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=cF74zLL9DYmZOKjoH/4vvDWBWQxn7C10hS/m63OJmtg=; b=Odkiz8nYue26ZbxMtSo8N8LlspfbThKqVzhjarlCRWZkYIGCjMvbPPgScIeSg7mmaieJLW Bt4T57X0fWPQncoQSzOzxP25uAXTSHjhz1ecMkFJeUvmvFOiFLVqj4BqSD6eBdIcqYF8Lc z3+oCwUJhPUwzy+ERBX4Xfu473j9muUNNXajpdt+xMNZVXhrKS6qJI1COn3kZa2qn9NL9x V9lmmJz7nqwEo5vCLZrVLfTIN+Di4r3D0ARcbLJhmdCvavj8tKe99O4umq4+yXVk6EugKW tQ2tLqesQSmDzlEkKgMl/b+YEgJoitERoBioaPS+kK7XM81wE1/3HDCej2NhPw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731539103; a=rsa-sha256; cv=none; b=RGF/XNIfmr6Nob/E/PC9wFclOZI7B1QaVaVFkRc3ZKKH51iArB7FNyU01UtobS4Zs5JqFK toau9oRW2wv6PN7mlHhme0GNjjzMAPcizM8aAOtxS3op5NgYAKH0fA1k6+8KqDvCohVOfT /eQqrpAHqTtmrP7v4+ire5CXcO/YayCsVMAsyU8HpgvcuJjFdXomAeDLvXCJ+KXNLrkZYs zi+b/sQf0Ew8OlwySlSCC//QEdvjNkGGh/lHPajNCeTNG8e84Qb3iGD8b8nCDFOvavWnnK BcJJB0wXLDEy/DRw/JOHTJSEgV11hkmq6H5ormYG3VqEqbh/jtCBoDqOen3+/A== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Xpf4v5GsbzDsq for ; Wed, 13 Nov 2024 23:05:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4ADN53d6012833 for ; Wed, 13 Nov 2024 23:05:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4ADN53Bo012832 for bugs@FreeBSD.org; Wed, 13 Nov 2024 23:05:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282741] local_unbound not responding to SIGTERM Date: Wed, 13 Nov 2024 23:05:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: northboot@mailbox.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 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.=