<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:22: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-15940] Add a dependency for libmount by default when building Lustre rpm/deb packages</title>
                <link>https://jira.whamcloud.com/browse/LU-15940</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The Lustre client utilities (mount/umount) have an optional dependency on libmount, providing some minor improvements. It&apos;s however easy to miss when building it, and the rpm/deb package builds don&apos;t depend on it either. libmount was introduced in util-linux 2.18 in 2010, and with a stable API and ABI as of util-linux 2.19 in 2011. CentOS 6 which was AFAICS the last long time support distro with an older version of util-linux was EOL&apos;ed in 2020, and Lustre itself doesn&apos;t support such old distros anymore either. Avoiding a dependency on libmount doesn&apos;t help much, since the &quot;standard&quot; mount/umount commands also depend on it, so if libmount is missing the OS is likely more or less completely broken.&lt;/p&gt;

&lt;p&gt;So could usage of libmount be made unconditional (or at least the default)? That would entail for the rpm/deb building at least:&lt;/p&gt;
&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;./lustre.spec.in: Add BuildRequires on libmount-devel and Require on libmount for the utils package&lt;/li&gt;
&lt;/ul&gt;


&lt;ul class=&quot;alternate&quot; type=&quot;square&quot;&gt;
	&lt;li&gt;./debian/{control,control.main}: Add Build-Depends on libmount-dev and for lustre-{client,server}-utils add Depends on libmount1.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;And possibly removing separate &quot;#ifdef HAVE_LIBMOUNT #else ...&quot; code and modifying configure logic slightly, if one wants to entirely remove the possibility of compiling without libmount.&lt;/p&gt;</description>
                <environment></environment>
        <key id="70727">LU-15940</key>
            <summary>Add a dependency for libmount by default when building Lustre rpm/deb packages</summary>
                <type id="4" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11310&amp;avatarType=issuetype">Improvement</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="yujian">Jian Yu</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                    </labels>
                <created>Mon, 13 Jun 2022 17:20:00 +0000</created>
                <updated>Fri, 18 Nov 2022 21:18:11 +0000</updated>
                            <resolved>Wed, 6 Jul 2022 13:11:05 +0000</resolved>
                                                    <fixVersion>Lustre 2.16.0</fixVersion>
                    <fixVersion>Lustre 2.15.1</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="337680" author="gerrit" created="Mon, 13 Jun 2022 23:49:31 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47619&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47619&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15940&quot; title=&quot;Add a dependency for libmount by default when building Lustre rpm/deb packages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15940&quot;&gt;&lt;del&gt;LU-15940&lt;/del&gt;&lt;/a&gt; build: add a required dependency for libmount&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 3fb7cfe1e264aa3cedc7649930cb8e8d3f3dc44c&lt;/p&gt;</comment>
                            <comment id="338636" author="gerrit" created="Fri, 24 Jun 2022 07:00:51 +0000"  >&lt;p&gt;&quot;Jian Yu &amp;lt;yujian@whamcloud.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/47759&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47759&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15940&quot; title=&quot;Add a dependency for libmount by default when building Lustre rpm/deb packages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15940&quot;&gt;&lt;del&gt;LU-15940&lt;/del&gt;&lt;/a&gt; build: add a required dependency for libmount&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 764bc8d8b75bf25c77dc9a9c83e4df275376c879&lt;/p&gt;</comment>
                            <comment id="339670" author="gerrit" created="Wed, 6 Jul 2022 03:34:47 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47619/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47619/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15940&quot; title=&quot;Add a dependency for libmount by default when building Lustre rpm/deb packages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15940&quot;&gt;&lt;del&gt;LU-15940&lt;/del&gt;&lt;/a&gt; build: add a required dependency for libmount&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: f21b9441275bd0d8b0d56cf8441aa67bede37ddc&lt;/p&gt;</comment>
                            <comment id="339684" author="gerrit" created="Wed, 6 Jul 2022 03:41:47 +0000"  >&lt;p&gt;&quot;Oleg Drokin &amp;lt;green@whamcloud.com&amp;gt;&quot; merged in patch &lt;a href=&quot;https://review.whamcloud.com/47759/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/47759/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15940&quot; title=&quot;Add a dependency for libmount by default when building Lustre rpm/deb packages&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15940&quot;&gt;&lt;del&gt;LU-15940&lt;/del&gt;&lt;/a&gt; build: add a required dependency for libmount&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_15&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 84e48b7279e674cb659efe48a3a9f60aaecc11f0&lt;/p&gt;</comment>
                            <comment id="352814" author="srcc" created="Sat, 12 Nov 2022 01:47:38 +0000"  >&lt;p&gt;Shouldn&apos;t that dependency be added to `lustre-dkms.spec.in` as well?&lt;/p&gt;


&lt;p&gt;It should probably even be added as a `Requires:` (not just `BuildRequires:` since compilation will happen on the fly when the `lustre-client-dkms` package is installed.&lt;/p&gt;

&lt;p&gt;Cheers,&lt;br/&gt;
&amp;#8211;&lt;br/&gt;
Kilian&lt;/p&gt;</comment>
                            <comment id="353582" author="yujian" created="Fri, 18 Nov 2022 21:11:46 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.whamcloud.com/secure/ViewProfile.jspa?name=kilian&quot; class=&quot;user-hover&quot; rel=&quot;kilian&quot;&gt;kilian&lt;/a&gt;,&lt;br/&gt;
Thank you for pointing this out. The issue is being addressed in &lt;a href=&quot;https://review.whamcloud.com/49183&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/49183&lt;/a&gt;.&lt;/p&gt;</comment>
                            <comment id="353583" author="kilian" created="Fri, 18 Nov 2022 21:18:11 +0000"  >&lt;p&gt;Thanks @Jian Yu!&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                                        </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|i02s0n:</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>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>