From nobody Fri Sep 22 17:49:41 2023 X-Original-To: ports-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 4Rsfsx15zHz4vBZ9 for ; Fri, 22 Sep 2023 17:49:41 +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 4Rsfsw70jqz4Xhl for ; Fri, 22 Sep 2023 17:49:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695404981; a=rsa-sha256; cv=none; b=vkkCgCCfFfHclboTWRoD91W7YNEUG1vG1OLq95+9PAeVuuyGLQ6pPpf2zxFRz6qAF28WvG iq/ThR+i5O5GhJutuKYzw37TNEHj+zLHnrDUrssbVKyAfkBqmw0kL1b8yhJmkrTeaxFo2f 5Hc+vxzzl5CwLu/Uwf0jZCGZoe2VpGhIs4zxK/5ar81UB+vRzTJ6551iCwtXQZ2UNhm4zh 9/yjterNwd0th9V6EjTLRfFlq/DEqIhcRKg2XPxFi5Nq3zwhmxMPkJA+SnVyv/LPf+Ocgb 79mgeIp6ugwiYFaHpkBclJokzQ6kLPv7++BoBsUEmOupDjajXj+EOG7epJ+olw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1695404981; 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=jOy6DCVSgGXdNNUWUezpckI0kzZ1Dg7BSDutnT8+PS8=; b=iDEakoizUn3H9W5ZL4cui4wtUnKRXkOQu8gzUECySGMegEa5mxDmhZ6EwxrtYXUKqjZZ9E QerQbAgcPv10GBm77EWHh09MxGpOLORITNDdFHEqYEvhoY8Y40eMg+bMaMesjX6A7VHxie gbtJ/xehsMPCatud459bvAY8PEYKgVeTIkvxp06Fl84DejdCi8408xw+zeUGMZDYfEhSPR 3IU22iJEeo0SoJShxyXNoEI4Sxpt3TSjp2myDEX8KFFjCm9uTdh5y8q59obZ+v+lANW4kx bAwJDe1AKv3WdkPHJaVjSKrjtXmxjtvojsY23PUMo6eaJGv3k1nkrx7JdziSeg== 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 4Rsfsw5hyLzWxY for ; Fri, 22 Sep 2023 17:49:40 +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 38MHneRN095992 for ; Fri, 22 Sep 2023 17:49:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38MHne2P095991 for ports-bugs@FreeBSD.org; Fri, 22 Sep 2023 17:49:40 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: ports-bugs@FreeBSD.org Subject: [Bug 274027] dns/void-zones-tools: Now kills unbound. Needs to be updated from upstream. Date: Fri, 22 Sep 2023 17:49:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bob@vesterman.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274027 --- Comment #1 from Robert William Vesterman --- For the benefit of anyone else who may run=20 into this problem, here's what I've done on my machine as a workaround until the port can be updated: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D (1) Deleted /usr/local/etc/void-zones-tools/mdl_void_hosts.txt, which is the problematic file that void-zones-tools retrieves from malwaredomainlist.com. The next time the update script is run, though, it would just recreate the file, so: (2) Copied the update script, /usr/local/bin/void-zones-update.sh, to /usr/local/bin/void-zones-update.bobmodtmp.sh. (3) Modified the new /usr/local/bin/void-zones-update.bobmodtmp.sh as follo= ws, getting rid of references to mdl_void_hosts.txt, so that the update script won't recreate the file: $ diff void-zones-update.sh void-zones-update.bobmodtmp.sh 64d63 < $FETCH -o "$ZONES_DIR/mdl_void_hosts.txt"=20=20=20=20=20 "http://www.malwaredomainlist.com/hostslist/hosts.txt" 83,86d81 < if [ ! -f "$ZONES_DIR/mdl_void_hosts.txt" ] ; then < echo "# No hosts from mdl." > "$ZONES_DIR/mdl_void_hosts.txt" < fi < 109d103 < "$ZONES_DIR/mdl_void_hosts.txt" \ $ (4) To get unbound to start up, modified /usr/local/etc/unbound.conf by commenting out the line that makes unbound pay attention to the void zones list: # include: /var/unbound/local-void.zones (5) Started up unbound. (6) Ran /usr/local/bin/void-zones-update.bobmodtmp.sh. (7) Backed out the change to /usr/local/etc/unbound.conf, so that it will go back to paying attention to the void zones list: include: /var/unbound/local-void.zones (8) Restarted unbound. (9) Changed my cron job that runs the void zones update script to run my new one instead: #37 07 * * * (/usr/local/bin/void-zones-update.sh; service unbound restart)= | mail -s "Void zones update" bob@vesterman.com 37 07 * * * (/usr/local/bin/void-zones-update.bobmodtmp.sh; service unbound restart) | mail -s "Void zones update (with bonus kludginess\!)" bob@vesterman.com =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D When the port is updated, you can just change your cron job back to use the normal /usr/local/bin/void-zones-update.sh script. At that point you could = also delete the modified one (/usr/local/bin/void-zones-update.bobmodtmp.sh), but doing so isn't really necessary. --=20 You are receiving this mail because: You are the assignee for the bug.=