<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:16: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-15184] LBUG: ASSERTION( buf_size == strlen(secctx_name) + 1 ) failed</title>
                <link>https://jira.whamcloud.com/browse/LU-15184</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;While running runtests on RHEL 8.5 client and server with SELinux disabled, the following LBUG occurred:&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;Lustre: DEBUG MARKER: -----============= acceptance-small: runtests ============----- Wed Oct 20 10:15:59 PDT 2021
Lustre: DEBUG MARKER: vm85: executing check_config_client /mnt/lustre
Lustre: DEBUG MARKER: Using TIMEOUT=20
Lustre: Modifying parameter general.*.*.lbug_on_grant_miscount in log params
Lustre: DEBUG MARKER: == runtests test 1: All Runtests ========================= 10:16:00 (1634750160)
Lustre: DEBUG MARKER: touching /mnt/lustre at Wed Oct 20 10:16:05 PDT 2021 (@1634750165)
Lustre: DEBUG MARKER: create an empty file /mnt/lustre/hosts.7841
Lustre: DEBUG MARKER: copying /etc/hosts to /mnt/lustre/hosts.7841
Lustre: DEBUG MARKER: comparing /etc/hosts and /mnt/lustre/hosts.7841
Lustre: DEBUG MARKER: renaming /mnt/lustre/hosts.7841 to /mnt/lustre/hosts.7841.ren
Lustre: DEBUG MARKER: copying /etc/hosts to /mnt/lustre/hosts.7841 again
LustreError: 8831:0:(pack_generic.c:805:lustre_msg_string()) can&apos;t unpack non-NULL terminated string in msg 000000008f1ca60d buffer[8] len 0
LustreError: 8831:0:(layout.c:2165:__req_capsule_get()) @@@ Wrong buffer for field &apos;file_secctx_name&apos; (8 of 12) in format &apos;LDLM_INTENT_OPEN&apos;, 0 vs. 0 (client)  req@00000000fd326d4b x1714159751286720/t0(0) o101-&amp;gt;lustre-MDT0000-mdc-ffff9ab7ea66e000@0@lo:12/10 lens 656/0 e 0 to 0 dl 0 ref 1 fl New:PQU/0/ffffffff rc 0/-1 job:&apos;&apos;
LustreError: 8831:0:(mdc_lib.c:137:mdc_file_secctx_pack()) ASSERTION( buf_size == strlen(secctx_name) + 1 ) failed:
LustreError: 8831:0:(mdc_lib.c:137:mdc_file_secctx_pack()) LBUG
Pid: 8831, comm: cp 4.18.0-339.el8_lustre.x86_64 #1 SMP Tue Oct 19 12:47:57 PDT 2021
Call Trace TBD:
[&amp;lt;0&amp;gt;] libcfs_call_trace+0x6f/0x90 [libcfs]
[&amp;lt;0&amp;gt;] lbug_with_loc+0x43/0x80 [libcfs]
[&amp;lt;0&amp;gt;] mdc_file_secctx_pack.part.4+0xcb/0x100 [mdc]
[&amp;lt;0&amp;gt;] mdc_open_pack+0x22d/0x2f0 [mdc]
[&amp;lt;0&amp;gt;] mdc_intent_open_pack+0x2b6/0x900 [mdc]
[&amp;lt;0&amp;gt;] mdc_enqueue_base+0x503/0x1420 [mdc]
[&amp;lt;0&amp;gt;] mdc_intent_lock+0x219/0x560 [mdc]
[&amp;lt;0&amp;gt;] lmv_intent_open+0x29e/0xb70 [lmv]
[&amp;lt;0&amp;gt;] lmv_intent_lock+0x19c/0x390 [lmv]
[&amp;lt;0&amp;gt;] ll_lookup_it+0x6fc/0x1c90 [lustre]
[&amp;lt;0&amp;gt;] ll_atomic_open+0x256/0x1960 [lustre]
[&amp;lt;0&amp;gt;] path_openat+0xeff/0x14f0
[&amp;lt;0&amp;gt;] do_filp_open+0x93/0x100
[&amp;lt;0&amp;gt;] do_sys_open+0x184/0x220
[&amp;lt;0&amp;gt;] do_syscall_64+0x5b/0x1a0
[&amp;lt;0&amp;gt;] entry_SYSCALL_64_after_hwframe+0x65/0xca
Kernel panic - not syncing: LBUG
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&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;# sestatus
SELinux status:                 disabled
# getenforce
Disabled
# find /usr/include -name selinux.h
/usr/include/selinux/selinux.h
# rpm -qf /usr/include/selinux/selinux.h
libselinux-devel-2.9-5.el8.x86_64
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;Attached is the config.log while configuring the Lustre codes.&lt;br/&gt;
The issue can be reproduced by just touching a file after the filesystem is mounted.&lt;br/&gt;
After enabling SELinux, the failure didn&apos;t occur.&lt;/p&gt;</description>
                <environment>RHEL 8.5</environment>
        <key id="66921">LU-15184</key>
            <summary>LBUG: ASSERTION( buf_size == strlen(secctx_name) + 1 ) failed</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="sebastien">Sebastien Buisson</assignee>
                                    <reporter username="yujian">Jian Yu</reporter>
                        <labels>
                            <label>SELinux</label>
                            <label>security</label>
                    </labels>
                <created>Mon, 1 Nov 2021 08:12:38 +0000</created>
                <updated>Sat, 5 Feb 2022 06:11:04 +0000</updated>
                            <resolved>Tue, 30 Nov 2021 14:12:32 +0000</resolved>
                                    <version>Lustre 2.15.0</version>
                                    <fixVersion>Lustre 2.12.8</fixVersion>
                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>7</watches>
                                                                            <comments>
                            <comment id="317162" author="pjones" created="Mon, 1 Nov 2021 21:39:40 +0000"  >&lt;p&gt;S&#233;bastien&lt;/p&gt;

&lt;p&gt;Could you please advise!&lt;/p&gt;

&lt;p&gt;Thanks&lt;/p&gt;

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="317748" author="gerrit" created="Tue, 9 Nov 2021 16:18:23 +0000"  >&lt;p&gt;&quot;Sebastien Buisson &amp;lt;sbuisson@ddn.com&amp;gt;&quot; uploaded a new patch: &lt;a href=&quot;https://review.whamcloud.com/45501&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45501&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15184&quot; title=&quot;LBUG: ASSERTION( buf_size == strlen(secctx_name) + 1 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15184&quot;&gt;&lt;del&gt;LU-15184&lt;/del&gt;&lt;/a&gt; llite: properly detect SELinux disabled case&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 63aaafad88e65dda8d01ce61aa25b1ec1ba25a71&lt;/p&gt;</comment>
                            <comment id="317794" author="boggl" created="Wed, 10 Nov 2021 00:17:24 +0000"  >&lt;p&gt;Using the RHEL 8.5 release available on 11/9 I was able to reproduce the failure and verify the fix. With selinux disabled runtests crashes exactly as reported. &#160;Adding just the fix in &lt;a href=&quot;https://review.whamcloud.com/45501&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45501&lt;/a&gt;&#160;makes the problem disappear.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;

&lt;p&gt;kernel version 4.18.0-348.el8&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</comment>
                            <comment id="317913" author="gerrit" created="Wed, 10 Nov 2021 20:08:22 +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/45524&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45524&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15184&quot; title=&quot;LBUG: ASSERTION( buf_size == strlen(secctx_name) + 1 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15184&quot;&gt;&lt;del&gt;LU-15184&lt;/del&gt;&lt;/a&gt; llite: properly detect SELinux disabled case&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_14&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: 4dc8face582f1b2c0d4ea3a5df22f743add39098&lt;/p&gt;</comment>
                            <comment id="317918" author="gerrit" created="Wed, 10 Nov 2021 20:31:33 +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/45527&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45527&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15184&quot; title=&quot;LBUG: ASSERTION( buf_size == strlen(secctx_name) + 1 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15184&quot;&gt;&lt;del&gt;LU-15184&lt;/del&gt;&lt;/a&gt; llite: properly detect SELinux disabled case&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: c1a4bf3da5fe90cd111eadb9afa473a46ca16980&lt;/p&gt;</comment>
                            <comment id="318438" author="gerrit" created="Wed, 17 Nov 2021 18:44:16 +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/45527/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45527/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15184&quot; title=&quot;LBUG: ASSERTION( buf_size == strlen(secctx_name) + 1 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15184&quot;&gt;&lt;del&gt;LU-15184&lt;/del&gt;&lt;/a&gt; llite: properly detect SELinux disabled case&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_12&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: bce5c5a9e38c41fa4c1ca4edc615380c4d3f453c&lt;/p&gt;</comment>
                            <comment id="319481" author="gerrit" created="Tue, 30 Nov 2021 03:49:32 +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/45501/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45501/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15184&quot; title=&quot;LBUG: ASSERTION( buf_size == strlen(secctx_name) + 1 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15184&quot;&gt;&lt;del&gt;LU-15184&lt;/del&gt;&lt;/a&gt; llite: properly detect SELinux disabled case&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 42661f7ba106b7d2e02f85a65880061585ca6ccb&lt;/p&gt;</comment>
                            <comment id="319557" author="pjones" created="Tue, 30 Nov 2021 14:12:32 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                            <comment id="325372" author="gerrit" created="Sat, 5 Feb 2022 06:11:04 +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/45524/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/45524/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15184&quot; title=&quot;LBUG: ASSERTION( buf_size == strlen(secctx_name) + 1 ) failed&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15184&quot;&gt;&lt;del&gt;LU-15184&lt;/del&gt;&lt;/a&gt; llite: properly detect SELinux disabled case&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: b2_14&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: 7904abf2ac28c11345954c6aad0546ee5776860b&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                        <issuelink>
            <issuekey id="66729">LU-15126</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                            <attachment id="41170" name="config.log" size="877812" author="yujian" created="Mon, 1 Nov 2021 08:12:07 +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|i028wv:</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>