openvswitch: Turn off ssl integration by default
PATCH 1/1 openvswitch: Turn off ssl integration by default
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".
--- recipes-networking/openvswitch/openvswitch_git.bb | 1 + 1 file changed, 1 insertion(+)
recipes-networking/openvswitch/openvswitch_git.bb +1 -0
@@ -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.
Signature · 1 line
2.17.1
merged.
Bruce
Quoted 35 lines · Jason Wessel
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 <[email protected]>--- recipes-networking/openvswitch/openvswitch_git.bb | 1 + 1 file changed, 1 insertion(+)recipes-networking/openvswitch/openvswitch_git.bb +1
-1@@ -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
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"