> -----Original Message----- > From: [email protected] > <[email protected]> On Behalf Of Ashish Kumar Mishra > via lists.openembedded.org > Sent: den 10 mars 2026 09:10 > To: [email protected] > Cc: Ashish Kumar Mishra <[email protected]>; AshishKumar Mishra > <[email protected]> > Subject: [OE-core] [PATCH] shared/fdset: add detailed debug logging to > fdset_new_fill()
This changes the systemd recipe, so the commit subject prefix should be "systemd:", e.g.: systemd: Add detailed debug logging to fdset_new_fill() > Currently, when fdset_new_fill() fails to open /proc/self/fd or > encounters an error while processing individual file descriptors > (such as fcntl or fstat failures), it returns a silent error code. > > For debugging rarely reproducible failures it becomes difficult to > know the exact cause of failure > This commit updates the function to use log_debug_errno() for all > error paths and hence provides better visibility into why FD collection > failed, including the path of the problematic FD (via fd_get_path) > and its inode type. > > Upstream-Status: Backport [https://github.com/systemd/systemd/pull/40385] The Upstream-Status only go in the patch, not the commit message. > > Signed-off-by: AshishKumar Mishra <[email protected]> > --- > ...-detailed-debug-logging-to-fdset_new.patch | 97 +++++++++++++++++++ > meta/recipes-core/systemd/systemd_259.3.bb | 1 + > 2 files changed, 98 insertions(+) > create mode 100644 > meta/recipes-core/systemd/systemd/0018-shared-fdset-add-detailed-debug-logging-to-fdset_new.patch > > diff --git > a/meta/recipes-core/systemd/systemd/0018-shared-fdset-add-detailed-debug-logging-to-fdset_new.patch > > b/meta/recipes-core/systemd/systemd/0018-shared-fdset-add-detailed-debug-logging-to-fdset_new.patch > new file mode 100644 > index 0000000000..849f5cfda1 > --- /dev/null > +++ > b/meta/recipes-core/systemd/systemd/0018-shared-fdset-add-detailed-debug-logging-to-fdset_new.patch > @@ -0,0 +1,97 @@ > +From 0565f9f27323a8f9e62d85f2add542af99cea06a Mon Sep 17 00:00:00 2001 > +From: AshishKumar Mishra <[email protected]> > +Date: Wed, 21 Jan 2026 14:13:29 +0530 > +Subject: [PATCH] shared/fdset: add detailed debug logging to fdset_new_fill() > + > +Currently, when fdset_new_fill() fails to open /proc/self/fd or > +encounters an error while processing individual file descriptors > +(such as fcntl or fstat failures), it returns a silent error code. > + > +For debugging rarely reproducible failures it becomes difficult to > +know the exact cause of failure > +This commit updates the function to use log_debug_errno() for all > +error paths and hence provides better visibility into why FD collection > +failed, including the path of the problematic FD (via fd_get_path) > +and its inode type. > + > +Upstream-Status: Backport [https://github.com/systemd/systemd/pull/40385] > + > +Signed-off-by: AshishKumar Mishra <[email protected]> > +--- > + src/shared/fdset.c | 35 ++++++++++++++++++++++++++--------- > + 1 file changed, 26 insertions(+), 9 deletions(-) > + [cut] //Peter
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#233065): https://lists.openembedded.org/g/openembedded-core/message/233065 Mute This Topic: https://lists.openembedded.org/mt/118110839/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
