<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:32:19 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-10130] mkdir returns -95 EOPNOTSUPP with 2.10.1 on sles 12 sp3 with CONFIG_SECURITY disabled</title>
                <link>https://jira.whamcloud.com/browse/LU-10130</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;A call to security_inode_notifysecctx() on a node running SLES 12 SP3 where CONFIG_SECURITY is disabled returns -95 (EOPNOTSUPP), but a call to that function on a node running SLES 12 SP3 where CONFIG_SECURITY is enabled does not error.&lt;/p&gt;

&lt;p&gt;SLES 12 SP3 - CONFIG_SECURITY disabled:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# mkdir testdir
mkdir: cannot create directory &#8216;testdir&#8217;: Operation not supported
#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;SLES 12 SP3 - CONFIG_SECURITY enabled:&lt;/p&gt;
&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;# mkdir testdir
#
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Lustre 2.10 commit 1d44980bcbd10f35b522acc4543a44dcea62eb72 (&lt;a href=&quot;https://review.whamcloud.com/24426&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/24426&lt;/a&gt;) introduced the problematic code.&lt;/p&gt;</description>
                <environment></environment>
        <key id="48787">LU-10130</key>
            <summary>mkdir returns -95 EOPNOTSUPP with 2.10.1 on sles 12 sp3 with CONFIG_SECURITY disabled</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="3">Duplicate</resolution>
                                        <assignee username="sbuisson">Sebastien Buisson</assignee>
                                    <reporter username="hornc">Chris Horn</reporter>
                        <labels>
                    </labels>
                <created>Tue, 17 Oct 2017 18:07:42 +0000</created>
                <updated>Wed, 18 Oct 2017 22:21:01 +0000</updated>
                            <resolved>Wed, 18 Oct 2017 22:21:01 +0000</resolved>
                                    <version>Lustre 2.10.1</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="211350" author="adilger" created="Wed, 18 Oct 2017 00:56:22 +0000"  >&lt;p&gt;Sebastien, it looks like this was your patch &quot;&lt;a href=&quot;https://jira.whamcloud.com/browse/LU-8956&quot; title=&quot;Improve create performance with SELinux enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-8956&quot;&gt;&lt;del&gt;LU-8956&lt;/del&gt;&lt;/a&gt; llite: set sec ctx on client&apos;s inode at create time&quot;?&lt;/p&gt;</comment>
                            <comment id="211357" author="hornc" created="Wed, 18 Oct 2017 04:20:02 +0000"  >&lt;p&gt;Looks like there&apos;s an assumption that HAVE_SECURITY_DENTRY_INIT_SECURITY implies that the kernel was configured with CONFIG_SECURITY=y.&lt;/p&gt;

&lt;div class=&quot;preformatted panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;preformattedContent panelContent&quot;&gt;
&lt;pre&gt;#ifdef HAVE_SECURITY_DENTRY_INIT_SECURITY
&#8194;&#8194;&#8194;&#8194;&#8194;&#8194;&#8194;&#8194;data-&amp;gt;ocd_connect_flags2 |= OBD_CONNECT2_FILE_SECCTX;
#endif /* HAVE_SECURITY_DENTRY_INIT_SECURITY */
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;So maybe we just need to add an #if defined(CONFIG_SECURITY) there?&lt;/p&gt;</comment>
                            <comment id="211364" author="sbuisson" created="Wed, 18 Oct 2017 07:54:45 +0000"  >&lt;p&gt;Hi,&lt;/p&gt;

&lt;p&gt;This reminds me of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9578&quot; title=&quot;having security_dentry_init_security doesn&amp;#39;t mean it&amp;#39;s enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9578&quot;&gt;&lt;del&gt;LU-9578&lt;/del&gt;&lt;/a&gt;. Now we know the exact reason for the problem, thanks Chris.&lt;br/&gt;
I have rebased patch at &lt;a href=&quot;https://review.whamcloud.com/27364&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/27364&lt;/a&gt;. I think this ticket can be marked as duplicate of &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9578&quot; title=&quot;having security_dentry_init_security doesn&amp;#39;t mean it&amp;#39;s enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9578&quot;&gt;&lt;del&gt;LU-9578&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Thanks,&lt;br/&gt;
Sebastien.&lt;/p&gt;</comment>
                            <comment id="211371" author="pjones" created="Wed, 18 Oct 2017 11:34:34 +0000"  >&lt;p&gt;Thank you both. Chris, please confirm whether the fix from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9578&quot; title=&quot;having security_dentry_init_security doesn&amp;#39;t mean it&amp;#39;s enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9578&quot;&gt;&lt;del&gt;LU-9578&lt;/del&gt;&lt;/a&gt; works in your tests&lt;/p&gt;</comment>
                            <comment id="211440" author="hornc" created="Wed, 18 Oct 2017 22:18:19 +0000"  >&lt;blockquote&gt;&lt;p&gt;Thank you both. Chris, please confirm whether the fix from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-9578&quot; title=&quot;having security_dentry_init_security doesn&amp;#39;t mean it&amp;#39;s enabled&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-9578&quot;&gt;&lt;del&gt;LU-9578&lt;/del&gt;&lt;/a&gt; works in your tests&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Confirmed&lt;/p&gt;</comment>
                            <comment id="211441" author="pjones" created="Wed, 18 Oct 2017 22:21:01 +0000"  >&lt;p&gt;Thanks Chris&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="46398">LU-9578</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="42511">LU-8956</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|hzzm0v:</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>