<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 03:18:03 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-15407] fscrypt does not work on Ubuntu 5.8 kernel</title>
                <link>https://jira.whamcloud.com/browse/LU-15407</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;With Ubuntu LTS running a 5.8 kernel which has native fscrypt support I added in sanity-sec testing. This is using the default embedded llcrypt and it failed the fscrypt test. For sanity-sec 46 I get:&lt;/p&gt;

&lt;p&gt;== sanity-sec test 46: encrypted file access semantics without key ========================================================== 07:46:51 (1641221211) &lt;br/&gt;
10.0.0.10@tcp:/lustre /mnt/lustre lustre rw,checksum,flock,user_xattr,lruresize,lazystatfs,nouser_fid2path,verbose,encrypt 0 0 &lt;br/&gt;
Stopping client samuel /mnt/lustre (opts&lt;img class=&quot;emoticon&quot; src=&quot;https://jira.whamcloud.com/images/icons/emoticons/smile.png&quot; height=&quot;16&quot; width=&quot;16&quot; align=&quot;absmiddle&quot; alt=&quot;&quot; border=&quot;0&quot;/&gt; &lt;br/&gt;
Starting client: samuel: &#160;-o user_xattr,flock,test_dummy_encryption 10.0.0.10@tcp:/lustre /mnt/lustre &lt;br/&gt;
mount.lustre: test dummy encryption option ignored: could not insert dummy encryption key into session keyring &lt;br/&gt;
Unable to dump key: Key has been revoked &lt;br/&gt;
Format:&lt;/p&gt;

&lt;p&gt;All the fscrypt test fail the same way.&lt;/p&gt;</description>
                <environment>Ubuntu 20 HWE client running  a 5.8 kernel.</environment>
        <key id="67782">LU-15407</key>
            <summary>fscrypt does not work on Ubuntu 5.8 kernel</summary>
                <type id="1" iconUrl="https://jira.whamcloud.com/secure/viewavatar?size=xsmall&amp;avatarId=11303&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.whamcloud.com/images/icons/priorities/critical.svg">Critical</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="simmonsja">James A Simmons</reporter>
                        <labels>
                    </labels>
                <created>Mon, 3 Jan 2022 14:53:50 +0000</created>
                <updated>Mon, 21 Mar 2022 18:48:33 +0000</updated>
                            <resolved>Tue, 18 Jan 2022 14:03:27 +0000</resolved>
                                    <version>Lustre 2.15.0</version>
                                    <fixVersion>Lustre 2.15.0</fixVersion>
                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="321751" author="pjones" created="Tue, 4 Jan 2022 15:11:19 +0000"  >&lt;p&gt;Seb&lt;/p&gt;

&lt;p&gt;Could you please investigate?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="321882" author="sebastien" created="Thu, 6 Jan 2022 14:14:47 +0000"  >&lt;p&gt;Hi James,&lt;/p&gt;

&lt;p&gt;I tried but did not manage to reproduce. Here is my configuration:&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;# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.3 LTS
Release:        20.04
Codename:       focal
# uname -r
5.8.0-63-generic
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;And like you, I am using the embedded &lt;tt&gt;llcrypt&lt;/tt&gt; lib instead of the in-kernel fscrypt.&lt;/p&gt;

&lt;p&gt;When mounting with &lt;tt&gt;test_dummy_encryption&lt;/tt&gt; option, it works and the &lt;tt&gt;fscrypt&lt;/tt&gt; key is added to the session keyring:&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;# keyctl show
Session Keyring
 499722460 --alswrv      0     0  keyring: _ses
 302746999 --alswrv      0 65534   \_ keyring: _uid.0
  70358189 --alsw-v      0     0   \_ logon: fscrypt:4242424242424242
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;The error message &lt;tt&gt;could not insert dummy encryption key into session keyring&lt;/tt&gt; you get is displayed when the call to &lt;tt&gt;add_key&lt;/tt&gt; fails. This function is provided by &lt;tt&gt;libkeyutils&lt;/tt&gt;, in my case it is:&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;libkeyutils1/focal,now 1.6-6ubuntu1 amd64 [installed,automatic]
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;</comment>
                            <comment id="322169" author="simmonsja" created="Mon, 10 Jan 2022 15:23:41 +0000"  >&lt;p&gt;I figured out its due to one of the sanity-sec test failing. Currently if any of the test fail the later test also will fail with the above error. My thinking is that the sanity-sec test are not properly revoking the key on failing testing.&#160;&lt;/p&gt;</comment>
                            <comment id="322268" author="gerrit" created="Tue, 11 Jan 2022 07:38:50 +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/46038&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46038&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15407&quot; title=&quot;fscrypt does not work on Ubuntu 5.8 kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15407&quot;&gt;&lt;del&gt;LU-15407&lt;/del&gt;&lt;/a&gt; test: remove dummy enc key at cleanup&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: 1&lt;br/&gt;
Commit: b05a9eb3e2fbe4110c66c12447af971577faa46c&lt;/p&gt;</comment>
                            <comment id="322971" author="gerrit" created="Tue, 18 Jan 2022 09:07:57 +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/46038/&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://review.whamcloud.com/46038/&lt;/a&gt;&lt;br/&gt;
Subject: &lt;a href=&quot;https://jira.whamcloud.com/browse/LU-15407&quot; title=&quot;fscrypt does not work on Ubuntu 5.8 kernel&quot; class=&quot;issue-link&quot; data-issue-key=&quot;LU-15407&quot;&gt;&lt;del&gt;LU-15407&lt;/del&gt;&lt;/a&gt; test: remove dummy enc key at cleanup&lt;br/&gt;
Project: fs/lustre-release&lt;br/&gt;
Branch: master&lt;br/&gt;
Current Patch Set: &lt;br/&gt;
Commit: ec0b308614a2bad18a7a1fd805f36eb8ed6ea5eb&lt;/p&gt;</comment>
                            <comment id="322997" author="pjones" created="Tue, 18 Jan 2022 14:03:27 +0000"  >&lt;p&gt;Landed for 2.15&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10011">
                    <name>Related</name>
                                            <outwardlinks description="is related to ">
                                        <issuelink>
            <issuekey id="59726">LU-13717</issuekey>
        </issuelink>
            <issuelink>
            <issuekey id="59953">LU-13783</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </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|i02djb:</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>