Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 02687C433F5 for ; Fri, 18 Feb 2022 00:12:11 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4K0Bvt0dNKz3cSM for ; Fri, 18 Feb 2022 11:12:10 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=codeconstruct.com.au (client-ip=203.29.241.158; helo=codeconstruct.com.au; envelope-from=jk@codeconstruct.com.au; receiver=) Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4K0BvR3R92z3bc5 for ; Fri, 18 Feb 2022 11:11:47 +1100 (AEDT) Received: from pecola.lan (unknown [159.196.93.152]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 0F8A720159; Fri, 18 Feb 2022 08:11:43 +0800 (AWST) Message-ID: Subject: Re: Checking for network online From: Jeremy Kerr To: Johnathan Mantey , OpenBMC Maillist Date: Fri, 18 Feb 2022 08:11:43 +0800 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.42.3-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-BeenThere: openbmc@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development list for OpenBMC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openbmc-bounces+openbmc=archiver.kernel.org@lists.ozlabs.org Sender: "openbmc" Hi Johnathan, > Issue: systemd-networkd-wait-online.service stalls for 120 seconds > when the managed NICs do not have a network connection. > > TLDR: Should OpenBMC remove systemd-networkd-wait-online.service > universally? Probably not, it's required to implement network-online,target, which is standard, and may be referred to by arbitrary packages. There's some good background on the issues you're experiencing here: https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ in short: most services should be able to start before network- online.target, and be able to adapt to changes in network configuration after that point. For your specific issue there: > Issues: This service blocks entry to multi-user.target. > phosphor-state-manager uses multi-user.target to report the BMC is > ready to use. > This is reported via IPMI Get Device ID. That sounds like more of an issue of whether that reported state actually represents the expected BMC state... Regards, Jeremy