<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:52 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-7086] RHEL made /sbin a symlink to /usr/sbin/</title>
                <link>https://jira.whamcloud.com/browse/LU-7086</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;We have a code in test-framework.sh that tries to avoid double-mounting /sbin/mount.lustre when running from a built tree:&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;       local mount_lustre=$LUSTRE/utils/mount.lustre
        &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; [ -f $mount_lustre ]; then
                local sbin_mount=/sbin/mount.lustre
                &lt;span class=&quot;code-keyword&quot;&gt;if&lt;/span&gt; grep -qw &lt;span class=&quot;code-quote&quot;&gt;&quot;$sbin_mount&quot;&lt;/span&gt; /proc/mounts; then
                        cmp -s $mount_lustre $sbin_mount || umount $sbin_mount
                fi
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;In rhel7 and other new distros with the /sbin -&amp;gt; /usr/sbin symlink that never matches, /proc/mounts output is like this:&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;192.168.10.1:/exports/centos7-nfsroot/home/green/git/lustre-release/lustre/utils/mount.lustre /usr/sbin/mount.lustre nfs4 rw,relatime,vers=4.0,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,port=0,timeo=600,retrans=2,sec=sys,clientaddr=192.168.10.232,local_lock=none,addr=192.168.10.1 0 0
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is sounds mostly harmless, after all whats acouple of more bind mounts, right? Except for an unknown reason (I am still looking), rhel7 kernel is doubling size of mnt_cache slab on every such bind mount, so 7 iterations in the cache takes 120 megabytes, next iteration brings it to 240 and so on. It does add up quickly and some other slabs also grow (though not as drastically), so we quickly run out of memory (I tried and rhel6 kernel does not have this problem).&lt;/p&gt;</description>
                <environment></environment>
        <key id="31853">LU-7086</key>
            <summary>RHEL made /sbin a symlink to /usr/sbin/</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="emoly.liu">Emoly Liu</assignee>
                                    <reporter username="green">Oleg Drokin</reporter>
                        <labels>
                    </labels>
                <created>Tue, 1 Sep 2015 22:28:01 +0000</created>
                <updated>Fri, 1 Jul 2016 18:45:59 +0000</updated>
                            <resolved>Wed, 28 Oct 2015 15:30:55 +0000</resolved>
                                                    <fixVersion>Lustre 2.8.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>8</watches>
                                                                            <comments>
                            <comment id="125966" author="pjones" created="Tue, 1 Sep 2015 23:06:09 +0000"  >&lt;p&gt;Emoly&lt;/p&gt;

&lt;p&gt;Could you please look into this issue?&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="128221" author="gerrit" created="Wed, 23 Sep 2015 09:07:03 +0000"  >&lt;p&gt;Emoly Liu (emoly.liu@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16606&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16606&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7086&quot; title=&quot;RHEL made /sbin a symlink to /usr/sbin/&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7086&quot;&gt;&lt;del&gt;LU-7086&lt;/del&gt;&lt;/a&gt; tests: resolve /sbin symlink in test-framework.sh&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 55d693fbe3ce9633c992761d2887174716b64706&lt;/p&gt;</comment>
                            <comment id="131816" author="gerrit" created="Wed, 28 Oct 2015 13:51:34 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/16606/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16606/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7086&quot; title=&quot;RHEL made /sbin a symlink to /usr/sbin/&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7086&quot;&gt;&lt;del&gt;LU-7086&lt;/del&gt;&lt;/a&gt; tests: resolve /sbin symlink in test-framework.sh&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 8f9ab85d3c79f06c9db6b7b44368857a4714d455&lt;/p&gt;</comment>
                            <comment id="131847" author="jgmitter" created="Wed, 28 Oct 2015 15:30:55 +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 ">
                                                        </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|hzxm2v:</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>