From patchwork Tue Nov 26 12:59:14 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tremer X-Patchwork-Id: 2613 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 47MkWM4Yl3z420M for ; Tue, 26 Nov 2019 12:59:27 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 47MkWK4pGyz1ZN; Tue, 26 Nov 2019 12:59:25 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 47MkWK29d2z2y0t; Tue, 26 Nov 2019 12:59:25 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 47MkWJ1St8z2xq9 for ; Tue, 26 Nov 2019 12:59:24 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 47MkWH4Pmwz1ZN; Tue, 26 Nov 2019 12:59:23 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909ed25519; t=1574773163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IJhaIIfsKlGB+UL1kMDdmxwwiy3AeH/gBNRUPDzWzFY=; b=vvN5aCYfETwveNiAiPIFIdsP3S0JVME3j9IotlSQZYPRTrduoLxFSDMCR2tVLM3aF9jhn4 3fU5rh08N0MN9fAg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=201909rsa; t=1574773163; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=IJhaIIfsKlGB+UL1kMDdmxwwiy3AeH/gBNRUPDzWzFY=; b=HgNKIzT1NCpcz/ktFFjzT4kjNr8xYvckTpPuSLtQ8aEu5EvWD777qub/BewShMCt3yl5Hi /HsLVYEJ+UpQ7ZxDAiapAa/h1W/tuD5RbKkC5aEaqnnfGQCRL8SGklmjwOsP56a0Z2Dxql sCTv1Va3tkNCQT92OdVq7wSSL3t3W251zaT0tHnd00R3VOQzVrQzRzgtoZfQ1osPpoa0pP 8U3Fcl50hnxRvr7ssaFmOi6MN4JRlqSjF2dtEqrlVc2xWQ+d9lowzLxkBEEgVxLwwIbGpq X2QKfcOPbzr+U99tLjVQrCfx3JXdiLc79W+90i+Q4x0kr79WZdQ+uh+XhWwamA== From: Michael Tremer To: development@lists.ipfire.org Subject: [PATCH] unbound: Remove test to check if RED is up Date: Tue, 26 Nov 2019 12:59:14 +0000 Message-Id: <20191126125914.14435-1-michael.tremer@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Michael Tremer Errors-To: development-bounces@lists.ipfire.org Sender: "Development" This has caused some trouble in many environments and I think it makes sense to disable this for now until we have reworked the whole DNS thing. Signed-off-by: Michael Tremer --- src/initscripts/system/unbound | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/src/initscripts/system/unbound b/src/initscripts/system/unbound index 8eaf3734a..345b01bb5 100644 --- a/src/initscripts/system/unbound +++ b/src/initscripts/system/unbound @@ -48,22 +48,6 @@ read_name_servers() { done 2>/dev/null | xargs echo } -check_red_has_carrier_and_ip() { - # Interface configured ? - [ ! -e "/var/ipfire/red/iface" ] && return 0; - - # Interface present ? - [ ! -e "/sys/class/net/$( /dev/null 2>&1 if [ "${?}" != "0" ]; then boot_mesg "DNS still not functioning... Trying to sync time with ntp.ipfire.org (81.3.27.46)..."