From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UDAJDZrGB2JRYgAAgWs5BA (envelope-from ) for ; Sat, 12 Feb 2022 15:39:22 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AGDMBZrGB2KeYwEAG6o9tA (envelope-from ) for ; Sat, 12 Feb 2022 15:39:22 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B37A714535 for ; Sat, 12 Feb 2022 15:39:21 +0100 (CET) Received: from localhost ([::1]:43140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nItYW-0001Ue-8H for larch@yhetil.org; Sat, 12 Feb 2022 09:39:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37318) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nItYG-0001UU-6k for guix-patches@gnu.org; Sat, 12 Feb 2022 09:39:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:39922) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nItYE-0006vt-OA for guix-patches@gnu.org; Sat, 12 Feb 2022 09:39:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nItYE-0002PQ-D8 for guix-patches@gnu.org; Sat, 12 Feb 2022 09:39:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53959] [PATCH] installer: Continue even if Connman cannot phone home. Resent-From: Florian Pelz Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Feb 2022 14:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53959 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53959@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16446767349244 (code B ref -1); Sat, 12 Feb 2022 14:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Feb 2022 14:38:54 +0000 Received: from localhost ([127.0.0.1]:33819 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nItY6-0002P1-BR for submit@debbugs.gnu.org; Sat, 12 Feb 2022 09:38:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:50410) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nItY4-0002Ou-HK for submit@debbugs.gnu.org; Sat, 12 Feb 2022 09:38:52 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nItY3-0001U9-V4 for guix-patches@gnu.org; Sat, 12 Feb 2022 09:38:52 -0500 Received: from pelzflorian.de ([5.45.111.108]:45792 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nItY1-0006uI-IX for guix-patches@gnu.org; Sat, 12 Feb 2022 09:38:51 -0500 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 5156F360632 for ; Sat, 12 Feb 2022 15:38:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1644676726; bh=77ms4Nq9Rj+hWYtX1gW8KT3L20yeGLcib80YDsYglRg=; h=Date:From:To:Subject; b=DG5zvpQk8QZk5BZbgW10evqCt55JPkoF1mHxhwji8nVIsk1nsb00lMRTaDk3IiT6s YsGzkzH3Mtxe37Pn3U1BVkyO926Ij/Zwf/OPCVeWYE7MVpi3axmU6eLCrpG6idM8s+ 1j8wZXw2XbbAQ5PEqB5XYmtJBsx2YXm6vkeE5sXE= Date: Sat, 12 Feb 2022 15:38:32 +0100 From: Florian Pelz Message-ID: <20220212143832.emgl7r3mdqfljgpe@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=5.45.111.108; envelope-from=pelzflorian@pelzflorian.de; helo=mail.pelzflorian.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644676761; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=pcgfMYSqVORDXuf9hA1a95biSHWLess2j+APPKKitRo=; b=I+yvkUzuqpB12tn8B5a8R72Yl0W8mVSCcHW/Hfs3oSQ+pQUgz/vtU+Z94lBReX/YVG6c6q R5h91NHslHHInW5IOrg/4c6Ws94cTpTTpYkuM9ZTg1Mv2aIPqnqOOhO9ajQ2ssNzTV60QY J3CYuCA4ZkueiByyJY3Hp1SIkWk5/4scTHCpNKhzC3DIINdsh2WhOQCX1owChj+TgU/szg AUCn9pUj6o3tmbvVp4GE22AZpMbt096dMF4bvSwgBY8ab/+FfrV7n/HUfb+ayZzKQqIFXS N73fVyao0LHMxqHBGokWNnDD2kz1AF0NBsIaLRhLCYuUaiJ0geM/yXY5udamEQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644676761; a=rsa-sha256; cv=none; b=XeDR/BCy9xvyZkMPpe4jizzRJaTBkNLUc3U5q7r9tUBrjiTLh5q1io9P4Mxr6/bZsePLPe bGKZZheN0BbpzbfXz/ZEiHn+6Av6fVDTu89uo4Ddc0vOtXqU/G7CyjjUgFEDy8V0Wl+60p esOI2UKgGQb9XbxABq5yLQGAIe4Srx6lEUfSZ1vMLGuBn4F9Sun57fIMY7qMmpKhTTKXYw y+Lk22wVjwN54X9rEVh3gbHXHjQ6lt0+JTUuAbJSN+LbNfaYWKGi45fahbX6TwnmUrtH8S +jXeYQhcXHTOQTs1J+QpJ8DfW4hxuQS3IHE+YRdWF5X5Lw2qQqFb+cWjqHCQdg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=DG5zvpQk; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.63 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=pelzflorian.de header.s=mail header.b=DG5zvpQk; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B37A714535 X-Spam-Score: -2.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: ZBHvD9xt+K7i Connman's online check is unreliable for me. * gnu/installer/connman.scm (connman-online?): Accept if connman state is ready instead of online. --- gnu/installer/connman.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/installer/connman.scm b/gnu/installer/connman.scm index 2f33b58453..6095d99947 100644 --- a/gnu/installer/connman.scm +++ b/gnu/installer/connman.scm @@ -287,7 +287,7 @@ (define (connman-disconnect service) (define (connman-online?) (let ((state (connman-state))) - (eq? state 'online))) + (member state '(ready online)))) (define (connman-connect-with-auth service password-proc) "Connect to the given SERVICE with the password returned by calling base-commit: 5996aab354831d942b10253bc70217a4f2e6a247 -- 2.34.0