From patchwork Mon Jan 6 08:21:48 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yi Zhao X-Patchwork-Id: 55042 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 1EE3CE77188 for ; Mon, 6 Jan 2025 08:22:20 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web11.55281.1736151734050412194 for ; Mon, 06 Jan 2025 00:22:14 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=3101692a3d=yi.zhao@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 506610W4027302 for ; Mon, 6 Jan 2025 00:22:13 -0800 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2174.outbound.protection.outlook.com [104.47.58.174]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43y1569c1m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 Jan 2025 00:22:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=R9aBTCANImq9fCPDTfiU+hRhHMIXsLo6eB7bIFgOSBhnUN9XRfJ8+Y/GetKceAEsw3ZVrdfIg7chaUXft4OyAyQJDI0nYtChLLJdmmup62+W9ROqb8RFvRQ5LiXz133DP9x7+6dBj4f3V06rzMzIHOO+l2i1UUqb/ZNRL5M0Eee1WJ+MGJbMMUb/d0ZJ5Rj7P0WVEpP1NWMLpHmOs8DWCJztzPesau9f0lWS5NYsjOdaxbFAxB6nS1RKt62jpQesFaVF5RnCA1suD9Wa2MsjIglgLEn/mClaAj3h6+B8EgG2mYRU0zdGOubBurnPWRLtO3fVpr+R6Ko1trdZMgFAew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=c/pi417ucVt5nwyrEhzQ03afKbo/RD0/i0ywSJIUZOc=; b=MgWeG52iUOpSb8oCfZ60IJ/ypdktDaL4I57/f9A06xSpYqpwBVBB8llb8KDFNbm4xV4PZhF8U6x8BsgqBeOz8ysEYpyMbWV+H/3Rgsu+uzUKSpsrFKxX8HQ6T+MPgkXTIyxLf/bIgr0ITn/5U9TjC4yl8fuPU0pBFDmgCsnb3cgNqQd0Ph3qqJCWBF8qEZ+BFyO9K2lZp2xSi74+nL8cZTNRx8IAnjfOcF3FCeoAILosqgsChpzpWP531+b1FGTdWgfi5Ka507hXvBJMAUnvOM2i/0yBCuJZjWHPn6ZTP6hRxpl9VbwzyQvGy2+G7LHXZPBv2KeI3Ghkc1ckpaKm8g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) by PH8PR11MB8061.namprd11.prod.outlook.com (2603:10b6:510:250::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.17; Mon, 6 Jan 2025 08:22:06 +0000 Received: from DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad]) by DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad%7]) with mapi id 15.20.8314.015; Mon, 6 Jan 2025 08:22:06 +0000 From: Yi Zhao To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][PATCH 1/5] snapper: set pam module path to ${base_libdir}/security Date: Mon, 6 Jan 2025 16:21:48 +0800 Message-Id: <20250106082152.882222-1-yi.zhao@windriver.com> X-Mailer: git-send-email 2.25.1 X-ClientProxiedBy: TYAPR01CA0028.jpnprd01.prod.outlook.com (2603:1096:404:28::16) To DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB6399:EE_|PH8PR11MB8061:EE_ X-MS-Office365-Filtering-Correlation-Id: 4330431c-7409-4bf8-672b-08dd2e2b34f2 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: Rwy9VSlToNTDyjMFXodC5Vdf/8+MbiW1fqztgEejSxO+i02B6MRYS5OPYykH598+nI2qbNs8vbuDAYGlSXhLIqtAeopVtr4OhkECgoFzgtZCySl+oK/lLi04zWLQvhbbV8neA6A2moValjWmhyt0Ooi5vmIm+liXEbPIUE5UDTI0SfZLZD0XG7c6SDi68lu4fg2Sf2cQU+whJtkMFcgT4lHr63oQZ1CVcBuC3O2yLzETgF4xjKxbyaTgvMxrNnCI2mvU1U3yFZIqLU3sMa4P9UA/HU0+45GUZwEjZ2Qi9pS9lsNW1vsjzRYdu/ojvSBr78c8W8JBy1y56hBYpUg5XxOv1Iqj1YtfkZTM7RP32XD5Ordv8i4IVS8Igk4g4nBrwHTomeZrwBfJ7HWo6/LrKCPBVGzk7SzqEYPd6rE5eFNzLejios6McaInQ3fEOViG3NC5QjOdZMKv3xSJE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od.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: T3DDNrMOrqZe6U9IwZetoqjYvLqYSWRGAFmG3yT2YXd7gawSg1y3Gqgs1JKDsGBd6zkC7x+xl0EEsZEbifhOUtssxQRu65izCCDLHLyi59EBa8LDcc8Jz9VnV0biMlJfa9Tupkb9FyvqArTjcFZ1eddYO6VU1/Hv+oTpYl/vskFQbftdJKTGWMLEozsbi7lThgvgpN9rkD0YiiSn2cininPcsInVT/JI2TgR121XXwuoLJuMkJXHfdJ5adyChz4dBzlGvK+BE2pK0GdbstzWbJuLA/8/p3FVz6JwTEQQYLsty4X8tADAgCGxgr/HAGj8QVqwl1pzt7fSGhkNM1iaAT1AmwoccE9HrgEOt2b0r8RC6sNj7oL2RnKfI/LHwJHmLtTtOxX57SapwwrkP7sxd0M6Pm4OBca8s9e0tL8rAelXkca3RkEdgXz4JQ//tVXFnoiXIMbsVCw2x0y0ouQht39PVIizZ7aYT8OeUbYC3cy+BxGaj42NzZukCMyFl5aByZgLLFEFiqCNcMANo98QvZSftQfnisxRCVSmKD3+fwauw6T6V8TAVOmmf3Wx/WEMxO03rMbh3+yteiIAyCtR4r7/u7d8I5rCgw8peTss1+++9SURPchbLit5P/bJsbiCuv2ybnaes1du1XTPgCMDONAeiv5/3Qbcl2VkmxMVXzSFsg25vXn3Nq4/8OKEigae5cnl+ZbAJwj1m2ffQq2MF04pxlmSlWAJ61KdQIELcR+5pPf8KLNgp2wwgtUUVC8iAfi3aijiy+U6VNcu0v8KNzHQsncTWmMfLOJXYIZhcjv07sgAhqV2tP8ailurVN17et/6wZn8DjqS53cCNO+yG2Tb5PHrkyMBgRfeRsoYYKy6pFEVbJHHBMFgHivZLv9yTWJaqHyukPaPshEsmOTF3iIz+JeF7Pc7nKz9ClPl/BFA8zJB/KPe3so8Uzt+86ONzf0X2hsomzJ6uPDRJxDiwaZ5hFjemTvVlHzjJyONI+gs/8YP7kFCO11l3uypYC0dYCaisHoLypW2S2IKxCrCQeUZzKGSLeskAhHPatZw2P6K86z6ss8FXrjEvv96XJmgQdWxH3dexqPWDcDhF/0DlwvjK2qT1ld5qIta6AWuRYnts5yVgEqoaY8EsDbf1Z1irt+xUTtBD/7r/o55zoxLatKas9swVkp8VCvgpjUrIMjWTZ4mvuNMHeiyEqb/xyQC8nhxv/4q2zkHiipIQaumraAMI3t3ZTT5jxXsSelI4m7aGIbvH0todeJNuGS+pLdfxp3rq2XoMbNO4VIJs5PaEr5eTusVRI4GmLLzncmVkMltHte/8vJy2zuGBZFRTE3Pznd5x//KJDsobo3gx5mrX/KXQcHBEUQoMz7DC+Mv8JYgAarDVbsQjvHelGNxxPQVLJTZj9F3rtcvCKIq73moZQGU51OYOqXLZMfisvGB2EXp7ve39P98guRa5BpFroUIz2gbsW7hf4cG6vmuZr+CB0j/JFu3oYsf76yoxnuYMh9oAXN6mnJmVeWg9K6eF/wWicRQybdYAaGqbCtTZo/xA35K9jrEClLltMcukZLja0O/s0tkWjSoDAbHaklud15E X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4330431c-7409-4bf8-672b-08dd2e2b34f2 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB6399.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2025 08:22:06.4974 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: TK5+2XZ+gmAXgYdT9SPrNqJpXrxnaUYNzJF2+6nfqXjrxcxL07wKI4/PBmwYE6QM2js2QvKUYuoLS2cSRkuhjA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB8061 X-Authority-Analysis: v=2.4 cv=PMT1+eqC c=1 sm=1 tr=0 ts=677b92b5 cx=c_pps a=qvBKVd3KFl3zkoLf5jvq7Q==:117 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=VdSt8ZQiCzkA:10 a=bRTqI5nwn0kA:10 a=t7CeM3EgAAAA:8 a=5MfkVURHyiprzMFJ_20A:9 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: 4nOq8_E2ErV1924HaM_GnC4ZLKh4aY42 X-Proofpoint-ORIG-GUID: 4nOq8_E2ErV1924HaM_GnC4ZLKh4aY42 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-06_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 spamscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=891 suspectscore=0 clxscore=1015 phishscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2501060073 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, 06 Jan 2025 08:22:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114655 Set pam module path to ${base_libdir}/security as this is the default path in libpam. Signed-off-by: Yi Zhao --- meta-oe/recipes-support/snapper/snapper_0.11.2.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta-oe/recipes-support/snapper/snapper_0.11.2.bb b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb index 28fa104af0..74181ad6ae 100644 --- a/meta-oe/recipes-support/snapper/snapper_0.11.2.bb +++ b/meta-oe/recipes-support/snapper/snapper_0.11.2.bb @@ -17,10 +17,10 @@ SRCREV = "6c603565f36e9996d85045c8012cd04aba5f3708" S = "${WORKDIR}/git" -EXTRA_OECONF += "--disable-zypp --with-pam-security=${libdir}/security" +EXTRA_OECONF += "--disable-zypp" PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'api-documentation systemd pam', d)}" -PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam" +PACKAGECONFIG[pam] = "--enable-pam --with-pam-security=${base_libdir}/security, --disable-pam,libpam" PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd" PACKAGECONFIG[api-documentation] = "--enable-doc,--disable-doc,libxslt-native docbook-xsl-stylesheets-native" @@ -35,7 +35,7 @@ do_install:append() { install -m0644 ${S}/data/default-config ${D}${sysconfdir}/sysconfig/snapper } -FILES:${PN} += "${libdir}/security ${nonarch_libdir} ${systemd_system_unitdir} ${datadir}" +FILES:${PN} += "${base_libdir}/security ${nonarch_libdir} ${systemd_system_unitdir} ${datadir}" # bash is needed for the testsuite RDEPENDS:${PN} = "bash diffutils util-linux util-linux-mount" From patchwork Mon Jan 6 08:21:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yi Zhao X-Patchwork-Id: 55044 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 33B58E7719B for ; Mon, 6 Jan 2025 08:22:20 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web10.55403.1736151734665426781 for ; Mon, 06 Jan 2025 00:22:14 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=3101692a3d=yi.zhao@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 506610W5027302 for ; Mon, 6 Jan 2025 00:22:14 -0800 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2174.outbound.protection.outlook.com [104.47.58.174]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43y1569c1m-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 Jan 2025 00:22:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=V/MN2vVFfL3C5jwiGFgB4HUZp2wuW0vpt8huYZmMZpcUYGDzJUkzKSahNTbLcV1VAPtk/tMrWB3s1mjZhIahCyAwx8J/B+02jF0tTLSs1wZML3CWxJTRUK9mAxkl1xVs0kCEqihPdLdFMQenA7nXcT4skntDtuFsGF8p907BgD7V9mHVcT2zNz1ombMGfszSnJz2Zt3oFX64B6RqTYQsGi4XWUircO87erKYk22Iuw7A/5FloX6D8ajnsjDLRr5MHqDWl7z/+1fv1p1zDrdvI/CD+4e7Qt8DM71e9+1MMcyEymXeWQJILSg+O4QXiqjZfoqterxze8N8cZ2trcvkvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=UwEYn7vE1VqzOdxzAHkqKTOvNE+AzhUHDh3ii2Brrtw=; b=ZmMFm9cRtK8dUl1RYJJ/J2PJ3AyVRJYWxLSyhhsgtQVXv8PNfaWOqA+RLDRhCzGnkR20ZYz50+nw85zlkAGhw3NlTRJxcyYYTNg9lBpJMBU4n6LVWxPDiGd64dJlDWWP+v0jrEm3ZJn+DBS+rWvDaymnYHa5po7UjA7ootwA04kzQYxmnZusd+/e6vmxkawCtthAzUFnWJq0orLZ4sQZI5lPM7fzJ8oXHCblGnJgY/F+lfKpdAHT1oHVdLreL/WMhEpij8LFnrUHWnTNCuJq23ZG+fBxV8kO5io+4ekLNkpKaLTbL8Iz/uTuciU5wCNIFRasXyOlX32wdToRObngbw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) by PH8PR11MB8061.namprd11.prod.outlook.com (2603:10b6:510:250::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.17; Mon, 6 Jan 2025 08:22:07 +0000 Received: from DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad]) by DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad%7]) with mapi id 15.20.8314.015; Mon, 6 Jan 2025 08:22:07 +0000 From: Yi Zhao To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][PATCH 2/5] mariadb: set pam module path to ${base_libdir}/security Date: Mon, 6 Jan 2025 16:21:49 +0800 Message-Id: <20250106082152.882222-2-yi.zhao@windriver.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250106082152.882222-1-yi.zhao@windriver.com> References: <20250106082152.882222-1-yi.zhao@windriver.com> X-ClientProxiedBy: TYAPR01CA0028.jpnprd01.prod.outlook.com (2603:1096:404:28::16) To DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB6399:EE_|PH8PR11MB8061:EE_ X-MS-Office365-Filtering-Correlation-Id: 92b378c8-0887-4a83-3169-08dd2e2b35a0 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: KQFE45NgYVeLe0nuBQZxK87KHGnlUH0trg0TiFdDTbcQG48sfxDkw4LQMJHq5FklMegKly8rm3CeLoiZGcV+h5jkjwEAtF5mW3YmBbgqcUQD/2Gy3z61eMyE9F/9AWtjGXi6JPuTn68xOmtNcXep9aUGH30myB88Ig/n1LJrKDIMhth5fva3R3MUkOGvdblhmNPRqJR40wtUyuZc0NSE5U9Q3gNgMObibRFey4sUiU4a7l2pIP9+RlVI4dBmbnlFaZK+1paSZSetZvr/uy1Sk7CfoRyrqbYWysWaGmyQz5tj+jGTCaUX1lpmQ/Ekj+eJP6HeGC2Kg7Iw/T3h46ho8J97+OBSaX86mm0sCyqHAurM6phhjF/BK5+zns9Z5MsUjLmb14hbje3AItFue/7MTlQ8z7My/359fb473uJA10pzKeqvgFoxm8JydUP+91NAAuslIaJxsCIehI5I4/Kax6caDiFbMGnoGcmaCr6OEgNqNu293YNh1qJi6j59pZRR1D4NY233XXX79Bwz9XQNzsKDkg8cTdcpfcRAtfA4k3DTM9T2kiFpnrz15H/8WYGvjXRXJGs/xzgu99jkpe6oyK57sB8+cVCj74VmwXjmZ/62Ucd+CYxjs5W7qLfGkXNUIYKsVrBfJy/VUyPBaLNcZt22YAhn+bFI6QZrtPLWlcSWY6OuAk6WMQDzHlrKNbHg7lg2khFdyN7ROnPABVczzLk8MiXy3JmnduaVhpDGxH2C2XdKN46WBelFScmA/RGDUAeS9Ggzkry6Ss2S4yTCJDaQzSwAF/sO2xU4djB8vrikr0w07KfQSD64G1BZrW5lKXkvbRnV/h+dlYuxaE3W8MKNI2BBqjtVx09gZbfkEK24N/QaP4HUimvQGLARgp//hcO+1aVm+hbLH3a29Vcb2pSI4uYn5L3KlwLuZk5PgOsaNctCOno9ppPHDWNqgNB1mDM3Z2X+Wxi+I4Y2CU6DEvYMjsjtCqpVhHbQJlwBHVd2g9m7NELanozkf3+PQ29uQkM3sSvzZT+9Ue5y5OGXAwjBsqGB+7an3D9uV+8V5DbV/pWnUUg7mvxV0CpY5YkueOKDWWeVRahfG7bEoq/IVrdgUPOIs05ShhmCxQtIFrVEaXcWNlsJEvqrbXb1ZTQcdv+bxEoq4ddrXyrVn/UN3PAXV5CgJg3V3o+oBq38toR+NRPsyZiEvJdcA5It7F0Kf7F7mB8qplK75qWzRFHXss5PNe1G527eOSdTykGwuwMfiDyVma5QVCrcL/w4UenDyFqRPfhZX4/JzRFOfIFh5jvf/aUeXIw9AOpN0Ec76jmyd2SX/+g+ldNCrRTNrom8/5iJ6OP/du8+UXf5nLjGtKiWkH78le07W6AI5eLD6PlWS0gz2CjsaAJeVPlj54v0g1xk2WgdNK6VepqUoeKHz1c+BxmqPJTb6ntk3EUY30Vv28g0DHuIONYaqdL6FooB X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR11MB6399.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: OyUm0JHJrFvtjzFb5Dhn9Yb6vpOc2a9xToUJiAVQWLhiKEffpBMv2rsXt0EimQk+7MsqUD8nXaWSnHwNarFYBswE9dVRrUu0lU+iNGxjkrAQJmjQPvk6EAOSK+4YDq0p2ot+6XrOv8Mksx+28JaNhZDv1wkXZ2263RwtnI7AYkxh/bwL51kRxzWyW+A7QVGBJAxyfIAwceH2WuQwN5v7VKz7bd0U5ch6mRuf4dyxSnTPF0LS+H/zZHx+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lL9VCyb840/0g07g7jQGQeiiTa935di1mEP2vFpHw0TJH78nwhT2cMGDtZQZiFWrDPfNgVz+BSfzbBwSpd5Kr47cT+TPJ+oUxRR4+uwLEFILqEBU4AH0Echu1D72dAIPA0GsMqrT6/f9Ob/R47Kb6QzVpA7ZUoMynhIxh7N2/S9UVTQbAWhpWKdOdsKY2/EKhdPhfriXuY5lS9WSDZFWp4G2MU8m2GaPUad1gptoKHgxgcx2ewrBlMWesKL X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 92b378c8-0887-4a83-3169-08dd2e2b35a0 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB6399.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2025 08:22:07.7208 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: BYRVZLp9MoAwuMwT/OJsUEGpWhl2JD6fzj7zq5Zi9hGzloMCwcXavw5gdlPBid4T4ZprrHPtigLfCaEBU6L7uQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB8061 X-Authority-Analysis: v=2.4 cv=PMT1+eqC c=1 sm=1 tr=0 ts=677b92b6 cx=c_pps a=qvBKVd3KFl3zkoLf5jvq7Q==:117 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=VdSt8ZQiCzkA:10 a=bRTqI5nwn0kA:10 a=t7CeM3EgAAAA:8 a=g6IXVHkzqjK3ydl7IjQA:9 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: qVZgh--n6Sof7StEP0E4Fargy39WRuJx X-Proofpoint-ORIG-GUID: qVZgh--n6Sof7StEP0E4Fargy39WRuJx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-06_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 spamscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 suspectscore=0 clxscore=1015 phishscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2501060073 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, 06 Jan 2025 08:22:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114656 Set pam module path to ${base_libdir}/security as this is the default path in libpam. Signed-off-by: Yi Zhao --- meta-oe/recipes-dbs/mysql/mariadb.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-dbs/mysql/mariadb.inc b/meta-oe/recipes-dbs/mysql/mariadb.inc index f3b8b5eed4..d3192cc59c 100644 --- a/meta-oe/recipes-dbs/mysql/mariadb.inc +++ b/meta-oe/recipes-dbs/mysql/mariadb.inc @@ -192,7 +192,7 @@ do_install() { pam_so=$(find ${D} -name pam_user_map.so) if [ x"${pam_so}" != x ]; then pam_dir=$(dirname ${pam_so}) - mv ${pam_dir} ${D}/${libdir} + mv ${pam_dir} ${D}/${base_libdir} rmdir --ignore-fail-on-non-empty ${pam_dir%security} fi fi @@ -346,7 +346,7 @@ FILES:${PN}-server = "\ ${sbindir}/mysqld \ ${sbindir}/mariadbd \ ${libdir}/plugin/*.so \ - ${libdir}/security/*.so \ + ${base_libdir}/security/*.so \ ${libdir}/plugin/auth_pam_tool_dir/auth_pam_tool \ ${datadir}/mysql/ \ ${localstatedir}/mysql/ \ From patchwork Mon Jan 6 08:21:50 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yi Zhao X-Patchwork-Id: 55045 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 33B1BE77199 for ; Mon, 6 Jan 2025 08:22:20 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web10.55405.1736151735275426671 for ; Mon, 06 Jan 2025 00:22:15 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=3101692a3d=yi.zhao@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 506610W6027302 for ; Mon, 6 Jan 2025 00:22:15 -0800 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2174.outbound.protection.outlook.com [104.47.58.174]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43y1569c1m-3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 Jan 2025 00:22:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Sar8xLbHlryhWrQLY7XPYrkKrE1gOmZW0jRT+QaxImf7Rrq+SJXHxGEVDRL/DiXX0LwziE4VKIi4aXT+gVgUYaTB/3Qt0ZUG/+0kranl3al9ExLCe1TqBKW+SCIZ2Ok03u2oef05zcHWRWW71XOJmg4jsG+W4X+6Oizx3u6a9tvk1wRuYNQA49CC6FUzBzoZeLxVSBkGSVjyHdyXCF3lV1vF7+mRIINwcQr8QluxvFIvvOEFGmuJPjKnBoLYYlc6GeF80O5zeUPAVtxX24lpsHl98DbzwfJiJxZzwY4rNPyPzgwYUKUhZVzqeDBwbDPUrq39OtPQQpBja1/e0HDQ+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Gp31hljFPvGLmMNGA+zlfzmx7VYR58ZXrwP6RajM6Eg=; b=M6QJvsUnMnuUcNewKWxKKn/U5bdbE24tbuCB0/uPKYUZfL1Hmv1R4N1GocdJiKpxPq55z/53sBnVvIWnTo58UcxM81T6rhjIIfaWEbUXqE4MoaI7ulmlNGXJNbxZG6gz2KgYZFcaqdp9baBuAvBQlGMRNFScAPPcZh/UfjBmGI5f7meV1nl205eHihXMFDWWz1Pj2zUJNNgpMGp43EM6leO/P3DbsuOi18H8B271bH0x7KkwYXT/V5AoSRBrVYhuSU+yKyDIWRGceFjLFft/+dzSnAGikwQZLhkwKzcAR+FvD+R2/DBMPVcVQUQyfLNWH+MNhyzq9JMxjA6oJ0XEsw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) by PH8PR11MB8061.namprd11.prod.outlook.com (2603:10b6:510:250::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.17; Mon, 6 Jan 2025 08:22:09 +0000 Received: from DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad]) by DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad%7]) with mapi id 15.20.8314.015; Mon, 6 Jan 2025 08:22:09 +0000 From: Yi Zhao To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][PATCH 3/5] malcontent: set pam module path to ${base_libdir}/security Date: Mon, 6 Jan 2025 16:21:50 +0800 Message-Id: <20250106082152.882222-3-yi.zhao@windriver.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250106082152.882222-1-yi.zhao@windriver.com> References: <20250106082152.882222-1-yi.zhao@windriver.com> X-ClientProxiedBy: TYAPR01CA0028.jpnprd01.prod.outlook.com (2603:1096:404:28::16) To DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB6399:EE_|PH8PR11MB8061:EE_ X-MS-Office365-Filtering-Correlation-Id: 0df90d27-4bdc-42b7-9906-08dd2e2b3659 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: 2Gv+joW3ust82HbK4EHV5Bb5+nshiWLrDZFI5qu2CL47zimwz4Z4UISOJSNh0Q6vRmzTQGw+4xTGbT9Z9IZlCiOFTQ3SfyhoFZV0WNKCNQYnaMnLn6WqX6P45Gpfu9B6Kj6vvaV63pftlcRx5ToH0eYxXwM0dOBArh0uTylPoXHhL2fq4jlbvWMuR57Mw2hdcRL8SrUfQi6DGfZFGDjOLM1LnP6D5mtVW/KCJ9Pd5SD1ImrNOU2+fGQQDZKZ+b75uutZXWdCP8aXzwcByDR/Ang+2G+BNe2n08IoUDe66fZ42lo9mu9TkQ9vkNeWdv1ogGVjQ4B91SlgjZpT6WMs8PDVzaNKaD7l7KvvOQ/wmtoplGQD8g9UT4MWR6C8hmnmeu/6V9S5toB3HGCs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ront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR11MB6399.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: z6QyA8oLpMz8W6g1n/x8dwaSLeSjvAOPugb/jgHMmGxwMd1hG2jOh5tgHYONhaHrJaR+KV9D2OZf4xutIcd+ydxuAtp7xSckFVPW7JxPSN7EOfXi3SeomGLaEct7eu8EzVYxpZ0opZg/u927Rt9UXqv0Et2gZ/R0zLl0IQT+4nqTS5jtOTzh7+a31+G7rLMqjZ8Q3Rt+qEaoQYy0CxIQ0gIcvd3E/te58YfQ+YR3ALrBWxVN/L6laklRSBTggsrFSO7qRX2Tviy3dfgK4Yz+1kZ25mGl38l6wr2UNy3NqtzTUMxKjD5c6r/gUOtH20IhL3bwTPnlwwJSrpF3XvUuVrUvqJGa0pK2HYSCrb8kLkYLUAyHLR/+BBxSynZY6OkFuBC6Oin6o4uRZp5ZVo3nS4ovkPB2i1NC1mVuny9pZ+e9sABLQWJvidCsvOzZ3LyXfTg6OMjyMhQ8Wv81dXJQB/sCLjF5G8TOO1V1q4925ToMMOERK1l+VsypLGkvC/oo3YNj8aiordpBrQ3KD9xnQIwJgwRXBjY68468sRB0QKYFRWkDt9C+bmt0Gl8fET2Qu7ktJWs3kxuaGszsK9VxdjvItnY45duSW8dsVcrqnFZKJeG0XiDpo8xV2YpjzBRogezZNKciL7nhwIMeF4WPf9Q6UqYKE/Qq1W1h/ZHrOmazEAe0WiYgzpXQsfvwZPdlTrdGpZkLmsd5FNJzZYZusHVVtMV0nlBk4ylv0/N+CCc0QrIt1OAQQrOKKDa1EulBLhxuhyBVmciQlmQrBUUTQWXcLaiHxji1CATLYavWJfKyNyZXhsm+7SM9sCaAWQbTc+PpNfgHNde8t9qYC2T7BpHkPZjEiYsFHbJIK3WYn3qF/KYtipCjhcK/Xkq5lUx0zUUoezcdcJVw5/EjSrF9w7tKPz/KihE1Art7PmzvZOqKuIAOZaBkz9n3iRq4Znk+x1rCN4ZsW4lTfnqc+9fjaoUVkhIMz+Jw/AXXlh5FJDbIGhLHjeDjpJT+yyWQwI5GQSpPLZBFpHQZmSrEGFy/h8mqvNd2YlfZaRrGqtLkFN0b6AYD9mWDlcrQKKS9j9Kdmncfmg6+ctXM7awpzoRdKvXPv8df31c6SbpbO8Tml6eVGnBOs+j1hEGvqKd5dfkZLy0RhdjMQKoudEF3exBCDuUu4KpbTaRaFUmT2fPOoKuFXyYnti/FSzthjVTy/z23Hz8vKlVGrp6AdXNAop4lKP9fwAj+nCQOtzcufmaaA5fiJzGz6EdhkLq5jxJmEeMDr2DI/1Nz6eDHpg6d1eyuO/b3N9jG9V1/s5AjhA765dMIg6QkuXT04hOOBVYa4KjQMHk9ISAAJ6V7W5EoU2jk3kb2T0EzLqSLHAbQSWVPjZ+CG80KxTlk4ILbygsG7pIGKlLtd9SyoAYx5iWMjni8Pxw5Mqa4Ara2XOslyQNwk4GiC72xy7JBhiJGW0iCbC6lLcL4XNwvgdWErR9BpmrWXlXWPNE+vE9xcJmYYegCeHllyH1ENZQ98mkTBcDP3ptNZkOSpQxrhr0bH2EhDJeivLlKpfcBKZwGn/dD/3i8PQTcwZHY+1/y6FFDm9dIMvJY X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0df90d27-4bdc-42b7-9906-08dd2e2b3659 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB6399.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2025 08:22:08.9395 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: mXTBy8g3sqsP3dmNLPWzrCRUAKgFXdKHHi5Wa0vhlng6WI8goif9fXvY1CGrlhRm0aseyqza6GRUQhB7YxMYdw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB8061 X-Authority-Analysis: v=2.4 cv=PMT1+eqC c=1 sm=1 tr=0 ts=677b92b6 cx=c_pps a=qvBKVd3KFl3zkoLf5jvq7Q==:117 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=VdSt8ZQiCzkA:10 a=bRTqI5nwn0kA:10 a=t7CeM3EgAAAA:8 a=YrvPrq4puIgL09KnsKgA:9 a=ZXulRonScM0A:10 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: ja3oyfxayb3oiXPCEk-dFd7W1Zo6qkmG X-Proofpoint-ORIG-GUID: ja3oyfxayb3oiXPCEk-dFd7W1Zo6qkmG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-06_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 spamscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=812 suspectscore=0 clxscore=1015 phishscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2501060073 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, 06 Jan 2025 08:22:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114657 Set pam module path to ${base_libdir}/security as this is the default path in libpam. Signed-off-by: Yi Zhao --- meta-oe/recipes-gnome/malcontent/malcontent.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-oe/recipes-gnome/malcontent/malcontent.bb b/meta-oe/recipes-gnome/malcontent/malcontent.bb index b30d85080b..9da95329a8 100644 --- a/meta-oe/recipes-gnome/malcontent/malcontent.bb +++ b/meta-oe/recipes-gnome/malcontent/malcontent.bb @@ -24,10 +24,10 @@ REQUIRED_DISTRO_FEATURES = "pam polkit gobject-introspection" PACKAGECONFIG ?= "ui" PACKAGECONFIG[ui] = ",,,malcontent-ui" -EXTRA_OEMESON = "-Dui=disabled" +EXTRA_OEMESON = "-Dui=disabled -Dpamlibdir=${base_libdir}/security" FILES:${PN} += " \ - ${libdir}/security/pam_malcontent.so \ + ${base_libdir}/security/pam_malcontent.so \ ${datadir}/accountsservice \ ${datadir}/help \ ${datadir}/dbus-1 \ From patchwork Mon Jan 6 08:21:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yi Zhao X-Patchwork-Id: 55046 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 20E51E77198 for ; Mon, 6 Jan 2025 08:22:20 +0000 (UTC) Received: from mx0a-0064b401.pphosted.com (mx0a-0064b401.pphosted.com [205.220.166.238]) by mx.groups.io with SMTP id smtpd.web10.55406.1736151735767727727 for ; Mon, 06 Jan 2025 00:22:15 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.166.238, mailfrom: prvs=3101692a3d=yi.zhao@windriver.com) Received: from pps.filterd (m0250810.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 506610W7027302 for ; Mon, 6 Jan 2025 00:22:15 -0800 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2174.outbound.protection.outlook.com [104.47.58.174]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43y1569c1m-4 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 Jan 2025 00:22:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ke7OjeB1+u2PEO8RhaZrgcumD0ilaR/fcacZrlsS2d5cUviDXBwJ8uSp784Wj5fLlPCFOgtVqeVnSblTOTPIp8B3vZvC90w1r9qqUUJony8xfUxUAYG9iiMncrFyB+VEIqC1e1gJJhkENRMj0cxVQ57mHIzh0extJyJo1dVIeY7I0l/KZxJrk0o06b6yn76wRm3vMjdah6B4XVRJtM/0mqS1t7tQrN9/95nsl+h8nASh/Qwd0nJEXEPoOygTcxeNk8MAly5uYHTLG4s7AAvr4HLA0Y7ASm6OaIs3UuvJdJhIkZ7zFYxrH64Isti4PHp9M7xFDOKiVDly0Tvo7BPDYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=qyCYkkQCpeSUoMJf6X4dH+EKc4mCkec3ddjzpfLdtok=; b=nx0i/0PiaEYcp305dktuB6qZq/vprxAWTLZCAAu+8PhVhUXIFLi7EXBjuMkw2f6/bK/punCSzuDjDtDXf8nT2DkJ8uLZrSZZLVmmXpZUQmVOPs/4FaByNVKjaQUIfBvK0q1VVuvFiFfwnRd1944lt2wwH3zcRU0JCtP6TH22xykOtDpQO9xeD0EwZhI3G8fuk8Rxr6MxLca1A//2gdEH5bzSlx/mbFCETkwJ4QnIcUTGICtk0Vt+nTsvkmXfsghBWxrHufpXgPybqRM/NY+V/6+MaKIWOZaPQKJ063cUNgJW+rz8E1LP2k4WVhyDIDniLv20G6Kpb3omnnWRm/n3mA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) by PH8PR11MB8061.namprd11.prod.outlook.com (2603:10b6:510:250::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.17; Mon, 6 Jan 2025 08:22:10 +0000 Received: from DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad]) by DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad%7]) with mapi id 15.20.8314.015; Mon, 6 Jan 2025 08:22:10 +0000 From: Yi Zhao To: openembedded-devel@lists.openembedded.org Subject: [meta-webserver][PATCH 4/5] cockpit: set pam module path to ${base_libdir}/security Date: Mon, 6 Jan 2025 16:21:51 +0800 Message-Id: <20250106082152.882222-4-yi.zhao@windriver.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250106082152.882222-1-yi.zhao@windriver.com> References: <20250106082152.882222-1-yi.zhao@windriver.com> X-ClientProxiedBy: TYAPR01CA0028.jpnprd01.prod.outlook.com (2603:1096:404:28::16) To DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB6399:EE_|PH8PR11MB8061:EE_ X-MS-Office365-Filtering-Correlation-Id: a9a8b1a1-1e1f-462b-ccab-08dd2e2b3716 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: PaOtPzHH4FgKQ17ilJOExq+xj1muSYL6C6lTFwvuU4LZl3bI+zlyYwIv6LZb8Dh3lV6X7sdZ4BVkDSBfalyxWmVvFpp0AYhN21ZUac733lmXz56OUbYFClfVNzY7RhQg02hif2PJ1MQZKj5kX6E4Wrwm80BZLiRIKNt2rbC+KnMld3zC6IqZBXOm/QYVqGxgC3vA1lk6Yw1VvENXikLGjUT2gZq2jKBpJAmshpfK7ex1QvYAj9vywfskx2UNkNuNDAOQdKFxwHcGTb3TJk6LGP6TTK63XCWtL6TDDOq+PpjVqpGNINMyUcUjl4mZu9tYL2AY7BvRb5Ik4Z4BM+/f3mDVJ6AdOKT8IyjRENIwaGEo5uZnWDcijbq28oJq3qUt/k6y4d9JpINgK48llH7shkZloFekGp1kOqueEGKfo3Tyz96In7d32ndRFCB5HHPDMbnvW3xY/jfQq0VrvQ24mHooU9rBzz/qwQJVgGDDXZkAEM+kKJxJaEQFGp5CkZywen2yuGI6k80eRlCo2Lo/evHWLa2PPCq/YWDfKmu0dZsJC37RpjJWb0ImUhmokeVI7aT8n/ApqzJ9Zfsxev7hL3IiI3UtvVAti9hqBxfDx2JxA8i0ydpi3OrDYqXvfXaL2i98CHco0/nLjLdgUlCoLBHKO27iDdlc6RuWb6BXan51oKdx8PeNpmeOrHF/mnIT7kEsgFSB7IM8D8LP802gsP4LAWx5uNQg0pvS0IM3jXFI4ffG3+fSeELvB/at8+QnILkWABMq8cNHZ9lDUySVdea1g64BTMZy+ph+il/u/SlsHSoqUi9GhreU4zfblf5RQ2oCfwp+pq/i0Y8z+gPILkuWmVL657PoBaIwQ08olvURqiBR7BJTXVXGZoig+7+P/U2EfJdtguipNBurUjWB00aviT0xjkn1YbFEyQpvG8s9L5f1Wkhwmz7aM7kZ5YJhMcLypy672HLjUZ25CAGAhBJODidAPpJnHIkzRU4aQWGQKmfDMjQbGREOVnqasNlMdqJbr75HAlBowOWZ1sN+tmwwM16Px4mu16eRlBCW7Z2VtaTitnxYW0BVuB7JkA9IYwOn2u8Z67mBLSCmI1a2mQmrOyetFeT3yI9JPHlmdbnHTk3ty605RcbwylLADPqZGODw5RY0pEtrxL64yrZKXaRUvxIo+b8LCUwBRQPKgBK18P9hdBqhdQ8Nft13NVKez+POkfiaEFkLCkIXm2bBfDtKuJQ60Ut3EXwL6XnWdo9Bb69cJfhuvDzEgakPXP/C/CQZX8ayvb2auuO9geXF6ko48NLeC9MDAR1W+sfrP2qEJBcjR0NrodzzloYi4DOT0KKg1SCNV5HFepnJCIwnoi2NQgs83sosSmc0aesKp4vX8HNPAh702bcUsDxfZIxdndCbblvWevjhFz/1QtgXuGw2BVXM/D2PILBvcgwxD9wMtVMw81ThXlE4+Y2oowXT X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DS0PR11MB6399.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: Cjza8pWbbwkuMNqSEMuRbpBVgo9ppZvZerLb2CfcwEfmkZfkJH7adfZSlno7Bu0pIf+0R6iKvgUpO1EGJ5eCcDsQxms2JnGtoXfzPnbbvRMhL722bBafqY0gwfbk4KffE2qmUAY96vrjyl/l14TfcvX0Q2rPgvHL+45QJdHr8BRO3uf1L6m0G/h4G3ha8vpkZt3q+YUIqpgq+tK9uYmvBfXe9RguvUnZ4bQ52L75h8+IW4km2aCRMefKiqAfcbcNBPC/YJpEzEcEp/hqO9qeGD2+uY7aw1pUet80e+caH9Raa+Tf5QaV6oxG7eVCU8HBy+/K7tYITQYGvGk7Wu1M1IVtrDWdG8fjxozSb4nPQ55xLrXEumTSMK+SiJKWVIfJwB1iKklnRTLjyMX/hahnopDtPbAFFOTckjrHmR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rhnH7iGqRxDI6yW1wXmAVGvyJ7PF48iT9bsP7BQXJOYOThMHry2ZrcWX/WBZugKTkdLlHN6lVA8s86fp6f5Mow8VCcBtsrH20ylaQ3Aurq1Yi X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: a9a8b1a1-1e1f-462b-ccab-08dd2e2b3716 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB6399.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2025 08:22:10.1801 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: A1s1NAmExYaAPNY+QqkndNfeWgUFZHjDpqMSOfoqx6kpDBFyEx/dg5tj/DiQiH1Kc4He7J5CHvokjx6lgDutnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB8061 X-Authority-Analysis: v=2.4 cv=PMT1+eqC c=1 sm=1 tr=0 ts=677b92b7 cx=c_pps a=qvBKVd3KFl3zkoLf5jvq7Q==:117 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=VdSt8ZQiCzkA:10 a=bRTqI5nwn0kA:10 a=t7CeM3EgAAAA:8 a=8HQLVNBSI4rpdPxre04A:9 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-GUID: 9sC8uOv4xkWhco2f3JUym4omDxvaMlNE X-Proofpoint-ORIG-GUID: 9sC8uOv4xkWhco2f3JUym4omDxvaMlNE X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-06_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 lowpriorityscore=0 malwarescore=0 bulkscore=0 spamscore=0 priorityscore=1501 mlxscore=0 mlxlogscore=999 suspectscore=0 clxscore=1015 phishscore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2501060073 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, 06 Jan 2025 08:22:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114658 Set pam module path to ${base_libdir}/security as this is the default path in libpam. Signed-off-by: Yi Zhao --- meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb index 6a5eb4e66e..98a5aef680 100644 --- a/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb +++ b/meta-webserver/recipes-webadmin/cockpit/cockpit_304.bb @@ -35,6 +35,7 @@ EXTRA_OECONF = " \ --with-cockpit-ws-instance-group=${COCKPIT_WS_USER_GROUP} \ --disable-doc \ --with-systemdunitdir=${systemd_system_unitdir} \ + --with-pamdir=${base_libdir}/security \ " PACKAGECONFIG ??= " \ @@ -154,8 +155,8 @@ FILES:${PN}-ws = " \ ${systemd_system_unitdir}/system-cockpithttps.slice \ ${libdir}/tmpfiles.d/cockpit-tempfiles.conf \ ${sbindir}/remotectl \ - ${libdir}/security/pam_ssh_add.so \ - ${libdir}/security/pam_cockpit_cert.so \ + ${base_libdir}/security/pam_ssh_add.so \ + ${base_libdir}/security/pam_cockpit_cert.so \ ${libexecdir}/cockpit-ws \ ${libexecdir}/cockpit-wsinstance-factory \ ${libexecdir}/cockpit-tls \ From patchwork Mon Jan 6 08:21:52 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yi Zhao X-Patchwork-Id: 55043 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 21DCBC3DA4A for ; Mon, 6 Jan 2025 08:22:20 +0000 (UTC) Received: from mx0b-0064b401.pphosted.com (mx0b-0064b401.pphosted.com [205.220.178.238]) by mx.groups.io with SMTP id smtpd.web11.55283.1736151738386975152 for ; Mon, 06 Jan 2025 00:22:18 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=permerror, err=parse error for token &{10 18 %{ir}.%{v}.%{d}.spf.has.pphosted.com}: invalid domain name (domain: windriver.com, ip: 205.220.178.238, mailfrom: prvs=3101692a3d=yi.zhao@windriver.com) Received: from pps.filterd (m0250811.ppops.net [127.0.0.1]) by mx0a-0064b401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 5066nfvp013687 for ; Mon, 6 Jan 2025 08:22:17 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1nam02lp2048.outbound.protection.outlook.com [104.47.57.48]) by mx0a-0064b401.pphosted.com (PPS) with ESMTPS id 43xt70hktr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Mon, 06 Jan 2025 08:22:17 +0000 (GMT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=IgIBDFyY6AYg3SP3ecNZLM+SG5ecbAXFnq0cq75RCLb6d1akK9iprlToO6T1D1/9sfUpelGYHJC2vfEutU8Os6YaPKQ6jAzsMQ6sj5VL5aXht1I9XdPxL8I/wtIIzJ3wNIH/rkZUUOyM4BUHQNaMxDi2LrtdeEUOBjjo/eXkXphld0gFkLVhdIviReeoHgH6XcM4qoDL22sndkeIXasqKFsLiOkj4lSi4Wl6L6ON9JSDDBWPWfc30GJmziwn2Stms9rtBZNEMM0UsjIgiQQ/Nlo1m3gDbN2oMueWErE7+1o1fGIrqAxrpOYrXnUvZAjFnUDgs9sK1wp/cVHKsOEQbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=F3unyKbpc+uiRsBjVrEDzOtbSurtb9WY9EmxJdltCYY=; b=SEm+T3uhnuRNyTSlBPg91hcxQRnq0f/PD6BO4dev9i/awjgga55t8soM/nAVx709118XVlyHyf9YyjLAXdf9l04/mVDR93nAaLk5aNYefxMCynCSxzX4J0Nup/vM+AkhI6GQf3rZM1C+nu2S1LTiYxraHF6o/wUm67kacUMdUoCUuA9OE8jUxTkSoU1JD9+zmPC0UsS09mdGK6ze3Nc/KajnHgEht2yy+5sqn0YhbAS/kVbhLQvh3bVx6DU0lWVoSRjrObBmA4wP2VEjXX9hAw7kDRAzCMJrfcFlxNKO3etQ45iXjPTwINf8+7aXf5doXi+z3i97LX4EfDIor5syOw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=windriver.com; dmarc=pass action=none header.from=windriver.com; dkim=pass header.d=windriver.com; arc=none Received: from DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) by PH8PR11MB8061.namprd11.prod.outlook.com (2603:10b6:510:250::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8314.17; Mon, 6 Jan 2025 08:22:11 +0000 Received: from DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad]) by DS0PR11MB6399.namprd11.prod.outlook.com ([fe80::2b44:787c:e7ee:bfad%7]) with mapi id 15.20.8314.015; Mon, 6 Jan 2025 08:22:11 +0000 From: Yi Zhao To: openembedded-devel@lists.openembedded.org Subject: [meta-filesystems][PATCH 5/5] zfs: enable packageconfig pam for pam distro feature Date: Mon, 6 Jan 2025 16:21:52 +0800 Message-Id: <20250106082152.882222-5-yi.zhao@windriver.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250106082152.882222-1-yi.zhao@windriver.com> References: <20250106082152.882222-1-yi.zhao@windriver.com> X-ClientProxiedBy: TYAPR01CA0028.jpnprd01.prod.outlook.com (2603:1096:404:28::16) To DS0PR11MB6399.namprd11.prod.outlook.com (2603:10b6:8:c8::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB6399:EE_|PH8PR11MB8061:EE_ X-MS-Office365-Filtering-Correlation-Id: e7a2e93c-d7a2-4e6b-e86f-08dd2e2b37d1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0;ARA:13230040|52116014|1800799024|376014|366016|38350700014; X-Microsoft-Antispam-Message-Info: pF9hfiIOSQESpkf+Bvd9yNtB4ak1taA3WSovjZHh8ok1nCcpv7+efOKOyDUjQDmpfl52K62D03vMP65CWtsnvw1qzMyR0O6GSw0BceISXf4RbP7WcLuzMGfMECeeS/U2i8MBGkdx5rCrwBqOpycM+n9ECrKoqF6LSJG9/bicV7m41pfYr2f+/MHUd9zlPoIZccfgXXGNdRyZ1HUo+MXkEZFbl30Fej+URcjl8C8THrup4+1H6KldJLgVwy1wuCjUmXv7uF7hlrfA+5Zd7vClqt7awfBjVoBWsjJhjvPiEmSmqaGvacQBgZzeFJD7fWKtisBP9DH5Ue9jZETMby4hFx5obhCCzgzKZT/82ghwxMyMrgLqxOAUWgqavlvOi9MjzvOcNCQrQ00lqyVEJupDMcwWur6m+X5ywsyBhO5CKP2ZV0g5uCdyjvdMIHQCWGyGq/lO5CUWkD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DS0PR11MB6399.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(52116014)(1800799024)(376014)(366016)(38350700014);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: 1z65oDMcdJmBujJRY1+OINRh58UKo8j3wzfUcS4ZtdxZwqPIYjhVIXA56R2beaoqWSAkb3rGX4kCGuiDtBK5tVm+bEi0mnjepfL/YtTg+waeX96LV8yHREZHZZGShdq96hMxJ32P1mPyNGqB/SPxc4rMfcJ5pz5DFcGiMjWs97efEslJ2GVL6/XMufuEHxDXtG0hj73I+G56Lg35mzhrsq2L7FTzCSG7QOPVI6JikMZ+npG+6IwLj6p1wQwvH+/jDQC59PvrN/U9kemfQL59NUmLptZvEq1s/5k5Gx0ZjIySlLaMP1IgSjUotpAc0SDVdCCDduf7lyE8+Au5gbAAMdTAWf0s07jQricNewq58Y+t3DtDRzugmFlT9LaDW8olyLpjZdI724uJUMLjAkOZlpBoSdQ/f59UlR/jysJS7Cg5XcM5jw2lMbwUIQime43k91zPADj00/xhNEpOJUVQmRnFGG4GUvBHdFgIwCHShW+pxJ4WBMOMIX/jVEhzkCTNMxU9z4wLsBseMPGxD2uR/Jdh3LyjtWsOJoDcG2xnVu+/01FthtVLiG6djNXKvzpBIA8IDP5u/dLl+1IuiSRlGKdYKuzG/AXHQFz9NwWKlc9Fi5AmrsxBDvji/+kpFJhYIS5PMIEXUp++Y6LLAtLG2SFJqOECcOsBqRAKQGRCSCg8ZuO0p1e5iAhVGGchVLJhpPty68KFVNxQliHmHuFZTaEhfktOIcazniJoFfgbTU7GD0KIFdYDwYqg7YwfoHwzRN4YBK3L8gRy7XzQr57L/owIUIReqLfyBnIQ+eqha1KK88zbHYqdsZS8AWLgIkIEoWj8J9sNH9JLWlrG+ouRXEBbx4Ptbdb5ETe4bpoDjJiD+wRgjrX3wsXWmPmO/73lleY2OMMMtNqsw5Com57Cqsk24fszkrBSiAnETD/3mAMJ++65VepVD3aXjxKBG7HsO/VFLEEs0Y5BqYtvbq0H3YcrneJbJInCXbc8OuubemJBLhvZXJfqk57Jy6K9SpABKhw/3egePuiIRBdlE99ddxkM9oQ1zceblwT9XJDZ/BiTJ6ruzranGacBO57h6x+YX+01bxwnLgptpY3RaF9zyr97sUlQOuMPgKCKTnacTDktMaXzteluAX/nkL5Cjux0077BopjNODtNBvTOxzO/vebpadeUxdJnach+KI+O9cDkcjpMA+ngYPSwlEHLmec9sh0AMO3fjcXdxsxvuLHhrZ/VdKr7yI9+wpc8OPMaxQUcsviEuOsC+ypFvdV6JkkF76QNcV02ewKfgNKv7gC/UiGLP0mDTyfLoODgTyS5Dk+xEi6asEJ/3O9n5mExMDqPCtpujLK+oTOT1m9KvK+BMN71gItmQ374jMCee4tG1TvtccnDJ0W2vqk9aKJi/z0DgYICPLBqkazck/mcJUUxl6EC9wr5r2q0wCJv1LI3rkJ5MogaNeb9ipD7WToui2r6LD5TBJSdi6WYAHRjOdcT6+DJaokH6SDPz9t8AzJkA0TECsD9R5tMQpbrc6mKKtiGEvYl1+Z7VZpS7Zt3mHoEyOGErS36cw69xBFoEt4ewWbTCKDpWF1fSnyiPiZQf/9x X-OriginatorOrg: windriver.com X-MS-Exchange-CrossTenant-Network-Message-Id: e7a2e93c-d7a2-4e6b-e86f-08dd2e2b37d1 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB6399.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jan 2025 08:22:11.3118 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 8ddb2873-a1ad-4a18-ae4e-4644631433be X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: NZeGfC9EYQKoZoNZ23aYCIsFX9yOtfU/1JQjR7ZwDNilJfM292oLqm8zG+tuSlVcSkNlDXu523sZvIUJhZl+Xg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR11MB8061 X-Proofpoint-GUID: --v71yKKdxOa9E0npn7kYOWckt-bzzBJ X-Proofpoint-ORIG-GUID: --v71yKKdxOa9E0npn7kYOWckt-bzzBJ X-Authority-Analysis: v=2.4 cv=T/l2T+KQ c=1 sm=1 tr=0 ts=677b92b9 cx=c_pps a=l5p8UTqLmUd1ApN92JXWiQ==:117 a=wKuvFiaSGQ0qltdbU6+NXLB8nM8=:19 a=Ol13hO9ccFRV9qXi2t6ftBPywas=:19 a=xqWC_Br6kY4A:10 a=VdSt8ZQiCzkA:10 a=bRTqI5nwn0kA:10 a=t7CeM3EgAAAA:8 a=MUXp0jGbQxZvIRSZPO8A:9 a=FdTzh2GWekK77mhwV6Dw:22 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-01-02_03,2025-01-06_01,2024-11-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 suspectscore=0 impostorscore=0 clxscore=1015 spamscore=0 mlxlogscore=680 phishscore=0 priorityscore=1501 adultscore=0 lowpriorityscore=0 bulkscore=0 malwarescore=0 classifier=spam authscore=0 adjust=0 reason=mlx scancount=1 engine=8.21.0-2411120000 definitions=main-2501060073 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, 06 Jan 2025 08:22:20 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-devel/message/114659 Enable pam packageconfig if pam is in DISTRO_FEATURES. Also set pam module path to ${base_libdir}/security as this is the default path in libpam. Signed-off-by: Yi Zhao --- meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb index 1b41deb099..b24774311d 100644 --- a/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb +++ b/meta-filesystems/recipes-filesystems/zfs/zfs_2.2.5.bb @@ -20,9 +20,11 @@ inherit module-base pkgconfig autotools bash-completion DEPENDS = "virtual/kernel zlib util-linux libtirpc openssl curl" -PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)}" +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd sysvinit', d)} \ + ${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \ + " -PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${libdir}/security, --disable-pam" +PACKAGECONFIG[pam] = "--enable-pam --with-pamconfigsdir=${datadir}/pam-configs --with-pammoduledir=${base_libdir}/security, --disable-pam" PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd," PACKAGECONFIG[sysvinit] = "--enable-sysvinit,--disable-sysvinit," @@ -69,6 +71,8 @@ FILES:${PN} += "\ ${bindir} \ ${libexecdir}/${BPN} \ ${libdir} \ + ${datadir}/pam-configs \ + ${base_libdir}/security \ " FILES:${PN}-dev += "\