From patchwork Mon Jan 13 13:06:57 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Dieterich, Peter-Simon" X-Patchwork-Id: 55422 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 aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9DDA7C02180 for ; Mon, 13 Jan 2025 13:07:06 +0000 (UTC) Subject: #package #poky #yocto connman: Bug in connman causing endless write to file To: poky@lists.yoctoproject.org From: "Dieterich, Peter-Simon" X-Originating-Location: =?utf-8?q?Kippenheim=2C_Baden-W=C3=BCrttemberg=2C_DE?= (79.199.250.188) X-Originating-Platform: Linux Firefox 134 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Mon, 13 Jan 2025 05:06:57 -0800 Message-ID: List-Id: X-Webhook-Received: from li982-79.members.linode.com [45.33.32.79] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Mon, 13 Jan 2025 13:07:06 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/poky/message/13502 Dear maintainers of poky, we found a bug in connman (https://lore.kernel.org/connman/AM0PR09MB4500BF2A13FBACE6E7046E23881F2@AM0PR09MB4500.eurprd09.prod.outlook.com/) that can cause high-cpu load and an endless write to a file in /var/lib/connman/ on systems that have been updated from a yocto version with 32-bit time_t to yocto versions that have 64-bit time_t support enabled (https://patchwork.yoctoproject.org/project/oe-core/patch/20230426095036.2632847-9-alex@linutronix.de/). In our case, we went from Dunfell to Scarthgap. Our solution was to disable the stats module. We think it would be best to have the stats module disabled by default as it is a functionality that most users won't need. Should I send the patch in a separate message? Best, Peter Signed-off-by: Peter-Simon Dieterich --- meta/recipes-connectivity/connman/connman.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc index 073061eeda..45f1621088 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc @@ -28,6 +28,7 @@ EXTRA_OECONF += "\ --enable-tools \ --disable-polkit \ --runstatedir=/run \ +    --disable-stats \ " # For smooth operation it would be best to start only one wireless daemon at a time. # If wpa-supplicant is running, connman will use it preferentially.