<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:31:48 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-3197] lustre client 2.3 asking for lustre-backend-fs</title>
                <link>https://jira.whamcloud.com/browse/LU-3197</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;when rebuilding using rpmbuild lustre-client, it is asking for lustre-backend-fs, &lt;/p&gt;

&lt;p&gt;if we install prebuilt rpm, modprobe lustre fails with error.&lt;/p&gt;
</description>
                <environment>centos 6.3 with kernel 2.6-32-279.5.1.el6</environment>
        <key id="18466">LU-3197</key>
            <summary>lustre client 2.3 asking for lustre-backend-fs</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <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="2">Won&apos;t Fix</resolution>
                                        <assignee username="wc-triage">WC Triage</assignee>
                                    <reporter username="monuamit2k">amit bajaj</reporter>
                        <labels>
                            <label>llnl</label>
                    </labels>
                <created>Sat, 20 Apr 2013 15:46:41 +0000</created>
                <updated>Sat, 9 Oct 2021 06:26:03 +0000</updated>
                            <resolved>Sat, 9 Oct 2021 06:26:03 +0000</resolved>
                                    <version>Lustre 2.3.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>2</watches>
                                                                            <comments>
                            <comment id="56658" author="adilger" created="Sun, 21 Apr 2013 03:34:09 +0000"  >&lt;p&gt;The lustre-backend-fs RPM is lustre-ldiskfs. &lt;/p&gt;</comment>
                            <comment id="56659" author="monuamit2k" created="Sun, 21 Apr 2013 05:43:40 +0000"  >&lt;p&gt;yes but do we really need to install on client?&lt;br/&gt;
second when installing lustre-ldiskfs , it is asking for ldisksfsprogs*.oral, e2fsprogs is already installed, &lt;/p&gt;
</comment>
                            <comment id="56713" author="morrone" created="Mon, 22 Apr 2013 17:33:30 +0000"  >&lt;p&gt;Yes, lustre&apos;s build system is broken in a number of ways that I&apos;ve long been trying to fix over in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1199&quot; title=&quot;lustre build system overhaul&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1199&quot;&gt;&lt;del&gt;LU-1199&lt;/del&gt;&lt;/a&gt;.  Bringing sanity to the src rpm is my primary goal.  Unfortunately, that work didn&apos;t make it into 2.4.  Maybe by 2.5 things will be better.&lt;/p&gt;

&lt;p&gt;In the mean time, you need to know a couple of things:&lt;/p&gt;

&lt;p&gt;1) The lustre-client-*.src.rpm is &lt;em&gt;not&lt;/em&gt; really just the lustre client.  It really contains the full source of lustre.&lt;br/&gt;
2) Conversely, lustre-*.src.rpm is not lacking the client code, it also contains the full sources.&lt;/p&gt;

&lt;p&gt;If our build system was sane, we would have only a single source rpm (more or less) and then just have good options that could be passed in on the rpmbuild command line to enable or disable the various options.&lt;/p&gt;

&lt;p&gt;To enable the client-only build of lustre, you need to enable the &quot;is_client&quot; macro in the spec file.  Granted, &quot;is_client&quot; is really misnamed.  You are &lt;em&gt;always&lt;/em&gt; building the lustre client code.  Really &quot;is_client&quot; disables the build of the server code.  And that is the root of your issue.  You need to disable the build of the server code to eliminate the rpm &quot;Requires: lustre-backend-fs&quot;.&lt;/p&gt;

&lt;p&gt;But wait!  Don&apos;t set is_client directly.  That would be too sane.  Instead, you need to change the package name.&lt;/p&gt;

&lt;p&gt;So try 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;rpmbuild --define &quot;lustre_name lustre-client&quot; &amp;lt;source rpm&amp;gt;&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I can&apos;t claim that it will be sufficient, but it is at least the starting point you&apos;ll need to build client-only rpms from the source rpm.&lt;/p&gt;</comment>
                    </comments>
                    <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|hzvolb:</customfieldvalue>

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