<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:05: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-254] e2fsprogs breaks building of initrd on RHEL6</title>
                <link>https://jira.whamcloud.com/browse/LU-254</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The RHEL6 way to build initrd is with dracut. If the Lustre e2fsprogs is installed, dracut builds an initrd that won&apos;t boot.&lt;/p&gt;

&lt;p&gt;This issue was discovered by John Hammond at TACC. Lustre e2fsprogs overwrites blkid, and this maybe the culprit.&lt;/p&gt;

&lt;p&gt;To reproduce:&lt;/p&gt;

&lt;p&gt;1. vanilla RHEL6.&lt;br/&gt;
2. install Lustre kernel.&lt;br/&gt;
3. install e2fsprogs (&lt;a href=&quot;http://newbuild.whamcloud.com/job/e2fsprogs-reviews/arch=x86_64,distro=el6/12/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://newbuild.whamcloud.com/job/e2fsprogs-reviews/arch=x86_64,distro=el6/12/&lt;/a&gt;)&lt;br/&gt;
4. run &apos;dracut /boot/e2fsprogs.img&apos; &lt;br/&gt;
5. reboot with e2fsprogs.img&lt;br/&gt;
6. boot fails.&lt;/p&gt;</description>
                <environment></environment>
        <key id="10673">LU-254</key>
            <summary>e2fsprogs breaks building of initrd on RHEL6</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="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="1">Fixed</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="rhenwood">Richard Henwood</reporter>
                        <labels>
                    </labels>
                <created>Fri, 29 Apr 2011 12:21:03 +0000</created>
                <updated>Wed, 26 Oct 2011 19:56:07 +0000</updated>
                            <resolved>Thu, 19 May 2011 09:56:55 +0000</resolved>
                                    <version>Lustre 2.1.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="13495" author="jhammond" created="Fri, 29 Apr 2011 12:47:18 +0000"  >&lt;p&gt;Note that force reinstalling the RHEL 6 e2fsprogs (after following 1 through 6) and rerunning dracut will result in a bootable image.&lt;/p&gt;</comment>
                            <comment id="13507" author="adilger" created="Sat, 30 Apr 2011 05:10:01 +0000"  >&lt;p&gt;It is odd that the blkid program should be replaced, since this RPM is using the same .spec file that RHEL6 uses. The .spec runs configure with --disable-blkid, and I don&apos;t see it building or installing anything related to blkid.  On the other hand, I see it is running configure with --disable-e2initrd-helper, which seems like it might at least be related, or could just be a red herring. &lt;/p&gt;

&lt;p&gt;One way to investigate this is to unpack the initrd image files and compare the working one to the non-working one. The image files are gzipped cpio archives and can be extracted for examination. Presumably this has nothing to do with the Lustre kernel, and can ne reproduced for a stock RHEL kernel with just the updated e2fsprogs?&lt;/p&gt;

&lt;p&gt;Can you please report any files that differ between the images?  Also, what files from e2fsprogs are installed into the initrd?  I could only possibly imagine e2fsck to check the root fs before mounting it, but I&apos;m not even sure about that. &lt;/p&gt;</comment>
                            <comment id="13508" author="rhenwood" created="Sun, 1 May 2011 11:35:15 +0000"  >&lt;p&gt;I&apos;ve extracted the img&apos;s with:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;gunzip &amp;lt; /boot/initrd.img | cpio -i --make-directories
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;and then performed a quick diff:&lt;/p&gt;

&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;[root@localhost img]# diff -ri working/ fail/
Only in working/etc/ld.so.conf.d: kernel-2.6.32-71.el6.x86_64.conf
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I copied over kernel-2.6.32-71.el6.x86_64.conf, rebuilt the initrd and it booted.&lt;/p&gt;</comment>
                            <comment id="13763" author="adilger" created="Thu, 5 May 2011 16:43:00 +0000"  >&lt;p&gt;I noticed a problem with the updated e2fsprogs today on my FC13 test system.  It was checking a snapshot of the /usr/src filesystem in the background and it marked all of the long symlinks as bad and removed them.  It turns out that the ext4 filesystem creates all symlinks with the EXT4_EXTENTS_FL flag enabled, which we&apos;ve always considered as corrupt for Lustre because extents are only enabled on OSTs, and symlinks are only ever created on the MDT.&lt;/p&gt;

&lt;p&gt;I&apos;m not sure if this is the root cause of your problem (perhaps there was a long symlink referencing the kernel file that was deleted)?  In any case, it should be fixed before using the lustre e2fsprogs on RHEL6 systems.&lt;/p&gt;

&lt;p&gt;The patch has been pushed to &lt;a href=&quot;http://review.whamcloud.com/503&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/503&lt;/a&gt; for testing.&lt;/p&gt;</comment>
                            <comment id="14021" author="adilger" created="Mon, 9 May 2011 13:00:57 +0000"  >&lt;p&gt;Richard, John, I&apos;ve committed a fix via &lt;a href=&quot;http://review.whamcloud.com/503&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/503&lt;/a&gt; which may fix this problem.  It fixes a problem with long symlinks in our e2fsprogs that would only appear for RHEL6-based installations using ext4 for the base filesystems.  I&apos;m not sure if that is the root of the problem, but I couldn&apos;t find any other problems related to e2fsprogs on RHEL6 that might cause problems with initrd image generation.&lt;/p&gt;

&lt;p&gt;Could you please give the new packages a try?&lt;/p&gt;</comment>
                            <comment id="14022" author="hudson" created="Mon, 9 May 2011 13:20:17 +0000"  >&lt;p&gt;Integrated in &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;http://newbuild.whamcloud.com/images/16x16/blue.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt; &lt;a href=&quot;http://newbuild.whamcloud.com/job/e2fsprogs-master/./arch=x86_64,distro=el5/23/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;e2fsprogs-master &#187; x86_64,el5 #23&lt;/a&gt;&lt;br/&gt;
     &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-254&quot; title=&quot;e2fsprogs breaks building of initrd on RHEL6&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-254&quot;&gt;&lt;del&gt;LU-254&lt;/del&gt;&lt;/a&gt;: don&apos;t mark long extent symlinks bad&lt;/p&gt;

&lt;p&gt;Andreas Dilger : &lt;a href=&quot;http://git.whamcloud.com/gitweb/?p=tools/e2fsprogs.git;a=commit;h=refs/heads/master-lustre&amp;amp;a=commit&amp;amp;h=30b1d6a5221f2cfbafe1701cb91821349b0bffd0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;30b1d6a5221f2cfbafe1701cb91821349b0bffd0&lt;/a&gt;&lt;br/&gt;
Files : &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;patches/series&lt;/li&gt;
	&lt;li&gt;patches/e2fsprogs-extents.patch&lt;/li&gt;
	&lt;li&gt;patches/e2fsprogs-tests-f_extents_symlink.patch&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="14023" author="hudson" created="Mon, 9 May 2011 13:33:21 +0000"  >&lt;p&gt;Integrated in &lt;span class=&quot;image-wrap&quot; style=&quot;&quot;&gt;&lt;img src=&quot;http://newbuild.whamcloud.com/images/16x16/blue.png&quot; style=&quot;border: 0px solid black&quot; /&gt;&lt;/span&gt; &lt;a href=&quot;http://newbuild.whamcloud.com/job/e2fsprogs-master/./arch=x86_64,distro=el6/23/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;e2fsprogs-master &#187; x86_64,el6 #23&lt;/a&gt;&lt;br/&gt;
     &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-254&quot; title=&quot;e2fsprogs breaks building of initrd on RHEL6&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-254&quot;&gt;&lt;del&gt;LU-254&lt;/del&gt;&lt;/a&gt;: don&apos;t mark long extent symlinks bad&lt;/p&gt;

&lt;p&gt;Andreas Dilger : &lt;a href=&quot;http://git.whamcloud.com/gitweb/?p=tools/e2fsprogs.git;a=commit;h=refs/heads/master-lustre&amp;amp;a=commit&amp;amp;h=30b1d6a5221f2cfbafe1701cb91821349b0bffd0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;30b1d6a5221f2cfbafe1701cb91821349b0bffd0&lt;/a&gt;&lt;br/&gt;
Files : &lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;patches/e2fsprogs-tests-f_extents_symlink.patch&lt;/li&gt;
	&lt;li&gt;patches/series&lt;/li&gt;
	&lt;li&gt;patches/e2fsprogs-extents.patch&lt;/li&gt;
&lt;/ul&gt;
</comment>
                            <comment id="14068" author="rhenwood" created="Mon, 9 May 2011 19:21:18 +0000"  >&lt;p&gt;dracut now works for me - I&apos;ll ask John tomorrow if he also has success with this release.&lt;/p&gt;</comment>
                            <comment id="14399" author="adilger" created="Mon, 16 May 2011 11:52:49 +0000"  >&lt;p&gt;John, have you had any chance to test if this change fixes the problem that you were seeing?  You should be able to use the e2fsprogs packages built to fix this problem without any need to force installation or have any packaging conflicts.  They can be downloaded for x86_64 EL6 from:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;http://newbuild.whamcloud.com/job/e2fsprogs-master/arch=x86_64,distro=el6/23/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://newbuild.whamcloud.com/job/e2fsprogs-master/arch=x86_64,distro=el6/23/&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="14659" author="jhammond" created="Thu, 19 May 2011 07:04:48 +0000"  >&lt;p&gt;Success!  After the following steps, I no longer experienced the &quot;No root device found&quot; issue in the ram disk&apos;s init.&lt;/p&gt;

&lt;p&gt;1) Reinstall util-linux-ng from the rhel6 ISO.&lt;br/&gt;
2) Upgraded to the e2fsprogs, libcom, and libss from build #23.&lt;br/&gt;
3) Reran dracut to create a new ram disk.&lt;/p&gt;</comment>
                            <comment id="14677" author="adilger" created="Thu, 19 May 2011 09:56:55 +0000"  >&lt;p&gt;Patch has landed to e2fsprogs-1.41.90.wc1&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|hzvslj:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>8537</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>
                                                                                                                                                    <customfield id="customfield_10002" key="com.atlassian.jira.plugin.system.customfieldtypes:float">
                        <customfieldname>Story Points</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2.0</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                        </customfields>
    </item>
</channel>
</rss>