From patchwork Tue Apr 1 12:43:23 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 60427 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 B1475C369CA for ; Tue, 1 Apr 2025 12:43:24 +0000 (UTC) Received: from a27-33.smtp-out.us-west-2.amazonses.com (a27-33.smtp-out.us-west-2.amazonses.com [54.240.27.33]) by mx.groups.io with SMTP id smtpd.web10.18041.1743511391305582741 for ; Tue, 01 Apr 2025 05:43:24 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx header.b=Sb12v+bl; dkim=pass header.i=@amazonses.com header.s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx header.b=A2rCzG3s; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.33, mailfrom: 01010195f160bd7d-13551225-a813-4663-9bdd-a6c666d39967-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=rnkzp2s7ci3kogmesvov2nwn7wcc2dgx; d=yoctoproject.org; t=1743511404; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=vA7HAKSoZpZJWYeHDbZyBGu6vV/NGu2mzsKVpBzGItc=; b=Sb12v+blRMzDzhgc8nkvqO5Q+xkk+WEhXvJLjShWStlnjg1jogcFQUpj6zgl53Dg RMUScJFWF7/40NKjFyCsF2nPmCLa857PJyC4sj/Lp3u3tQ32RFStjYUrunsiB0mI7dh ssXTXc+xDjRt8wH32Ip7RpgR4vN0U2M9BKo5R/rw= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=gdwg2y3kokkkj5a55z2ilkup5wp5hhxx; d=amazonses.com; t=1743511404; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=vA7HAKSoZpZJWYeHDbZyBGu6vV/NGu2mzsKVpBzGItc=; b=A2rCzG3s7ldOTb+m1s6M1McQY+neBaxkMOCpkqkSljp79XUNYje376h4D5sb3mHe kQbGjdoMU0hpzVXlWZ0SkGF3IeQsRs00gWwQZvILcXhzd4o+qoufL1EmLsbqHx8xS8p LmD06k4SbYz7ApWIx5Z927Q5URvwMR+K0ZlJryZU= MIME-Version: 1.0 From: auh@yoctoproject.org To: Chen Qi Cc: openembedded-core@lists.openembedded.org Subject: [AUH] shadow: upgrading to 4.17.4 FAILED Message-ID: <01010195f160bd7d-13551225-a813-4663-9bdd-a6c666d39967-000000@us-west-2.amazonses.com> Date: Tue, 1 Apr 2025 12:43:23 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2025.04.01-54.240.27.33 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 ; Tue, 01 Apr 2025 12:43:24 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/214086 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *shadow* to *4.17.4* has Failed(do_compile). Detailed error information: do_compile failed Next steps: - apply the patch: git am 0001-shadow-upgrade-4.17.3-4.17.4.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 7620a213aaf0487a8fbb59b7bc740a83a272afb2 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Tue, 1 Apr 2025 10:05:16 +0000 Subject: [PATCH] shadow: upgrade 4.17.3 -> 4.17.4 --- ...unexpected-open-failure-in-chroot-env.patch | 6 +++--- .../shadow/files/disable_syslog.patch | 18 +++++++++++++----- .../shadow/files/shadow-update-pam-conf.patch | 5 +---- .../{shadow_4.17.3.bb => shadow_4.17.4.bb} | 5 ++++- 4 files changed, 21 insertions(+), 13 deletions(-) rename meta/recipes-extended/shadow/{shadow_4.17.3.bb => shadow_4.17.4.bb} (97%) diff --git a/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch b/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch index 699269ed64..be8dd73aaa 100644 --- a/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch +++ b/meta/recipes-extended/shadow/files/commonio.c-fix-unexpected-open-failure-in-chroot-env.patch @@ -1,4 +1,4 @@ -From f7b765c022e4cad9140ac44712885c66e149abdc Mon Sep 17 00:00:00 2001 +From 98ebcfd37cc1517efc858d1f70c63dcc528f1344 Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Thu, 17 Jul 2014 15:53:34 +0800 Subject: [PATCH] commonio.c-fix-unexpected-open-failure-in-chroot-env @@ -20,10 +20,10 @@ Signed-off-by: Chen Qi 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/commonio.c b/lib/commonio.c -index 4d83e83..9ee0e13 100644 +index fc8ad7a..86fc0e5 100644 --- a/lib/commonio.c +++ b/lib/commonio.c -@@ -604,10 +604,18 @@ int commonio_open (struct commonio_db *db, int mode) +@@ -595,10 +595,18 @@ int commonio_open (struct commonio_db *db, int mode) db->cursor = NULL; db->changed = false; diff --git a/meta/recipes-extended/shadow/files/disable_syslog.patch b/meta/recipes-extended/shadow/files/disable_syslog.patch index 7299a8e61c..d11ff764bc 100644 --- a/meta/recipes-extended/shadow/files/disable_syslog.patch +++ b/meta/recipes-extended/shadow/files/disable_syslog.patch @@ -1,15 +1,23 @@ +From 36dd5c135364b642ea59fae480d77efd41de6945 Mon Sep 17 00:00:00 2001 +From: Richard Purdie +Date: Fri, 28 Feb 2025 10:09:56 +0000 +Subject: [PATCH] shadow-native: Disable syslog usage + When building images using shadow-native, we shouldn't be spamming the host's log with lots of syslog messages which aren't relavent. Disable syslog use in the native case. Upstream-Status: Inappropriate [Would upstream accept a configure option?] Signed-off-by: Richard Purdie +--- + lib/defines.h | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) -Index: shadow-4.17.2/lib/defines.h -=================================================================== ---- shadow-4.17.2.orig/lib/defines.h -+++ shadow-4.17.2/lib/defines.h -@@ -88,7 +88,9 @@ +diff --git a/lib/defines.h b/lib/defines.h +index 89300c9..88b190b 100644 +--- a/lib/defines.h ++++ b/lib/defines.h +@@ -83,7 +83,9 @@ /* cleaner than lots of #ifdefs everywhere - use this as follows: SYSLOG((LOG_CRIT, "user %s cracked root", user)); */ diff --git a/meta/recipes-extended/shadow/files/shadow-update-pam-conf.patch b/meta/recipes-extended/shadow/files/shadow-update-pam-conf.patch index 318e2665c2..7a8c1321c5 100644 --- a/meta/recipes-extended/shadow/files/shadow-update-pam-conf.patch +++ b/meta/recipes-extended/shadow/files/shadow-update-pam-conf.patch @@ -1,4 +1,4 @@ -From eb17cd91d8e4d76ee95de9c0c9f4938ba2e3e82a Mon Sep 17 00:00:00 2001 +From e1cd1c499a39e4fe5417ea34145e798d3f4c9fa2 Mon Sep 17 00:00:00 2001 From: Kang Kai Date: Wed, 20 Jul 2011 19:18:14 +0800 Subject: [PATCH] shadow: update pam related configure files @@ -105,6 +105,3 @@ index 8f49f5c..b1f365d 100644 account required pam_permit.so -password include system-auth +password include common-password --- -2.43.0 - diff --git a/meta/recipes-extended/shadow/shadow_4.17.3.bb b/meta/recipes-extended/shadow/shadow_4.17.4.bb similarity index 97% rename from meta/recipes-extended/shadow/shadow_4.17.3.bb rename to meta/recipes-extended/shadow/shadow_4.17.4.bb index 3d07aec3d6..2ef73a0192 100644 --- a/meta/recipes-extended/shadow/shadow_4.17.3.bb +++ b/meta/recipes-extended/shadow/shadow_4.17.4.bb @@ -14,6 +14,9 @@ GITHUB_BASE_URI = "https://github.com/shadow-maint/shadow/releases" SRC_URI = "${GITHUB_BASE_URI}/download/${PV}/${BP}.tar.gz \ ${@bb.utils.contains('PACKAGECONFIG', 'pam', '${PAM_SRC_URI}', '', d)} \ file://useradd \ + file://login_defs_pam.sed \ + file://commonio.c-fix-unexpected-open-failure-in-chroot-env.patch \ + file://disable_syslog.patch \ " SRC_URI:append:class-target = " \ @@ -25,7 +28,7 @@ SRC_URI:append:class-native = " \ file://commonio.c-fix-unexpected-open-failure-in-chroot-env.patch \ file://disable_syslog.patch \ " -SRC_URI[sha256sum] = "2a029091d2c2f116f51b3a817ec16e7da22310a6c8116394457483c668c84b36" +SRC_URI[sha256sum] = "0a288c251f339846af6bdfd4447b196153204deba42407bce5b0917998322e9b" UPSTREAM_CHECK_REGEX = "releases/tag/v?(?P\d+(\.\d+)+)$" # Additional Policy files for PAM