<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:08:43 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-7417] Permission Denied on enforcing SElinux on Client</title>
                <link>https://jira.whamcloud.com/browse/LU-7417</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Enabled SElinux on Client node and tried running sanity.sh Got the following output in terminal window:&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;[root@eagle-52vm5 tests]# sestatus
SELinux status:                 enabled
SELinuxfs mount:                /selinux
Current mode:                   enforcing
Mode from config file:          enforcing
Policy version:                 24
Policy from config file:        targeted
[root@eagle-52vm5 tests]# ./auster -v -r -l sanity --only 1
Started at Wed Nov 11 13:01:36 PST 2015
eagle-52vm5: Permission denied.
[root@eagle-52vm5 tests]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Tests ran fine when SElinux was in disabled or permissive mode.&lt;/p&gt;</description>
                <environment>1 Client node, 1 MDS node, 1 OSS node (with two OSTs)&lt;br/&gt;
</environment>
        <key id="33088">LU-7417</key>
            <summary>Permission Denied on enforcing SElinux on Client</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="6" iconUrl="https://jira.whamcloud.com/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="3">Duplicate</resolution>
                                        <assignee username="standan">Saurabh Tandan</assignee>
                                    <reporter username="standan">Saurabh Tandan</reporter>
                        <labels>
                    </labels>
                <created>Wed, 11 Nov 2015 00:20:19 +0000</created>
                <updated>Fri, 13 Nov 2015 21:19:06 +0000</updated>
                            <resolved>Fri, 13 Nov 2015 21:19:06 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="133201" author="jhammond" created="Wed, 11 Nov 2015 02:48:17 +0000"  >&lt;p&gt;Have you checked that the SELinux contexts are correct on /root/.ssh and /root/.ssh/*?&lt;/p&gt;</comment>
                            <comment id="133291" author="standan" created="Wed, 11 Nov 2015 19:29:30 +0000"  >&lt;p&gt;John, I checked the SElinux contexts on /root/.ssh and /root/.ssh/*  , it looks good to me.&lt;br/&gt;
they are as follows:&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;[root@eagle-52vm5 tests]# ls -dZ /root/.ssh/
drwx------. root root system_u:object_r:ssh_home_t:s0  /root/.ssh/
[root@eagle-52vm5 tests]# ls -Z /root/.ssh/
-rw-r--r--. root root system_u:object_r:ssh_home_t:s0  authorized_keys
-rw-r--r--. root root system_u:object_r:ssh_home_t:s0  known_hosts
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="133295" author="jhammond" created="Wed, 11 Nov 2015 20:02:04 +0000"  >&lt;p&gt;What are they?&lt;/p&gt;</comment>
                            <comment id="133297" author="jhammond" created="Wed, 11 Nov 2015 20:11:21 +0000"  >&lt;p&gt;Also please figure out what&apos;s printing &apos;Permission denied&apos;? And from exactly which lines in auster/test-framework/sanity/...?&lt;/p&gt;</comment>
                            <comment id="133304" author="standan" created="Wed, 11 Nov 2015 21:14:10 +0000"  >&lt;p&gt;/var/log/messages show the following:&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;Nov 11 13:11:40 eagle-52vm5 xinetd[1558]: START: shell pid=2526 from=::ffff:10.100.4.186
Nov 11 13:11:40 eagle-52vm5 rshd[2526]: rsh denied to root@eagle-52vm5.eagle.hpdd.intel.com as root: Permission denied.
Nov 11 13:11:40 eagle-52vm5 rshd[2526]: rsh command was &apos;(PATH=$PATH:/usr/lib64/lustre/utils:/usr/lib64/lustre/tests:/sbin:/usr/sbin; cd /usr/lib64/lustre/tests; LUSTRE=&quot;/usr/lib64/lustre&quot;  VERBOSE=false FSTYPE=ldiskfs NETTYPE=tcp sh -c &quot;PATH=/usr/lib64/lustre/tests:/usr/lib/lustre/tests:/usr/lib64/lustre/tests:/usr/lib64/lustre/tests/mpi:/usr/lib64/lustre/tests/racer:/usr/lib64/lustre/../lustre-iokit/sgpdd-survey:/usr/lib64/lustre/tests:/usr/lib64/lustre/utils/gss:/usr/lib64/lustre/utils:/usr/lib64/qt-3.3/bin:/usr/lib64/openmpi/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin::/sbin:/bin:/usr/sbin: NAME=local sh rpc.sh check_config_client /mnt/lustre &quot;);echo XXRETCODE:$?&apos;
Nov 11 13:11:40 eagle-52vm5 xinetd[1558]: EXIT: shell status=1 pid=2526 duration=0(sec)
[root@eagle-52vm5 tests]# 

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;/var/log/secure shows :&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;Nov 11 13:11:40 eagle-52vm5 rshd[2526]: pam_rhosts(rsh:auth): allowed access to root@eagle-52vm5.eagle.hpdd.intel.com as root
Nov 11 13:11:40 eagle-52vm5 rshd[2526]: pam_limits(rsh:session): Could not set limit for &apos;memlock&apos;: Permission denied
Nov 11 13:11:40 eagle-52vm5 rshd[2526]: pam_unix(rsh:session): session opened for user root by (uid=0)

&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="133355" author="jhammond" created="Thu, 12 Nov 2015 16:41:34 +0000"  >&lt;p&gt;Does ssh work between the nodes? You could configure pdsh to use that.&lt;/p&gt;

&lt;p&gt;Otherwise, what do you see in /var/log/audit/audit.log on the remote host when you try to rsh? (It looks like you are rsh-ing from eagle-52vm5 to eagle-52vm5.)&lt;/p&gt;</comment>
                            <comment id="133389" author="standan" created="Thu, 12 Nov 2015 18:59:19 +0000"  >&lt;p&gt;Yes, I recon u are correct. It appears its trying to rsh from eagle-52vm5 to eagle-52vm5 according to /var/log/audit/audit.log&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;type=USER_AUTH msg=audit(1447354166.507:1137): user pid=8070 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:rshd_t:s0-s0:c0.c1023 msg=&apos;op=PAM:authentication acct=&quot;root&quot; exe=&quot;/usr/sbin/in.rshd&quot; hostname=eagle-52vm5.eagle.hpdd.intel.com addr=10.100.4.186 terminal=rsh res=success&apos;
type=USER_ACCT msg=audit(1447354166.518:1138): user pid=8070 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:rshd_t:s0-s0:c0.c1023 msg=&apos;op=PAM:accounting acct=&quot;root&quot; exe=&quot;/usr/sbin/in.rshd&quot; hostname=eagle-52vm5.eagle.hpdd.intel.com addr=10.100.4.186 terminal=rsh res=success&apos;
type=CRED_ACQ msg=audit(1447354166.521:1139): user pid=8070 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:rshd_t:s0-s0:c0.c1023 msg=&apos;op=PAM:setcred acct=&quot;root&quot; exe=&quot;/usr/sbin/in.rshd&quot; hostname=eagle-52vm5.eagle.hpdd.intel.com addr=10.100.4.186 terminal=rsh res=success&apos;
type=LOGIN msg=audit(1447354166.524:1140): pid=8070 uid=0 subj=system_u:system_r:rshd_t:s0-s0:c0.c1023 old auid=4294967295 new auid=0 old ses=4294967295 new ses=172
type=AVC msg=audit(1447354166.524:1141): avc:  denied  { setrlimit } for  pid=8070 comm=&quot;in.rshd&quot; scontext=system_u:system_r:rshd_t:s0-s0:c0.c1023 tcontext=system_u:system_r:rshd_t:s0-s0:c0.c1023 tclass=process
type=SYSCALL msg=audit(1447354166.524:1141): arch=c000003e syscall=160 success=no exit=-13 a0=8 a1=7fff309dc7a0 a2=0 a3=26 items=0 ppid=1558 pid=8070 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=172 comm=&quot;in.rshd&quot; exe=&quot;/usr/sbin/in.rshd&quot; subj=system_u:system_r:rshd_t:s0-s0:c0.c1023 key=(null)
type=USER_START msg=audit(1447354166.525:1142): user pid=8070 uid=0 auid=0 ses=172 subj=system_u:system_r:rshd_t:s0-s0:c0.c1023 msg=&apos;op=PAM:session_open acct=&quot;root&quot; exe=&quot;/usr/sbin/in.rshd&quot; hostname=eagle-52vm5.eagle.hpdd.intel.com addr=10.100.4.186 terminal=rsh res=failed&apos;
type=USER_LOGIN msg=audit(1447354166.527:1143): user pid=8070 uid=0 auid=0 ses=172 subj=system_u:system_r:rshd_t:s0-s0:c0.c1023 msg=&apos;op=login acct=&quot;root&quot; exe=&quot;/usr/sbin/in.rshd&quot; hostname=eagle-52vm5.eagle.hpdd.intel.com addr=10.100.4.186 terminal=rsh res=failed&apos;
type=USER_ACCT msg=audit(1447354201.227:1144): user pid=8075 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg=&apos;op=PAM:accounting acct=&quot;root&quot; exe=&quot;/usr/sbin/crond&quot; hostname=? addr=? terminal=cron res=success&apos;
type=CRED_ACQ msg=audit(1447354201.227:1145): user pid=8075 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg=&apos;op=PAM:setcred acct=&quot;root&quot; exe=&quot;/usr/sbin/crond&quot; hostname=? addr=? terminal=cron res=success&apos;
type=LOGIN msg=audit(1447354201.236:1146): pid=8075 uid=0 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 old auid=4294967295 new auid=0 old ses=4294967295 new ses=173
type=USER_START msg=audit(1447354201.246:1147): user pid=8075 uid=0 auid=0 ses=173 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg=&apos;op=PAM:session_open acct=&quot;root&quot; exe=&quot;/usr/sbin/crond&quot; hostname=? addr=? terminal=cron res=success&apos;
type=CRED_DISP msg=audit(1447354201.349:1148): user pid=8075 uid=0 auid=0 ses=173 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg=&apos;op=PAM:setcred acct=&quot;root&quot; exe=&quot;/usr/sbin/crond&quot; hostname=? addr=? terminal=cron res=success&apos;
type=USER_END msg=audit(1447354201.350:1149): user pid=8075 uid=0 auid=0 ses=173 subj=system_u:system_r:crond_t:s0-s0:c0.c1023 msg=&apos;op=PAM:session_close acct=&quot;root&quot; exe=&quot;/usr/sbin/crond&quot; hostname=? addr=? terminal=cron res=success&apos;
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="133513" author="standan" created="Fri, 13 Nov 2015 21:19:06 +0000"  >&lt;p&gt;TEI-4187&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="31339">LU-6950</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="26231">LU-5560</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                                        </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|hzxss7:</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>