From patchwork Fri May 21 13:40:38 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Peter_M=C3=BCller?= X-Patchwork-Id: 4351 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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Fmnmr0Gv7z3wbl for ; Fri, 21 May 2021 13:40:44 +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) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Fmnmq4BJqz1LK; Fri, 21 May 2021 13:40:43 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Fmnmq2p0Wz2xdK; Fri, 21 May 2021 13:40:43 +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) client-signature ECDSA (P-384)) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Fmnmp2f3qz2xd6 for ; Fri, 21 May 2021 13:40:42 +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)) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Fmnmm5tGYzsV for ; Fri, 21 May 2021 13:40:40 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1621604441; 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=ThvEjPy8eU9c0iGRFgN+VspSemDUTtFmhlLaXJSlkDA=; b=v8twCtojmR9kpqwAzsOKcIAqK/HJwDU+q/hR54rWcbyfDmqaSvpSF+nJdsxTAUz05m6Pck X1KkqTeUxiZnMBCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1621604441; 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=ThvEjPy8eU9c0iGRFgN+VspSemDUTtFmhlLaXJSlkDA=; b=v0mjH7El4ID0K4MvW+WDn9xIRs7o25H79WAheHGLsYFJzfDyDE07a41hv5EDhwrb7jTsIO 8fw1WvODsTOpANNUBh25CjTk6NR/hamAznmeZSH1o08Mx6MukJhfEle+7ThuPG9JeSwKfQ UezDxQj+mZkijW4Mwj1B5OJSdvmJW0JuTpVC1J69K6cy6V4pQCGiDozM+jwQREPAD9ISwi cLjmmHdQmDuTiJYi0mA/Q+wc92TuwFAtLLICw8zj2y1XYaOGB/42JrGDesNDP4jDO9c4Nn WMybcoVxgbKYEOF4TUbSGB2jqQx5ZEUK5ys6jKx6c/vZcaExetVTA1gyHqj8Ag== Subject: [PATCH 1/6] Core Update 157: Apply changed SSH configurations To: development@lists.ipfire.org References: <542b1005-b471-30bf-ead7-1c5dd93d457c@ipfire.org> From: =?utf-8?q?Peter_M=C3=BCller?= Message-ID: <429b9a37-26f3-5ec4-d82d-99cb4aaa27a7@ipfire.org> Date: Fri, 21 May 2021 15:40:38 +0200 MIME-Version: 1.0 In-Reply-To: <542b1005-b471-30bf-ead7-1c5dd93d457c@ipfire.org> Content-Language: en-US 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: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" This is necessary to fix SSH not starting after upgrading to Core Update 157 unless it's settings are manually written via the WebUI. Reported-by: Erik Kapfer Reported-by: Tom Rymes Signed-off-by: Peter Müller --- config/rootfiles/core/157/update.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/rootfiles/core/157/update.sh b/config/rootfiles/core/157/update.sh index ce7b6f5bf..a53aa0759 100644 --- a/config/rootfiles/core/157/update.sh +++ b/config/rootfiles/core/157/update.sh @@ -97,6 +97,9 @@ extract_files # update linker config ldconfig +# Apply local configuration to sshd_config +/usr/local/bin/sshctrl + # Update Language cache /usr/local/bin/update-lang-cache