<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:24:05 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-2302] Increase lfs_migrate robustness</title>
                <link>https://jira.whamcloud.com/browse/LU-2302</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;The lfs_migrate utility suffers from a few robustness issues:&lt;/p&gt;

&lt;ul&gt;
	&lt;li&gt;can temporarily leak information if used by root with a lenient umask;&lt;/li&gt;
	&lt;li&gt;fails if called with a non-English locale;&lt;/li&gt;
	&lt;li&gt;does not correctly handle newline characters in file/directory names;&lt;/li&gt;
	&lt;li&gt;is not compatible between 1.8 and 2.x Lustre versions.&lt;/li&gt;
&lt;/ul&gt;


&lt;p&gt;I&apos;ll attach patches for all of the above right away. (Corporate firewall blocks access to Gerrit, so I cannot push them directly, unfortunately.)&lt;/p&gt;</description>
                <environment></environment>
        <key id="16626">LU-2302</key>
            <summary>Increase lfs_migrate robustness</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="keith">Keith Mannthey</assignee>
                                    <reporter username="kobras">Daniel Kobras</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Thu, 8 Nov 2012 10:31:45 +0000</created>
                <updated>Mon, 28 Oct 2013 12:58:20 +0000</updated>
                            <resolved>Mon, 28 Oct 2013 12:58:20 +0000</resolved>
                                    <version>Lustre 2.4.0</version>
                                    <fixVersion>Lustre 2.4.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>6</watches>
                                                                            <comments>
                            <comment id="47581" author="kobras" created="Thu, 8 Nov 2012 10:43:14 +0000"  >&lt;p&gt;prevent lfs_migrate data disclosure&lt;/p&gt;</comment>
                            <comment id="47582" author="kobras" created="Thu, 8 Nov 2012 10:43:53 +0000"  >&lt;p&gt;fix lfs_migrate with non-English locale&lt;/p&gt;</comment>
                            <comment id="47583" author="kobras" created="Thu, 8 Nov 2012 10:44:19 +0000"  >&lt;p&gt;null-terminated file lists in lfs_migrate&lt;/p&gt;</comment>
                            <comment id="47584" author="kobras" created="Thu, 8 Nov 2012 10:44:46 +0000"  >&lt;p&gt;make lfs_migrate compatible with 1.8&lt;/p&gt;</comment>
                            <comment id="48400" author="adilger" created="Tue, 27 Nov 2012 03:00:00 +0000"  >&lt;p&gt;Hi Daniel,&lt;br/&gt;
thanks for the patches.  Sorry not to get back to you sooner.  I saw the patches go through my inbox and thought someone else would take a look at them, but I guess that didn&apos;t happen.  Someone will be importing them into Gerrit soon.&lt;/p&gt;</comment>
                            <comment id="48492" author="keith" created="Wed, 28 Nov 2012 13:30:49 +0000"  >&lt;p&gt;I ported the patches into git.  lfs-migrate-nullchar.patch and lfs-migrate-sizeopt.patch had a little patch contextual issues that I worked out.  I was not able to use &quot;git am&quot;.  Did you create the patches from  &quot;git format-patch&quot; ? &lt;/p&gt;


&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/4697&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4697&lt;/a&gt; is: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2302&quot; title=&quot;Increase lfs_migrate robustness&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2302&quot;&gt;&lt;del&gt;LU-2302&lt;/del&gt;&lt;/a&gt; scripts: fix lfs_migrate with non-English locale  (locale)&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4700&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4700&lt;/a&gt; is: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2302&quot; title=&quot;Increase lfs_migrate robustness&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2302&quot;&gt;&lt;del&gt;LU-2302&lt;/del&gt;&lt;/a&gt; scripts: null-terminated file lists in lfs_migrate (nullchar)&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4702&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4702&lt;/a&gt; is: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2302&quot; title=&quot;Increase lfs_migrate robustness&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2302&quot;&gt;&lt;del&gt;LU-2302&lt;/del&gt;&lt;/a&gt; scripts: make lfs_migrate compatible with 1.8 (sizeopt)&lt;br/&gt;
&lt;a href=&quot;http://review.whamcloud.com/4699&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4699&lt;/a&gt; is: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-2302&quot; title=&quot;Increase lfs_migrate robustness&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-2302&quot;&gt;&lt;del&gt;LU-2302&lt;/del&gt;&lt;/a&gt; scripts: prevent lfs_migrate data disclosure (umask) &lt;/p&gt;
</comment>
                            <comment id="48626" author="adilger" created="Fri, 30 Nov 2012 15:17:32 +0000"  >&lt;p&gt;Keith, please mark an inspection on these patches (even though you submitted them yourself) in Gerrit, since you didn&apos;t actually write them.&lt;/p&gt;</comment>
                            <comment id="48744" author="keith" created="Tue, 4 Dec 2012 14:47:13 +0000"  >&lt;p&gt;Daniel,&lt;br/&gt;
  It seems &lt;a href=&quot;http://review.whamcloud.com/4702&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4702&lt;/a&gt; scripts: make lfs_migrate compatible with 1.8 (sizeopt) needs a little work.&lt;/p&gt;

&lt;p&gt;If you submit a 2nd version of the patch I will be happy to put it into git for you.&lt;/p&gt;
</comment>
                            <comment id="50276" author="keith" created="Thu, 10 Jan 2013 13:28:01 +0000"  >&lt;p&gt;While testing &lt;a href=&quot;http://review.whamcloud.com/4702&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/4702&lt;/a&gt; an error may have been found in test:&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://maloo.whamcloud.com/test_sets/120d91a0-5b1a-11e2-8985-52540035b04c&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://maloo.whamcloud.com/test_sets/120d91a0-5b1a-11e2-8985-52540035b04c&lt;/a&gt;&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;== sanity test 56w: check lfs_migrate -c stripe_count works == 18:28:50 (1357784930)
/usr/bin/lfs_migrate -y -c 6 /mnt/lustre/d0.sanity/d56w/file1
/usr/bin/lfs_migrate: line 100: /bin: is a directory
 sanity test_56w: @@@@@@ FAIL: /usr/bin/lfs_migrate -y -c 6 /mnt/lustre/d0.sanity/d56w/file1 failed 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;Where /usr/bin/lfs_migrate: line 100 is part of the code changed in the patch. &lt;/p&gt;</comment>
                            <comment id="50416" author="kobras" created="Mon, 14 Jan 2013 10:42:57 +0000"  >&lt;p&gt;Keith, many thanks for taking care of the patches! I was out of office for several weeks but should be more responsive now. As for the test failure, I&apos;ve added a note in Gerrit indicating the trivial fix. Could you please adjust the patch accordingly?&lt;/p&gt;</comment>
                            <comment id="56643" author="jlevi" created="Fri, 19 Apr 2013 20:53:50 +0000"  >&lt;p&gt;With Change, 4702 landed can this ticket be closed, or is another patch needed?&lt;/p&gt;</comment>
                            <comment id="70000" author="pjones" created="Mon, 28 Oct 2013 12:58:20 +0000"  >&lt;p&gt;It looks like this was landed for 2.4&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="12036" name="lfs-migrate-locale.patch" size="924" author="kobras" created="Thu, 8 Nov 2012 10:43:53 +0000"/>
                            <attachment id="12037" name="lfs-migrate-nullchar.patch" size="2367" author="kobras" created="Thu, 8 Nov 2012 10:44:19 +0000"/>
                            <attachment id="12038" name="lfs-migrate-sizeopt.patch" size="1984" author="kobras" created="Thu, 8 Nov 2012 10:44:46 +0000"/>
                            <attachment id="12035" name="lfs-migrate-umask.patch" size="1189" author="kobras" created="Thu, 8 Nov 2012 10:43:14 +0000"/>
                    </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|hzvbxr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10090" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>5501</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>