<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:32:36 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-3288] Enabling GSSAPI support requires Kerberos libraries to be installed</title>
                <link>https://jira.whamcloud.com/browse/LU-3288</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Lustre&apos;s autoconf scripts require Kerberos to be installed when --enable-gss is specified.  Currently, only the Kerberos GSSAPI mechanism supported by Lustre, but others are planned in the future, such as those being developed for shared key authentication (project SFS-DEV-001.2).  GSSAPI is meant to allow calling code to be mechanism-agnostic, so requiring Kerberos defeats that purpose.&lt;/p&gt;

&lt;p&gt;The definition of the LC_CONFIG_GSS macro in lustre/autoconf/lustre-core.m4 unconditionally calls AC_KERBEROS_V5 from lustre/autoconf/kerberos.m4, which fails when Kerberos isn&apos;t found:&lt;/p&gt;

&lt;p&gt;  dnl We didn&apos;t find a usable Kerberos environment&lt;br/&gt;
  if test &quot;x$KRBDIR&quot; = &quot;x&quot;; then&lt;br/&gt;
    if test &quot;x$krb5_with&quot; = &quot;x&quot;; then&lt;br/&gt;
      AC_MSG_ERROR(Kerberos v5 with GSS support not found: consider --disable-gss or --with-krb5=)&lt;br/&gt;
    else&lt;br/&gt;
      AC_MSG_ERROR(Kerberos v5 with GSS support not found at $krb5_with)&lt;br/&gt;
    fi&lt;br/&gt;
  fi&lt;br/&gt;
  AC_MSG_RESULT($KRBDIR)&lt;/p&gt;

&lt;p&gt;This macro ought to instead note the location of the Kerberos headers and libraries but not result in a fatal error if they don&apos;t exist.  I don&apos;t know if this approach will result in link-time or runtime errors that would also need to be corrected.&lt;/p&gt;

&lt;p&gt;Ubuntu also needs GSS libraries:&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;configure: error: libkeyutils is not found, which is required by gss keyring backend
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment>any</environment>
        <key id="18733">LU-3288</key>
            <summary>Enabling GSSAPI support requires Kerberos libraries to be installed</summary>
                <type id="7" iconUrl="https://jira.whamcloud.com/images/icons/issuetypes/task_agile.png">Technical task</type>
                            <parent id="18738">LU-3289</parent>
                                    <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="mdiep">Minh Diep</assignee>
                                    <reporter username="ajk">Andrew Korty</reporter>
                        <labels>
                            <label>SSK</label>
                            <label>gssapi</label>
                            <label>kerberos</label>
                    </labels>
                <created>Tue, 7 May 2013 16:21:30 +0000</created>
                <updated>Thu, 14 Jun 2018 21:41:20 +0000</updated>
                            <resolved>Wed, 2 Oct 2013 17:47:31 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                    <version>Lustre 2.4.0</version>
                    <version>Lustre 2.5.0</version>
                                    <fixVersion>Lustre 2.5.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>12</watches>
                                                                            <comments>
                            <comment id="58676" author="bryon" created="Thu, 16 May 2013 17:49:09 +0000"  >&lt;p&gt;Assigning to Chris for initial assessment of changes required.&lt;/p&gt;</comment>
                            <comment id="58677" author="bryon" created="Thu, 16 May 2013 18:01:56 +0000"  >&lt;p&gt;Also making this a major for now so it doesn&apos;t get lost in Chris&apos;s queue.&lt;/p&gt;</comment>
                            <comment id="59007" author="nrutman" created="Tue, 21 May 2013 19:30:36 +0000"  >&lt;p&gt;So it sounds like first of all there should be two separate options:&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;--enable-gss&lt;/li&gt;
	&lt;li&gt;--enable-krb5&lt;br/&gt;
where the latter also implies the former.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;Secondly Andreas suggested that these both should be enabled automatically, if the required packages are found in the build environment.&lt;/p&gt;</comment>
                            <comment id="59473" author="adilger" created="Tue, 28 May 2013 19:10:30 +0000"  >&lt;p&gt;Is there a specific list of GSS/Kerberos -devel RPMs that are needed for RHEL6 and SLES11SP2?&lt;/p&gt;</comment>
                            <comment id="59478" author="nrutman" created="Tue, 28 May 2013 19:55:15 +0000"  >&lt;p&gt;Some more from Alex K:&lt;br/&gt;
1) &quot;Configure&quot; for kerberos flavor does not contain &quot;kerberos&quot; (or krb5) keyword explicitly, it is as follows (with/without --disable server) :&lt;/p&gt;

&lt;p&gt;./configure -&lt;del&gt;with-linux=/usr/src/kernels/`uname -r`&lt;/del&gt;`arch` --disable-server --enable-dependency-tracking --enable-posix-osd \&lt;br/&gt;
--enable-panic_dumplog --enable-health_write --enable-lru-resize \&lt;br/&gt;
--enable-gss \&lt;br/&gt;
--enable-quota --enable-ext4 --enable-mindf&lt;/p&gt;

&lt;p&gt;It is required in checklist to have gss libraries installed (libgssapi* / libgssglue* ) and krb* rpms .&lt;/p&gt;


&lt;p&gt;2) Here at FNAL the following was used to build lustre servers with kerberised flavor on Scientific Linux ( which is RHEL rebuild which includes kerberos) :&lt;/p&gt;

&lt;p&gt;./configure \&lt;br/&gt;
--with-linux=/lib/modules/2.6.18-274.12.1.el5_FNAL.Lustre.2.1.1/build &lt;br/&gt;
--with-krb5 \&lt;br/&gt;
--enable-gss \&lt;br/&gt;
--enable-ext4 --enable-quota&lt;/p&gt;

&lt;p&gt;Alex.&lt;/p&gt;</comment>
                            <comment id="59479" author="nrutman" created="Tue, 28 May 2013 20:00:30 +0000"  >&lt;blockquote&gt;&lt;p&gt;So it sounds like first of all there should be two separate options:&lt;br/&gt;
--enable-gss&lt;br/&gt;
--enable-krb5&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Note the separation of the build options also implies a separation of #ifdef macros inside of Lustre.&lt;/p&gt;

&lt;p&gt;Also, the existing Lustre security tests eventually need to be separated &amp;#8211; what follows is a wishlist: &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;sanity-gss should become sanity-krb5
	&lt;ul&gt;
		&lt;li&gt;sanity-krg5 should add tests for krb5 &quot;plain&quot; mechanism&lt;/li&gt;
	&lt;/ul&gt;
	&lt;/li&gt;
	&lt;li&gt;sanity-gss should eventually use the gss-null mechanism that IU is developing&lt;/li&gt;
	&lt;li&gt;sanity-sptlrpc should be written to test sptlrpc &quot;null&quot; in the absence of GSS.&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="60937" author="jupmille" created="Thu, 20 Jun 2013 18:29:08 +0000"  >&lt;p&gt;These are the packages that are needed to configure Lustre with --enable-gss on a basic RHEL6.4 x86_64 install:&lt;/p&gt;

&lt;p&gt;keyutils-libs-devel-1.4-4.el6.x86_64&lt;br/&gt;
libgssglue-0.1-11.el6.x86_64.rpm&lt;br/&gt;
libgssglue-devel-0.1-11.el6.x86_64.rpm&lt;br/&gt;
krb5-devel-1.10.3-10.el6_4.3.x86_64.rpm&lt;br/&gt;
these are requirements for krb5-devel:&lt;br/&gt;
libcom_err-devel-1.41.12-14.el6.x86_64.rpm&lt;br/&gt;
libselinux-2.0.94-5.3.el6_4.1.x86_64.rpm&lt;br/&gt;
libselinux-devel-2.0.94-5.3.el6_4.1.x86_64.rpm&lt;br/&gt;
libselinux-utils-2.0.94-5.3.el6_4.1.x86_64.rpm&lt;br/&gt;
libsepol-devel-2.0.41-4.el6.x86_64.rpm&lt;/p&gt;
</comment>
                            <comment id="61965" author="adilger" created="Tue, 9 Jul 2013 19:13:29 +0000"  >&lt;p&gt;Joshua, could you please check that the above list of RPM packages (or their SLES equivalent) is available on our build nodes.&lt;/p&gt;</comment>
                            <comment id="64789" author="joshua" created="Wed, 21 Aug 2013 19:39:14 +0000"  >&lt;p&gt;Ubuntu&lt;br/&gt;
libkeyutils-dev &lt;br/&gt;
libgssglue-dev&lt;br/&gt;
libkrb5-dev&lt;/p&gt;

&lt;p&gt;SUSE&lt;br/&gt;
keyutils-devel&lt;br/&gt;
libgssglue-devel&lt;br/&gt;
krb5-devel&lt;/p&gt;

&lt;p&gt;The other packages will get pulled since they are dependencies.&lt;/p&gt;</comment>
                            <comment id="64791" author="joshua" created="Wed, 21 Aug 2013 21:16:27 +0000"  >&lt;p&gt;Looks like EL5 needs:&lt;/p&gt;

&lt;p&gt;keyutils-libs-devel&lt;br/&gt;
libgssapi-devel&lt;br/&gt;
krb5-devel&lt;/p&gt;</comment>
                            <comment id="64794" author="joshua" created="Wed, 21 Aug 2013 22:15:54 +0000"  >&lt;p&gt;I have installed the packages referenced.  I have retriggered &lt;a href=&quot;http://review.whamcloud.com/#/c/6740/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6740/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="64861" author="joshua" created="Thu, 22 Aug 2013 16:48:45 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/6740/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/6740/&lt;/a&gt; passed its build. Can someone verify that it contains the proper build products, and make sure it has linked against the proper libraries? &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=ajk&quot; class=&quot;user-hover&quot; rel=&quot;ajk&quot;&gt;ajk&lt;/a&gt; ? &lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt;&lt;/p&gt;</comment>
                            <comment id="64881" author="ssimms" created="Thu, 22 Aug 2013 19:45:52 +0000"  >&lt;p&gt;I&apos;m presuming that Andrew doesn&apos;t have privileges to view the build node.  Is that presumption correct or is there a way he could do what you&apos;ve asked?&lt;/p&gt;</comment>
                            <comment id="64910" author="joshua" created="Thu, 22 Aug 2013 22:59:20 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=ssimms&quot; class=&quot;user-hover&quot; rel=&quot;ssimms&quot;&gt;ssimms&lt;/a&gt;: The above link gives a link to the build products which can be found here:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://build.whamcloud.com/job/lustre-reviews/17615/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://build.whamcloud.com/job/lustre-reviews/17615/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That is a public link, no special permissions required.&lt;/p&gt;</comment>
                            <comment id="64911" author="ajk" created="Thu, 22 Aug 2013 23:04:33 +0000"  >&lt;p&gt;Thanks, I&apos;ll look through these.&lt;/p&gt;</comment>
                            <comment id="65198" author="adilger" created="Tue, 27 Aug 2013 19:50:07 +0000"  >&lt;p&gt;From the meeting today, it at least looks like the packages are running configure and completing the build.&lt;/p&gt;

&lt;p&gt;At this point, we aren&apos;t yet sure if the gssd is actually being built, or if it is missing from the lustre.spec file, but it looks like that needs to be tested locally by Andrew (using &quot;&lt;tt&gt;make rpms&lt;/tt&gt;&quot; on a system with &lt;a href=&quot;http://review.whamcloud.com/6740/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/6740/&lt;/a&gt; applied is probably the easiest).  Any issues with what gets built will probably be addressed by a patch to the Lustre code.&lt;/p&gt;</comment>
                            <comment id="66108" author="spitzcor" created="Mon, 9 Sep 2013 18:43:05 +0000"  >&lt;p&gt;FYI, we caught a problem with GSSAPI prerequisites checking from change #6740 and updated &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3490&quot; title=&quot;GSSAPI support not tested by Gerritt&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3490&quot;&gt;&lt;del&gt;LU-3490&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="66861" author="mdiep" created="Tue, 17 Sep 2013 19:14:38 +0000"  >&lt;p&gt;seems like we need krb5-libs for suse. &lt;/p&gt;

&lt;p&gt;build on suse failed due to&lt;br/&gt;
checking for Kerberos v5... /usr&lt;br/&gt;
The current KRBDIR is /usr&lt;br/&gt;
checking for gss_krb5_export_lucid_sec_context in -lgssapi_krb5... yes&lt;br/&gt;
checking for gss_krb5_set_allowable_enctypes in -lgssapi_krb5... yes&lt;br/&gt;
checking for gss_krb5_ccache_name in -lgssapi_krb5... yes&lt;br/&gt;
checking for krb5_get_error_message in -lgssapi_krb5... yes&lt;br/&gt;
checking for krb5_get_init_creds_opt_set_addressless in -lgssapi_krb5... no&lt;br/&gt;
checking for krb5int_derive_key in -lgssapi_krb5... no&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://build.whamcloud.com/job/lustre-reviews/18238/arch=x86_64,build_type=client,distro=sles11,ib_stack=inkernel/consoleFull&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://build.whamcloud.com/job/lustre-reviews/18238/arch=x86_64,build_type=client,distro=sles11,ib_stack=inkernel/consoleFull&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="66893" author="mdiep" created="Wed, 18 Sep 2013 05:21:14 +0000"  >&lt;p&gt;we also need gssapi for ubuntu&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://build.whamcloud.com/job/lustre-reviews/18264/arch=x86_64,build_type=client,distro=ubuntu1004,ib_stack=inkernel/consoleFull&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://build.whamcloud.com/job/lustre-reviews/18264/arch=x86_64,build_type=client,distro=ubuntu1004,ib_stack=inkernel/consoleFull&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="67849" author="joshua" created="Fri, 27 Sep 2013 17:59:01 +0000"  >&lt;p&gt;Assign-ing to Minh, as I believe he is working on the Ubuntu libs issue.&lt;/p&gt;</comment>
                            <comment id="67863" author="mdiep" created="Fri, 27 Sep 2013 18:54:53 +0000"  >&lt;p&gt;afaik, &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-3490&quot; title=&quot;GSSAPI support not tested by Gerritt&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-3490&quot;&gt;&lt;del&gt;LU-3490&lt;/del&gt;&lt;/a&gt; has landed and all issues have been resolved. I am not sure what else needs to be done for this ticket. As for the Ubuntu, similar to sles11, it needs more works to include the proper functions&lt;/p&gt;</comment>
                            <comment id="67901" author="joshua" created="Fri, 27 Sep 2013 22:59:35 +0000"  >&lt;p&gt;Sounds good. Probably a good idea, then, to close this ticket and open one specifically for Ubuntu.&lt;/p&gt;</comment>
                            <comment id="67978" author="mdiep" created="Mon, 30 Sep 2013 17:52:09 +0000"  >&lt;p&gt;Andrew,&lt;/p&gt;

&lt;p&gt;Let me know if there&apos;s anything else or I can close this ticket. I will close if I don&apos;t hear from you by the end of this week.&lt;/p&gt;</comment>
                            <comment id="68146" author="ajk" created="Wed, 2 Oct 2013 14:22:29 +0000"  >&lt;p&gt;Yes, I believe this ticket has been resolved.  Thanks!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                                                <inwardlinks description="is duplicated by">
                                        <issuelink>
            <issuekey id="20142">LU-3681</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="19506">LU-3490</issuekey>
        </issuelink>
                            </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|hzvqbz:</customfieldvalue>

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