#package #poky #yocto connman: Bug in connman causing endless write to file
"Dieterich, Peter-Simon" <[email protected]>
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <[email protected]> |
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/[email protected]/). 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 <[email protected]> --- 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.