<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:48:10 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-5058] support for linux process namespace is broken</title>
                <link>https://jira.whamcloud.com/browse/LU-5058</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Some recent landing in lustre master has broken the support for linux process namespace done in &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4476&quot; title=&quot;Add support for linux process namespace&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4476&quot;&gt;&lt;del&gt;LU-4476&lt;/del&gt;&lt;/a&gt;.   When building even client builds for rhel7 with CONFIG_UIDGID_STRICT_TYPE_CHECKS  enabled (the default setting) there are many build errors.  It looks like some new uid/gid calls were added without regard to the changes from &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-4476&quot; title=&quot;Add support for linux process namespace&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-4476&quot;&gt;&lt;del&gt;LU-4476&lt;/del&gt;&lt;/a&gt; that needed to be conformed to.  I suspect the recent commit &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-1778&quot; title=&quot;Root Squash is not always properly enforced&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-1778&quot;&gt;&lt;del&gt;LU-1778&lt;/del&gt;&lt;/a&gt; llite: fix inconsistencies of root squash feature is at fault.&lt;/p&gt;

&lt;p&gt;example errors:&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;  CC [M]  /home/bogl/lustre-release/lustre/llite/file.o
In file included from include/uapi/linux/stddef.h:1:0,
                 from include/linux/stddef.h:4,
                 from /usr/src/kernels/3.10.0-123.el7.x86_64/include/uapi/linux/posix_types.h:4,
                 from include/uapi/linux/types.h:13,
                 from include/linux/types.h:5,
                 from include/linux/proc_fs.h:7,
                 from /home/bogl/lustre-release/lustre/include/linux/lustre_dlm.h:43,
                 from /home/bogl/lustre-release/lustre/include/lustre_dlm.h:52,
                 from /home/bogl/lustre-release/lustre/llite/file.c:44:
/home/bogl/lustre-release/lustre/llite/file.c: In function &#8216;ll_inode_permission&#8217;:
/home/bogl/lustre-release/lustre/llite/file.c:3545:24: error: invalid operands to binary == (have &#8216;kuid_t&#8217; and &#8216;int&#8217;)
        current_fsuid() == 0 &amp;amp;&amp;amp;
                        ^
include/linux/compiler.h:153:42: note: in definition of macro &#8216;unlikely&#8217;
 # define unlikely(x) __builtin_expect(!!(x), 0)
                                          ^
In file included from /home/bogl/lustre-release/libcfs/include/libcfs/libcfs.h:272:0,
                 from /home/bogl/lustre-release/lustre/include/lustre_lib.h:49,
                 from /home/bogl/lustre-release/lustre/include/lustre_dlm.h:61,
                 from /home/bogl/lustre-release/lustre/llite/file.c:44:
/home/bogl/lustre-release/libcfs/include/libcfs/libcfs_debug.h:225:23: error: format &#8216;%d&#8217; expects argument of type &#8216;int&#8217;, but argument 3 has type &#8216;kuid_t&#8217; [-Werror=format=]
         static struct libcfs_debug_msg_data msgdata;                    \
                       ^
/home/bogl/lustre-release/libcfs/include/libcfs/libcfs_debug.h:235:35: note: in expansion of macro &#8216;__CDEBUG&#8217;
 #define CDEBUG(mask, format, ...) __CDEBUG(NULL, mask, format, ## __VA_ARGS__)
                                   ^
/home/bogl/lustre-release/lustre/llite/file.c:3550:3: note: in expansion of macro &#8216;CDEBUG&#8217;
   CDEBUG(D_OTHER, &quot;squash creds (%d:%d)=&amp;gt;(%d:%d)\n&quot;,
   ^
/home/bogl/lustre-release/libcfs/include/libcfs/libcfs_debug.h:225:23: error: format &#8216;%d&#8217; expects argument of type &#8216;int&#8217;, but argument 4 has type &#8216;kgid_t&#8217; [-Werror=format=]
         static struct libcfs_debug_msg_data msgdata;                    \
                       ^
/home/bogl/lustre-release/libcfs/include/libcfs/libcfs_debug.h:235:35: note: in expansion of macro &#8216;__CDEBUG&#8217;
 #define CDEBUG(mask, format, ...) __CDEBUG(NULL, mask, format, ## __VA_ARGS__)
                                   ^
/home/bogl/lustre-release/lustre/llite/file.c:3550:3: note: in expansion of macro &#8216;CDEBUG&#8217;
   CDEBUG(D_OTHER, &quot;squash creds (%d:%d)=&amp;gt;(%d:%d)\n&quot;,
   ^
/home/bogl/lustre-release/lustre/llite/file.c:3560:15: error: incompatible types when assigning to type &#8216;kuid_t&#8217; from type &#8216;uid_t&#8217;
   cred-&amp;gt;fsuid = squash-&amp;gt;rsi_uid;
               ^
/home/bogl/lustre-release/lustre/llite/file.c:3561:15: error: incompatible types when assigning to type &#8216;kgid_t&#8217; from type &#8216;gid_t&#8217;
   cred-&amp;gt;fsgid = squash-&amp;gt;rsi_gid;
               ^
cc1: all warnings being treated as errors
make[6]: *** [/home/bogl/lustre-release/lustre/llite/file.o] Error 1
make[5]: *** [/home/bogl/lustre-release/lustre/llite] Error 2
make[4]: *** [/home/bogl/lustre-release/lustre] Error 2
make[3]: *** [_module_/home/bogl/lustre-release] Error 2
make[3]: Leaving directory `/usr/src/kernels/3.10.0-123.el7.x86_64&apos;
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/home/bogl/lustre-release&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bogl/lustre-release&apos;
make: *** [all] Error 2
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</description>
                <environment></environment>
        <key id="24704">LU-5058</key>
            <summary>support for linux process namespace is broken</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="1">Fixed</resolution>
                                        <assignee username="bogl">Bob Glossman</assignee>
                                    <reporter username="bogl">Bob Glossman</reporter>
                        <labels>
                            <label>patch</label>
                    </labels>
                <created>Tue, 13 May 2014 17:56:34 +0000</created>
                <updated>Fri, 30 May 2014 13:30:20 +0000</updated>
                            <resolved>Fri, 30 May 2014 13:30:20 +0000</resolved>
                                                    <fixVersion>Lustre 2.6.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                            <comments>
                            <comment id="84033" author="simmonsja" created="Tue, 13 May 2014 17:58:02 +0000"  >&lt;p&gt;Oh I see the problem.&lt;/p&gt;</comment>
                            <comment id="84034" author="bogl" created="Tue, 13 May 2014 18:09:59 +0000"  >&lt;p&gt;James, you are just too fast for me.  see Description.  problem is seen by a simple client build in the latest rhel7 rc image.&lt;/p&gt;

&lt;p&gt;./configure --disable-server&lt;br/&gt;
make&lt;/p&gt;</comment>
                            <comment id="84065" author="simmonsja" created="Wed, 14 May 2014 00:42:05 +0000"  >&lt;p&gt;&lt;a href=&quot;http://review.whamcloud.com/#/c/10325&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10325&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="84096" author="bogl" created="Wed, 14 May 2014 15:47:28 +0000"  >&lt;p&gt;In addition to passing the standard builds I&apos;ve verified that &lt;a href=&quot;http://review.whamcloud.com/#/c/10325&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;http://review.whamcloud.com/#/c/10325&lt;/a&gt; does repair the client build in rhel7&lt;/p&gt;</comment>
                            <comment id="84107" author="bogl" created="Wed, 14 May 2014 19:13:24 +0000"  >&lt;p&gt;Pretty sure this fix is needed for any kernel config&apos;ed with CONFIG_UIDGID_STRICT_TYPE_CHECKS enabled.  rhel7 is just the first one that has that turned on by default.&lt;/p&gt;</comment>
                            <comment id="85245" author="pjones" created="Fri, 30 May 2014 13:30:20 +0000"  >&lt;p&gt;Landed for 2.6&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="22715">LU-4476</issuekey>
        </issuelink>
                            </outwardlinks>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="22582">LU-4416</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|hzwmg7:</customfieldvalue>

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