<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:04:42 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-6950] Lustre mount throws away SELinux context options</title>
                <link>https://jira.whamcloud.com/browse/LU-6950</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Lustre mounts do not support SELinux context options to allow applying an SELinux context across the entire mount.&lt;/p&gt;

&lt;p&gt;Steps to Reproduce&lt;/p&gt;

&lt;p&gt;1. Install CentOS 6 based Lustre client with default SELinux configuration&lt;br/&gt;
2. Attempt to mount Lustre volume with SELinux context&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;# mount -t lustre -o context=system_u:object_r:user_home_t:s0 mds@tcp:/testfs /mnt/
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;3. Error message is produced:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;mount.lustre: mount mds@tcp:/testfs at /mnt failed: Invalid argument
This may have multiple causes.
Is &lt;span class=&quot;code-quote&quot;&gt;&apos;testfs&apos;&lt;/span&gt; the correct filesystem name?
Are the mount options correct?
Check the syslog &lt;span class=&quot;code-keyword&quot;&gt;for&lt;/span&gt; more info.\
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Syslog messages:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;LNet: Added LNI 192.168.122.120@tcp [8/256/0/180]
LNet: Accept secure, port 988
LustreError: 152-6: Unknown option &lt;span class=&quot;code-quote&quot;&gt;&apos;context=&lt;span class=&quot;code-quote&quot;&gt;&quot;system_u:object_r:user_home_t:s0&quot;&lt;/span&gt;&apos;&lt;/span&gt;, won&apos;t mount.
Lustre: Unmounted testfs-client
LustreError: 1265:0:(obd_mount.c:1342:lustre_fill_super()) Unable to mount  (-22)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31339">LU-6950</key>
            <summary>Lustre mount throws away SELinux context options</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="dmiter">Dmitry Eremin</assignee>
                                    <reporter username="awellington">Andrew Wellington</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 4 Aug 2015 05:01:13 +0000</created>
                <updated>Tue, 28 Mar 2017 20:30:27 +0000</updated>
                            <resolved>Thu, 24 Sep 2015 19:33:59 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>11</watches>
                                                                            <comments>
                            <comment id="123140" author="gerrit" created="Tue, 4 Aug 2015 05:39:40 +0000"  >&lt;p&gt;Andrew Wellington (andrew.wellington@anu.edu.au) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/15840&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15840&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6950&quot; title=&quot;Lustre mount throws away SELinux context options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6950&quot;&gt;&lt;del&gt;LU-6950&lt;/del&gt;&lt;/a&gt; utils: support SELinux context labelling&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 7551ead5b7b52db38306f20d526d5f8639a380c4&lt;/p&gt;</comment>
                            <comment id="128408" author="gerrit" created="Thu, 24 Sep 2015 17:59:13 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/15840/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/15840/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6950&quot; title=&quot;Lustre mount throws away SELinux context options&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6950&quot;&gt;&lt;del&gt;LU-6950&lt;/del&gt;&lt;/a&gt; utils: support SELinux context labelling&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 0e741fc858bd63d4039ac9a0ef8301baf6e6f9db&lt;/p&gt;</comment>
                            <comment id="128420" author="jgmitter" created="Thu, 24 Sep 2015 19:33:59 +0000"  >&lt;p&gt;Landed for 2.8&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="26231">LU-5560</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="33088">LU-7417</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|hzxjp3:</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>