<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 02:05:56 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-7094] object UID not being set correctly for non-root user</title>
                <link>https://jira.whamcloud.com/browse/LU-7094</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Running &quot;rsync -a /etc $MOUNT&quot; to populate a filesystem and then run LFSCK against it, I see that the one file in my /etc not owned by root is not getting the UID set properly, and LFSCK has to fix it:&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;# lctl set_param printk=+lfsck
# lctl lfsck_start -M testfs-MDT0000 -t all -A
&amp;lt;wait until done&amp;gt;
# lctl get_param mdd.*testfs-*.lfsck_* | grep &quot;repaired.*: [1-9]&quot;
repaired_inconsistent_owner: 1
# dmesg | grep repaired
Lustre: 19941:0:(lfsck_layout.c:3076:lfsck_layout_repair_owner()) testfs-MDT0001-osd: layout LFSCK assistant repaired inconsistent file owner for: parent [0x240000403:0x257:0x0], child [0x280000400:0x3c:0x0], OST-index 0, stripe-index 0, old owner 0/10000, new owner 10000/10000: rc = 1
# lfs fid2path /mnt/testfs [0x240000403:0x257:0x0]
/mnt/testfs//etc3/etc/bash_completion.d/msm
# ls -ln /etc/bash_completion.d/msm
8 -rw-rw-r-- 1 10000 10000 7236 Apr 22  2014 /etc/bash_completion.d/msm
# find /etc ! -uid 0 | less
/etc/bash_completion.d/msm
# find /etc ! -gid 0 | less
/etc/mtab.fuselock
/etc/pam.d/atd
/etc/bash_completion.d/msm
/etc/aliases.db
/etc/dumpdates
/etc/ntp/crypto
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;This is 100% repeatable (i.e. lfsck will find and fix this one file each time it is copied), and not complain about any of the files with GID != 0.  I suspect this should be breaking quota for non-root users.&lt;/p&gt;</description>
                <environment>Single-node MDS/OSS/client with 2x MDT, 3x OST ldiskfs&lt;br/&gt;
Lustre v2_7_58_0-ga41ac78</environment>
        <key id="31890">LU-7094</key>
            <summary>object UID not being set correctly for non-root user</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</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="5">Cannot Reproduce</resolution>
                                        <assignee username="adilger">Andreas Dilger</assignee>
                                    <reporter username="adilger">Andreas Dilger</reporter>
                        <labels>
                    </labels>
                <created>Wed, 2 Sep 2015 23:59:48 +0000</created>
                <updated>Thu, 15 Oct 2015 17:39:26 +0000</updated>
                            <resolved>Thu, 15 Oct 2015 17:38:39 +0000</resolved>
                                    <version>Lustre 2.8.0</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                            <comments>
                            <comment id="126213" author="green" created="Thu, 3 Sep 2015 17:47:51 +0000"  >&lt;p&gt;I can only replicate this if the source file is empty, so there are no writes to osts and as such the onject ownership does not propagate?&lt;/p&gt;</comment>
                            <comment id="126351" author="adilger" created="Fri, 4 Sep 2015 08:24:44 +0000"  >&lt;p&gt;Seems that some files don&apos;t get repaired, even after multiple LFSCK runs:&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;Sep  4 01:26:12 lfsck_layout_repair_owner()) testfs-MDT0000-osd: layout LFSCK assistant repaired inconsistent file owner for: parent [0x200000402:0xec1:0x0], child [0x100010000:0x301:0x0], OST-index 1, stripe-index 0, old owner 0/10000, new owner 10000/10000: rc = 1
Sep  4 01:34:52 lfsck_layout_repair_owner()) testfs-MDT0000-osd: layout LFSCK assistant repaired inconsistent file owner for: parent [0x200000402:0xec1:0x0], child [0x100010000:0x301:0x0], OST-index 1, stripe-index 0, old owner 0/10000, new owner 10000/10000: rc = 1
Sep  4 01:38:00 lfsck_layout_repair_owner()) testfs-MDT0000-osd: layout LFSCK assistant repaired inconsistent file owner for: parent [0x200000402:0xec1:0x0], child [0x100010000:0x301:0x0], OST-index 1, stripe-index 0, old owner 0/10000, new owner 10000/10000: rc = 1
Sep  4 01:40:49 lfsck_layout_repair_owner()) testfs-MDT0000-osd: layout LFSCK assistant repaired inconsistent file owner for: parent [0x200000402:0xec1:0x0], child [0x100010000:0x301:0x0], OST-index 1, stripe-index 0, old owner 0/10000, new owner 10000/10000: rc = 1
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;It makes me wonder if LFSCK isn&apos;t getting the UID attribute properly from the inode, or maybe it isn&apos;t saving the inode to disk properly?  This might relate to &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-6096&quot; title=&quot;sanity test_17m: e2fsck Inode 32775, i_size is 0, should be 4096&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-6096&quot;&gt;&lt;del&gt;LU-6096&lt;/del&gt;&lt;/a&gt; since it is possible I haven&apos;t reloaded the ldiskfs module since that patch was landed.&lt;/p&gt;</comment>
                            <comment id="126352" author="adilger" created="Fri, 4 Sep 2015 08:26:08 +0000"  >&lt;p&gt;Problem appears to have gone away after unloading all modules.  &lt;/p&gt;</comment>
                            <comment id="126353" author="adilger" created="Fri, 4 Sep 2015 08:27:59 +0000"  >&lt;p&gt;Reopen to land testing patch:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: &lt;a href=&quot;http://review.whamcloud.com/16237&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/16237&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7094&quot; title=&quot;object UID not being set correctly for non-root user&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7094&quot;&gt;&lt;del&gt;LU-7094&lt;/del&gt;&lt;/a&gt; tests: delete old lfsck tests&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 67ec8ec07788533d2c88492323b0f8819546f530&lt;/p&gt;&lt;/blockquote&gt;</comment>
                            <comment id="130539" author="adilger" created="Thu, 15 Oct 2015 17:38:39 +0000"  >&lt;p&gt;Track patch landing in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-7301&quot; title=&quot;change test-framework to exclude the cleanup between the tests suites&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-7301&quot;&gt;&lt;del&gt;LU-7301&lt;/del&gt;&lt;/a&gt;.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="28098">LU-6096</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="32655">LU-7301</issuekey>
        </issuelink>
                            </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|hzxmav:</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>
                                                                                            <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>