<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:53:15 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-5641] sanity.sh test_103a &quot;acl test&quot; fails on el7</title>
                <link>https://jira.whamcloud.com/browse/LU-5641</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Test 103a fails when the client node is running el7. some of the permissions subtests of 103a assume the user &apos;daemon&apos; is a member of the group &apos;bin&apos;. In a default install of el7 this isn&apos;t true. If I manually add &apos;daemon&apos; as a member of the group &apos;bin&apos; by editing the /etc/group file on the client node(s) for the test then test 103a passes 100%.&lt;/p&gt;

&lt;p&gt;I think it may be a TEI issue to ensure that the expected, assumed user/group setup is done on el7 test installs.&lt;/p&gt;</description>
                <environment>el7</environment>
        <key id="26649">LU-5641</key>
            <summary>sanity.sh test_103a &quot;acl test&quot; fails on el7</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="bogl">Bob Glossman</assignee>
                                    <reporter username="bogl">Bob Glossman</reporter>
                        <labels>
                            <label>MB</label>
                    </labels>
                <created>Thu, 18 Sep 2014 21:10:52 +0000</created>
                <updated>Tue, 7 Dec 2021 19:24:50 +0000</updated>
                            <resolved>Mon, 12 Jan 2015 18:50:44 +0000</resolved>
                                    <version>Lustre 2.7.0</version>
                                    <fixVersion>Lustre 2.7.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="94526" author="adilger" created="Fri, 19 Sep 2014 17:51:12 +0000"  >&lt;p&gt;It would be nice to have an actual error message in the bug to search for.&lt;/p&gt;</comment>
                            <comment id="94534" author="bogl" created="Fri, 19 Sep 2014 18:17:18 +0000"  >&lt;p&gt;errors seen:&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;  .
  .
  .
performing permissions...
[12] $ id -u -- ok
  .
  .
  .
[52] $ su daemon -- ok
[53] $ cat f -- failed
root                                  ? cat: f: Permission denied              
bin                                   ? ~                                      
[57] $ echo daemon &amp;gt;&amp;gt; f -- ok
  .
  .
  .
[173] $ setfacl -m g:bin:r,g:daemon:w f -- ok
[175] $ su daemon -- ok
[176] $ : &amp;lt; f -- failed
~                                     ? f: Permission denied                   
[177] $ : &amp;gt; f -- ok
[178] $ : &amp;lt;&amp;gt; f -- ok
  .
  .
  .
[283] $ cd .. -- ok
[284] $ rm -rf d -- ok
101 commands (99 passed, 2 failed)
 sanity test_103a: @@@@@@ FAIL: permissions failed 
  Trace dump:
  = /usr/lib64/lustre/tests/test-framework.sh:4571:error_noexit()
  = /usr/lib64/lustre/tests/test-framework.sh:4602:error()
  = /usr/lib64/lustre/tests/sanity.sh:6874:test_103a()
  = /usr/lib64/lustre/tests/test-framework.sh:4849:run_one()
  = /usr/lib64/lustre/tests/test-framework.sh:4884:run_one_logged()
  = /usr/lib64/lustre/tests/test-framework.sh:4703:run_test()
  = /usr/lib64/lustre/tests/sanity.sh:6910:main()
Dumping lctl log to /tmp/test_logs/2014-09-19/111136/sanity.test_103a.*.1411150356.log
FAIL 103a (14s)
resend_count is set to 4 4
resend_count is set to 4 4
resend_count is set to 4 4
resend_count is set to 4 4
resend_count is set to 4 4
== sanity test complete, duration 21 sec ============================================================= 11:12:38 (1411150358)
sanity: FAIL: test_103a permissions failed
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="94535" author="adilger" created="Fri, 19 Sep 2014 18:21:53 +0000"  >&lt;p&gt;The problem is that &lt;tt&gt;lustre/tests/acl/{misc,permission}.test&lt;/tt&gt; expect that daemon is in the bin group, and that is not easily changed in the test itself (the requirements are described at the top of these files).  On my RHEL6 &lt;tt&gt;/etc/group&lt;/tt&gt; the system accounts look like:&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;bin:x:1:root,bin,daemon
daemon:x:2:root,bin,daemon
sys:x:3:root,bin,adm
adm:x:4:root,adm,daemon
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It would be useful to see what the /etc/group file looks like for RHEL7, so that it might be possible to just replace &quot;bin&quot; and/or &quot;daemon&quot; in the expect output and it will continue to work for both RHEL6 and RHEL7 and SLES11.&lt;/p&gt;

&lt;p&gt;Probably the best option is to download the &quot;acl&quot; source RPM from RHEL7 to get an updated copy of the scripts and expect output from the &quot;test&quot; directory.  It might be necessary to put this into a separate subdirectory (e.g. lustre/tests/acl-rhel7) but would probably improve our test coverage.&lt;/p&gt;</comment>
                            <comment id="94540" author="bogl" created="Fri, 19 Sep 2014 19:10:35 +0000"  >&lt;p&gt;yes, I said that was the problem in my initial description.  by default in el7 /etc/group user &apos;daemon&apos; is not a member of group &apos;bin&apos;.&lt;/p&gt;

&lt;p&gt;There&apos;s another option.  the cmd &apos;gpasswd -a daemon bin&apos; can be used to add user &apos;daemon&apos; to group &apos;bin&apos; sometime before running the test.  Doing so would meke the environment conform to the expectations of the test. This cmd is available everywhere, in all distros and versions that I have polled.   It is safe to use as it appears to be a noop when &apos;daemon&apos; is already a member of the group.  The only problem I see is who does this and on what nodes.  I had suggested something like this be done during provisioning of el7 nodes in the TEI framework.  Seems comparable to operations they already do like adding extra user &amp;amp; group entries into our test environment.&lt;/p&gt;</comment>
                            <comment id="94879" author="bogl" created="Wed, 24 Sep 2014 19:21:02 +0000"  >&lt;p&gt;proposed fix:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/12044&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12044&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="98446" author="adilger" created="Wed, 5 Nov 2014 19:03:38 +0000"  >&lt;p&gt;I looks like sanity.sh test_103a passed for RHEL 7 according to:&lt;br/&gt;
&lt;a href=&quot;https://testing.hpdd.intel.com/test_sets/bc4bc48a-4f69-11e4-9892-5254006e85c2&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://testing.hpdd.intel.com/test_sets/bc4bc48a-4f69-11e4-9892-5254006e85c2&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="99446" author="bogl" created="Tue, 18 Nov 2014 01:30:52 +0000"  >&lt;p&gt;need to reopen this to do more fixes for el7 server. the previous fix for this problem only fixed it for el7 clients.&lt;/p&gt;</comment>
                            <comment id="99448" author="gerrit" created="Tue, 18 Nov 2014 01:37:45 +0000"  >&lt;p&gt;Bob Glossman (bob.glossman@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/12762&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12762&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5641&quot; title=&quot;sanity.sh test_103a &amp;quot;acl test&amp;quot; fails on el7&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5641&quot;&gt;&lt;del&gt;LU-5641&lt;/del&gt;&lt;/a&gt; tests: ensure user daemon is in group bin on mds&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: bfcc1c2f167427688f645c1a26f0abe2d036a5eb&lt;/p&gt;</comment>
                            <comment id="99449" author="bogl" created="Tue, 18 Nov 2014 01:38:16 +0000"  >&lt;p&gt;additional fix for el7 servers:&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/12762&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12762&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="99886" author="gerrit" created="Sun, 23 Nov 2014 07:14:10 +0000"  >&lt;p&gt;Oleg Drokin (oleg.drokin@intel.com) merged in patch &lt;a href=&quot;http://review.whamcloud.com/12762/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/12762/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-5641&quot; title=&quot;sanity.sh test_103a &amp;quot;acl test&amp;quot; fails on el7&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-5641&quot;&gt;&lt;del&gt;LU-5641&lt;/del&gt;&lt;/a&gt; tests: ensure user daemon is in group bin on mds&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 31832fab6d6da74e627133139b0c59c1dc07e62c&lt;/p&gt;</comment>
                            <comment id="103221" author="jlevi" created="Mon, 12 Jan 2015 18:50:44 +0000"  >&lt;p&gt;Patch landed to Master.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="26647">LU-5689</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="67278">LU-15259</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|hzwwov:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>15802</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>