<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:09 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-7003] append_context_for_mount() must quote the value of the context option</title>
                <link>https://jira.whamcloud.com/browse/LU-7003</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;In &lt;tt&gt;append_context_for_mount()&lt;/tt&gt; the SELinux context of the temporary directory is appended to the mount options by&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;strcat(mop-&amp;gt;mo_ldd.ldd_mount_opts, &lt;span class=&quot;code-quote&quot;&gt;&quot;,context=&quot;&lt;/span&gt;);
strcat(mop-&amp;gt;mo_ldd.ldd_mount_opts, fcontext);
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is incorrect since as &lt;tt&gt;mount.8&lt;/tt&gt; notes&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;Warning: the context value might contain commas, in which case the  value
has to be properly quoted, otherwise mount(8) will interpret the comma as
a separator between mount options.  Don&apos;t forget that  the  shell  strips
off quotes and thus double quoting is required.  For example:

    mount -t tmpfs none /mnt -o &apos;context=&quot;system_u:object_r:tmp_t:s0:c127,c456&quot;,noexec&apos;

For more details, see selinux(8).
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="31470">LU-7003</key>
            <summary>append_context_for_mount() must quote the value of the context option</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="4" iconUrl="https://jira.whamcloud.com/images/icons/priorities/minor.svg">Minor</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="jhammond">John Hammond</assignee>
                                    <reporter username="jhammond">John Hammond</reporter>
                        <labels>
                            <label>SELinux</label>
                    </labels>
                <created>Thu, 13 Aug 2015 15:16:45 +0000</created>
                <updated>Fri, 27 Jan 2017 23:05:49 +0000</updated>
                            <resolved>Mon, 14 Mar 2016 03:14:15 +0000</resolved>
                                    <version>Lustre 2.5.0</version>
                    <version>Lustre 2.7.0</version>
                    <version>Lustre 2.8.0</version>
                                    <fixVersion>Lustre 2.9.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="124064" author="jgmitter" created="Thu, 13 Aug 2015 17:20:57 +0000"  >&lt;p&gt;John,&lt;br/&gt;
Assigning to you as I understand you are taking on this work.&lt;br/&gt;
Thanks.&lt;br/&gt;
Joe&lt;/p&gt;</comment>
                            <comment id="141140" author="gerrit" created="Thu, 4 Feb 2016 10:13:21 +0000"  >&lt;p&gt;Frederic Saunier (frederic.saunier@atos.net) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/18294&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18294&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7003&quot; title=&quot;append_context_for_mount() must quote the value of the context option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7003&quot;&gt;&lt;del&gt;LU-7003&lt;/del&gt;&lt;/a&gt; utils: must quote the value of the context option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 0d065c5be87fa4719f887fab6162739434d61887&lt;/p&gt;</comment>
                            <comment id="145371" author="gerrit" created="Mon, 14 Mar 2016 02:42:00 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/18294/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/18294/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7003&quot; title=&quot;append_context_for_mount() must quote the value of the context option&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7003&quot;&gt;&lt;del&gt;LU-7003&lt;/del&gt;&lt;/a&gt; utils: must quote the value of the context option&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 33690b1276cf9730d680a789c7786f45e961fbf5&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|hzxkfr:</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>