<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:17:40 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-8454] non-root user is able to change stripe size for mount point</title>
                <link>https://jira.whamcloud.com/browse/LU-8454</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A non-root user is able to setstripe on the mount point to -1, with the owner:group of the mounted point being root:root and mode 0755. This causes all users of the file system to get wide stripes as the default, which is undesirable.&lt;/p&gt;</description>
                <environment></environment>
        <key id="38513">LU-8454</key>
            <summary>non-root user is able to change stripe size for mount point</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</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="laisiyao">Lai Siyao</assignee>
                                    <reporter username="laisiyao">Lai Siyao</reporter>
                        <labels>
                    </labels>
                <created>Mon, 1 Aug 2016 07:25:31 +0000</created>
                <updated>Wed, 17 Feb 2021 23:17:37 +0000</updated>
                            <resolved>Mon, 26 Sep 2016 15:49:56 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                    <fixVersion>Lustre 2.14.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="160406" author="gerrit" created="Mon, 1 Aug 2016 07:30:30 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/21612&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/21612&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8454&quot; title=&quot;non-root user is able to change stripe size for mount point&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8454&quot;&gt;&lt;del&gt;LU-8454&lt;/del&gt;&lt;/a&gt; llite: normal user can&apos;t set FS default stripe&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: e5c12038a4379226bbc00f958e62120347b7c18b&lt;/p&gt;</comment>
                            <comment id="162625" author="gerrit" created="Mon, 22 Aug 2016 03:45:38 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/21612/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/21612/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8454&quot; title=&quot;non-root user is able to change stripe size for mount point&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8454&quot;&gt;&lt;del&gt;LU-8454&lt;/del&gt;&lt;/a&gt; llite: normal user can&apos;t set FS default stripe&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: a2ba6c0c6e7b22ae31280253cd916fa3e29bd749&lt;/p&gt;</comment>
                            <comment id="162673" author="pjones" created="Mon, 22 Aug 2016 15:57:51 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                            <comment id="165589" author="adilger" created="Sat, 10 Sep 2016 06:49:09 +0000"  >&lt;p&gt;The change to store the default layout on the root directory was only landed to 2.9.0 via &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7660&quot; title=&quot;FS default striping settings only honored on MDT 0&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7660&quot;&gt;&lt;del&gt;LU-7660&lt;/del&gt;&lt;/a&gt;, so disabling this feature in 2.10 already is too agressive.  That means a 2.10+ client mounting a 2.8 server will not be able to set the default layout properly.&lt;/p&gt;

&lt;p&gt;Probably something like &amp;gt; 2.13.53 (i.e. for 2.14 release) is more appropriate, since that would be at least one major maintenance release cycle (usually 3x point releases) beyond the first major maintenance release that it will appear in (somewhere around 2.10 or 2.11). &lt;/p&gt;

&lt;p&gt;Also, in addition to removing the code in &lt;tt&gt;ll_set_dirstripe()&lt;/tt&gt; on the client, it also needs to #ifdef &lt;tt&gt;ll_send_mgc_param()&lt;/tt&gt;, &lt;tt&gt;mgc_set_mgs_param()&lt;/tt&gt;, and &lt;tt&gt;KEY_SET_INFO&lt;/tt&gt; in &lt;tt&gt;mgc_set_info_async()&lt;/tt&gt;, since they will all be unused at that point and if that code isn&apos;t tagged now for removal it will just sit there dead and/or create compiler warnings.&lt;/p&gt;

&lt;p&gt;Also, the code on the MGS that handles these parameters needs to be #ifdef&apos;d, namely &lt;tt&gt;mgs_set_info()&lt;/tt&gt;, as well as &lt;tt&gt;struct mgs_send_param&lt;/tt&gt; and associated code in wirecheck.c and wiretest.c, since that RPC codepath was already limited to handling only the &lt;tt&gt;lov.stripe&amp;#95;&amp;#42;&lt;/tt&gt; parameters in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7661&quot; title=&quot;MGS_SET_INFO handler is too permissive&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7661&quot;&gt;&lt;del&gt;LU-7661&lt;/del&gt;&lt;/a&gt; and will now be completely dead.  We might consider to push this out a bit beyond 2.13.52 to allow older clients to continue to work with newer servers, but not much further, e.g. 2.15.52.&lt;/p&gt;</comment>
                            <comment id="166316" author="gerrit" created="Sun, 18 Sep 2016 07:37:54 +0000"  >&lt;p&gt;Lai Siyao (lai.siyao@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/22580&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22580&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8454&quot; title=&quot;non-root user is able to change stripe size for mount point&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8454&quot;&gt;&lt;del&gt;LU-8454&lt;/del&gt;&lt;/a&gt; mountconf: delay FS default stripe config setting&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: bd925f04723f60e469c5c8da741ea9edb009bc8b&lt;/p&gt;</comment>
                            <comment id="167249" author="gerrit" created="Mon, 26 Sep 2016 15:20:03 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/22580/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/22580/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8454&quot; title=&quot;non-root user is able to change stripe size for mount point&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8454&quot;&gt;&lt;del&gt;LU-8454&lt;/del&gt;&lt;/a&gt; mountconf: delay FS default stripe config setting&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 85a7f5801013636284f93fdf0861476c19567ebd&lt;/p&gt;</comment>
                            <comment id="167269" author="pjones" created="Mon, 26 Sep 2016 15:49:56 +0000"  >&lt;p&gt;Landed for 2.9&lt;/p&gt;</comment>
                            <comment id="266489" author="gerrit" created="Wed, 1 Apr 2020 00:32:38 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/38106&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38106&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8454&quot; title=&quot;non-root user is able to change stripe size for mount point&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8454&quot;&gt;&lt;del&gt;LU-8454&lt;/del&gt;&lt;/a&gt; Remove struct mgs_send_param and its users&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b1cd84c6b037f7b872478e05c5c8345b9d5fc421&lt;/p&gt;</comment>
                            <comment id="266903" author="gerrit" created="Mon, 6 Apr 2020 14:28:40 +0000"  >&lt;p&gt;Oleg Drokin (green@whamcloud.com) merged in patch &lt;a href=&quot;https://review.whamcloud.com/38106/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/38106/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8454&quot; title=&quot;non-root user is able to change stripe size for mount point&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8454&quot;&gt;&lt;del&gt;LU-8454&lt;/del&gt;&lt;/a&gt; Remove struct mgs_send_param and its users&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 66b4fd4317f9bd721aaa485c81987cecc049d92f&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                                        </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="34095">LU-7661</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="34094">LU-7660</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|hzyj1z:</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>
                                                                                            <customfield id="customfield_10060" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Severity</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10022"><![CDATA[3]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>