<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:07:24 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>Whamcloud Community JIRA</title>
    <link>https://jira.whamcloud.com</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.4.14</version>
        <build-number>940014</build-number>
        <build-date>05-12-2023</build-date>
    </build-info>


<item>
            <title>[LU-7264] store ChangeLog record for security.* xattr changes</title>
                <link>https://jira.whamcloud.com/browse/LU-7264</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;After looking at the patch &lt;a href=&quot;http://review.whamcloud.com/15660&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15660&lt;/a&gt; &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6886&quot; title=&quot;declare changelog store for POSIX ACLs in mdd_xattr_del&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6886&quot;&gt;&lt;del&gt;LU-6886&lt;/del&gt;&lt;/a&gt; mdd: declare changelog store for POSIX ACLs&quot; Oleg and I thought that there should also be ChangeLog records for &lt;tt&gt;security.*&lt;/tt&gt; xattr changes as a form of audit and tracking potential permission changes.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32538">LU-7264</key>
            <summary>store ChangeLog record for security.* xattr changes</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.whamcloud.com/images/icons/priorities/major.svg">Major</priority>
                        <status id="5" iconUrl="https://jira.whamcloud.com/images/icons/statuses/resolved.png" description="A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.">Resolved</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="1">Fixed</resolution>
                                        <assignee username="hdoreau">Henri Doreau</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                            <label>easy</label>
                    </labels>
                <created>Wed, 7 Oct 2015 18:53:37 +0000</created>
                <updated>Sat, 17 Dec 2016 14:22:25 +0000</updated>
                            <resolved>Sat, 17 Dec 2016 14:22:25 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.10.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>10</watches>
                                                                            <comments>
                            <comment id="129746" author="adilger" created="Wed, 7 Oct 2015 19:30:21 +0000"  >&lt;p&gt;Is there a need for storing the &lt;tt&gt;security.*&lt;/tt&gt; xattrs, or is that not appropriate for ChangeLog users?&lt;/p&gt;

&lt;p&gt;Should the code that decides which xattrs types to add to the ChangeLog in &lt;tt&gt;mdd_xattr_set()&lt;/tt&gt; and &lt;tt&gt;mdd_xattr_del()&lt;/tt&gt; and their &lt;tt&gt;*&amp;#95;declare()&lt;/tt&gt; functions be abstracted into a helper function like &lt;tt&gt;mdd_xattr_needs_changelog()&lt;/tt&gt; or similar so that we don&apos;t have multiple checks spread throughout the code?  Otherwise, as &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6886&quot; title=&quot;declare changelog store for POSIX ACLs in mdd_xattr_del&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6886&quot;&gt;&lt;del&gt;LU-6886&lt;/del&gt;&lt;/a&gt; showed, it seems too easy that these checks will again become inconsistent in the future. It is already true that &lt;tt&gt;mdd_declare_xattr_set()&lt;/tt&gt; calls &lt;tt&gt;mdd_declare_changelog_store()&lt;/tt&gt; for &lt;em&gt;every&lt;/em&gt; xattr type, but &lt;tt&gt;mdd_xattr_set()&lt;/tt&gt; only records specific xattrs into the ChangeLog.  While not harmful, this adds unnecessary overhead to the transaction and would also be fixed by unifying the checks for which xattr changes are being logged.&lt;/p&gt;</comment>
                            <comment id="129801" author="hdoreau" created="Thu, 8 Oct 2015 08:13:41 +0000"  >&lt;p&gt;It would definitely be valuable to have changelog records for &lt;tt&gt;security.&amp;#42;&lt;/tt&gt;, &lt;tt&gt;trusted.&amp;#42;&lt;/tt&gt;, &lt;tt&gt;user.&amp;#42;&lt;/tt&gt; (already in place) and &lt;tt&gt;system.&amp;#42;&lt;/tt&gt; (i.e. everything but lustre-specific xattrs). The list of desired classes could be controlled from a procfs entry (similar to the changelog mask).&lt;/p&gt;</comment>
                            <comment id="167036" author="hdoreau" created="Fri, 23 Sep 2016 10:54:56 +0000"  >&lt;p&gt;Patch: &lt;a href=&quot;http://review.whamcloud.com/#/c/22697/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/22697/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="178197" author="gerrit" created="Sat, 17 Dec 2016 05:38:24 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/22697/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/22697/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7264&quot; title=&quot;store ChangeLog record for security.* xattr changes&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7264&quot;&gt;&lt;del&gt;LU-7264&lt;/del&gt;&lt;/a&gt; mdd: refactor changelog handling for XATTR ops&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 9ef9c5f9f0ceeaaaac018702286c0c23a8eb5d4b&lt;/p&gt;</comment>
                            <comment id="178255" author="pjones" created="Sat, 17 Dec 2016 14:22:25 +0000"  >&lt;p&gt;Landed for 2.10&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="31158">LU-6886</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                            <customfield id="customfield_10890" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10390" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>1|hzxpuf:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>