Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3530852imw; Mon, 18 Jul 2022 09:42:06 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sWuDRYvgmWEtaVZ8KUCxTIReHly9Pw/Mwzc6+YUe7XqTT0H9oQfizPBC+/FPbh+w04hc9Q X-Received: by 2002:a05:6a00:1308:b0:528:2ed8:7e3d with SMTP id j8-20020a056a00130800b005282ed87e3dmr29660666pfu.82.1658162526034; Mon, 18 Jul 2022 09:42:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658162526; cv=none; d=google.com; s=arc-20160816; b=j+PJmOeuYOLkf7nO61OlXcNbMLDJN+DN47+1tYzQ1spghsC7QrRcH6UWo11mqZ3u8+ i5aN5wsGQvEIpO3R7ToGOuYuPx3YzEgge8ZqRl+D1/dpcwnJqiiH58+Fr7o46NMAZgTF 2mkJgEti05oO2hsKaDV745j7QNKkhA4RCP7fJNeF9rKfnQtAqQT+BCQ+szkOe3RrTDqq kJzB6O3m5um+STOTHDMLv/zA+5r+m2LlFJejGz8RWqef97AYPk59g7FO0mc28EEP0fo2 /4MwdlFBnbKyPqzLkOrOqOZbDMugw/gZjp0yn1KBx9eKU/cfqvWSui5ZWdrjKLlnrZr9 UBIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:ironport-sdr; bh=YLeOVILFVRZQnezLlTlPItxquo1gvjqkqjP/A2zz4h4=; b=a5vu54Pv23VqKjaVZE+Zc08Z/w+Kyr74pBAU6Ygiwm3SKpNlkNiLIAUL0PGHCS6yT9 Q0SO8HRqnHpb5g9ZVeaCQqUMgYOQiFEw+dX5cf1vgUI08Z3j4qQzjOyeLiog4f5pgMQO pNHGYdR5qvKGgeGj7UEKDVIGvtQcjFIsuaihanwrk6Ll2HS+ngiE35b7HSTf+Vlo7rE2 lvWatuf+P1JUlnGzF/7y0mNCIzT8qPdAsKMsOiVHuPihkEygsrpY79VJcQUQUD4Y4CeN vs8GFClpXDAnF7TdjISLabMcS/dqheRm4RuM1BfO7ZTQQgZOtGa04FjsQo41zSqlV4pI Ehrg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c5-20020a170902d48500b0016a629e2f40si18088494plg.161.2022.07.18.09.41.51; Mon, 18 Jul 2022 09:42:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235378AbiGRQjp (ORCPT + 99 others); Mon, 18 Jul 2022 12:39:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235384AbiGRQj0 (ORCPT ); Mon, 18 Jul 2022 12:39:26 -0400 X-Greylist: delayed 123 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 18 Jul 2022 09:39:24 PDT Received: from esa3.mentor.iphmx.com (esa3.mentor.iphmx.com [68.232.137.180]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2369BC6F for ; Mon, 18 Jul 2022 09:39:22 -0700 (PDT) X-IronPort-AV: E=Sophos;i="5.92,281,1650960000"; d="scan'208";a="79810792" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa3.mentor.iphmx.com with ESMTP; 18 Jul 2022 08:36:16 -0800 IronPort-SDR: RTjfIgzc+dEN6kC/wiahZ34aDq4N/lz4wt2gOaf3gyvKgbBgy7GQpdrAGz0TSAiEUWi+ya5Unr gmkYsvQK+ohtMCEWFgUOpyY66f9X39W1vVK02qBI1H5onSYK75Pc/1vMoVCUJxGv33IMPq9bQ2 oVXSpXODQ6Og1foDv+s8GFj50phjddzVPBJt2HR23rxJmXRZiaFdLlzC1jNdr2lwwmR5DNHLGX AK5/7yyQ++vhwU/PHSyXdo4u6nIwJuPb8F93oY3w+emM9L4h04z8oSkrSns1WQE8vNYUpZYkVK UJM= Message-ID: <032ade35-6eb8-d698-ac44-aa45d46752dd@mentor.com> Date: Mon, 18 Jul 2022 17:36:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH v4 0/3] initramfs: add support for xattrs in the initial ram disk Content-Language: en-GB To: Eugeniu Rosca , Roberto Sassu CC: Rob Landley , "hpa@zytor.com" , Masahiro Yamada , Arvind Sankar , Mimi Zohar , "viro@zeniv.linux.org.uk" , "linux-security-module@vger.kernel.org" , "linux-integrity@vger.kernel.org" , "initramfs@vger.kernel.org" , "linux-api@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bug-cpio@gnu.org" , "zohar@linux.vnet.ibm.com" , Silviu Vlasceanu , Dmitry Kasatkin , "takondra@cisco.com" , "kamensky@cisco.com" , "arnd@arndb.de" , "james.w.mcmechan@gmail.com" , "linux-kbuild@vger.kernel.org" , Dirk Behme , Eugeniu Rosca References: <33cfb804-6a17-39f0-92b7-01d54e9c452d@huawei.com> <1561909199.3985.33.camel@linux.ibm.com> <45164486-782f-a442-e442-6f56f9299c66@huawei.com> <1561991485.4067.14.camel@linux.ibm.com> <0c17bf9e-9b0b-b067-cf18-24516315b682@huawei.com> <20220609102627.GA3922@lxhi-065> <21b3aeab20554a30b9796b82cc58e55b@huawei.com> <20220610153336.GA8881@lxhi-065> <4bc349a59e4042f7831b1190914851fe@huawei.com> <20220615092712.GA4068@lxhi-065> From: Jim Baxter Organization: Siemens Digital Industries Software In-Reply-To: <20220615092712.GA4068@lxhi-065> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-13.mgc.mentorg.com (139.181.222.13) To svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/06/2022 10:27, Eugeniu Rosca wrote: > Hello Roberto, > > On Fr, Jun 10, 2022 at 03:38:24 +0000, Roberto Sassu wrote: >> I would be happy to address the remaining concerns, or take more >> suggestions, and then develop a new version of the patch set. > I face a number of conflicts when I try to rebase the latest openEuler > commits against vanilla master (v5.19-rc2). Do you think it is possible > to submit the rebased version to ML? > > In addition, I can also see some open/unresolved points from Mimi [*]. > Did you by chance find some mutual agreement offline or do you think > they would still potentially need some attention? > > Maybe we can resume the discussion once you submit the rebased series? > > Many thanks and looking forward to it. > > [*] Potentially comments which deserve a reply/clarification/resolution > > https://lore.kernel.org/lkml/1561985652.4049.24.camel@linux.ibm.com/#t > https://lore.kernel.org/lkml/1561908456.3985.23.camel@linux.ibm.com/ > > BR, Eugeniu. > Hello, I have been testing these patches and do not see the xattr information when trying to retrieve it within the initramfs, do you have an example of how you tested this originally? So far I have set the xattr in the rootfs before creating the cpio file like this: $ setfattr -n user.comment -v "this is a comment" test.txt If I access the data here it works: $ getfattr test.txt # file: test.txt user.comment Then I package it and try to verify it with this command: $getfattr /test.txt Which returns to the command line without the data. I believe the cpio is working because I see the file /METADATA\!\!\! in the target root filesystem, which shows the following when viewed with cat -e: 00000028^A^Auser.comment^@this is a comment This matches the data I fed in at the start, so I believe the data is being transferred correctly but I am accessioning it with the wrong tools. Thank you for any help. Best regards, Jim