From nobody Mon Apr 11 12:34:45 2022 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 9349D1A9D4C8 for ; Mon, 11 Apr 2022 12:34:46 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KcSwk0sZ7z4lfL for ; Mon, 11 Apr 2022 12:34:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 EECB022AED for ; Mon, 11 Apr 2022 12:34:45 +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 23BCYjsQ019820 for ; Mon, 11 Apr 2022 12:34:45 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23BCYjp9019819 for bugs@FreeBSD.org; Mon, 11 Apr 2022 12:34:45 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 262844] Not recorded in syslog unless local-unbound is restarted Date: Mon, 11 Apr 2022 12:34:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 12.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vfx9as@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649680486; 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: in-reply-to:in-reply-to:references:references; bh=teimm3mxIlmo8Yfp9szYyxE079BXMtkUIigBCqWBbf8=; b=Pd7YKt6SNMUEZORL5UwkP8YMJAXnry4cbXV2bramzyqzCNFzj9+AOlufPmTf39QJF2kf1s kxBrZqhRbSUZP7CX2zjM12LRJPFm/o/YfXGt57dQaNosZv6S/NMXvWucdGHJ1gA3Ke1cMR SWP/MRB3/age78qx/4EzWjvbDchyPwd7vkTK6v/sngERMM2JgyEI3AnRZBLdqSqCECvB0V /gVOVoDScPMv1zy7Kt2Ga8eV9es2UT1QFDg/6ao6lMu0juOmyC/ubjjkSRxWg9Wpb562Va nbgUfoQAHsYGFbaW7BE14F7MpXvBDHGa8d8qtoI3xRn39RTv7RrJACi6m28/2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649680486; a=rsa-sha256; cv=none; b=xTYV+QnW7rGxg7A7/pwZo7YanuyC/WOdxxw5FG7jtlrYd3cnR4Rs6FKP73w8GAcO9FcTDL 7WAtICyquQpgb/prSegS/b5l2Zxex6DsQHPzjiL33YiWy842CvfS/QzH3m8wmkCyGhEkvJ 8xVayjzEGdzDHaGLQQAMNd/3VhmlYWoGsn3OfzwPmb8KG4nl0inSlt72IkkPNOVhzGIUyp IZdDkSjb65Qt0kIC0dm/jAGvW7jb0uzDJFkVe/SsHrtgCQr+fgB4iBURpBQV9I91kKRvmu auySepzaBsDj3Cq+UpCycKxT6NPNBCROIhJkEk3eQdS4UMrDpJTipsVu6kwpGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262844 --- Comment #7 from vfx9as@gmail.com --- --- The following script could handle it -- /etc/rc.d/local_unbound_syslog -- #!/bin/sh # PROVIDE: local_unbound_syslog # REQUIRE: local_unbound syslogd . /etc/rc.subr name=3D"local_unbound_syslog" desc=3D"local_unbound to use syslog" start_cmd=3D"${name}_start" stop_cmd=3D":" load_rc_config "local_unbound" : ${local_unbound_enable:=3D"NO"} : ${local_unbound_workdir:=3D/var/unbound} : ${local_unbound_config:=3D${local_unbound_workdir}/unbound.conf} checkconf=3D"/usr/sbin/local-unbound-checkconf" local_unbound_syslog_start() { if checkyesno local_unbound_enable; then usesyslog=3D`${checkconf} -o use-syslog ${local_unbound_con= fig}` if checkyesno usesyslog; then echo local_unbound restarts to use syslog /usr/sbin/service local_unbound restart fi fi } run_rc_command "$1" --=20 You are receiving this mail because: You are the assignee for the bug.=