Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 07BEDE00A85; Wed, 5 Sep 2018 15:44:48 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/, * medium trust * [192.103.53.11 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mail5.wrs.com (mail5.windriver.com [192.103.53.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 7E9F3E00A54 for ; Wed, 5 Sep 2018 15:44:47 -0700 (PDT) Received: from ALA-HCB.corp.ad.wrs.com (ala-hcb.corp.ad.wrs.com [147.11.189.41]) by mail5.wrs.com (8.15.2/8.15.2) with ESMTPS id w85MikmU026587 (version=TLSv1 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 5 Sep 2018 15:44:46 -0700 Received: from ala-lpggp2.wrs.com (147.11.105.123) by ALA-HCB.corp.ad.wrs.com (147.11.189.41) with Microsoft SMTP Server id 14.3.408.0; Wed, 5 Sep 2018 15:44:45 -0700 From: Jason Wessel To: Date: Wed, 5 Sep 2018 15:44:45 -0700 Message-ID: <20180905224445.63319-1-jason.wessel@windriver.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Subject: [PATCH] openvswitch: Turn off ssl integration by default X-BeenThere: meta-virtualization@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Discussion of layer enabling hypervisor, virtualization tool stack, and cloud support" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Sep 2018 22:44:48 -0000 Content-Type: text/plain The openssl library is an optional component for the openvswitch. The problem with it enabled by default is that it will consume system entropy to try to initialize the openssl library even though we are not using it by default. With the 4.16 kernel and up there is not always enough entropy available at the early boot time which can cause a lengthy stall, while waiting to initialize the openvswitch. If ssl is needed, it can of course be turned on with the package config option "ssl". Signed-off-by: Jason Wessel --- recipes-networking/openvswitch/openvswitch_git.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes-networking/openvswitch/openvswitch_git.bb b/recipes-networking/openvswitch/openvswitch_git.bb index 4a6002a..4cd82d7 100644 --- a/recipes-networking/openvswitch/openvswitch_git.bb +++ b/recipes-networking/openvswitch/openvswitch_git.bb @@ -40,6 +40,7 @@ DPDK_INSTALL_DIR ?= "/opt/dpdk" PACKAGECONFIG ?= "libcap-ng" PACKAGECONFIG[dpdk] = "--with-dpdk=${STAGING_DIR_TARGET}${DPDK_INSTALL_DIR}/share/${TARGET_ARCH}-native-linuxapp-gcc,,dpdk,dpdk" PACKAGECONFIG[libcap-ng] = "--enable-libcapng,--disable-libcapng,libcap-ng," +PACKAGECONFIG[ssl] = ",--disable-ssl,openssl," # Don't compile kernel modules by default since it heavily depends on # kernel version. Use the in-kernel module for now. -- 2.17.1