<!-- 
RSS generated by JIRA (9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c) at Sat Feb 10 01:10:23 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-784] Cannot access named pipes or sockets with Posix-ACLs</title>
                <link>https://jira.whamcloud.com/browse/LU-784</link>
                <project id="10000" key="LU">Lustre</project>
                    <description>&lt;p&gt;Named pipes (FIFOs) and sockets in a Lustre filesystem can no longer be&lt;br/&gt;
accessed or unlinked if Posix-ACLs are set. This can be easily reproduced:&lt;/p&gt;

&lt;p&gt;% mknod /lustre/test.pipe p&lt;br/&gt;
% setfacl -m g:testgroup:rx /lustre/test.pipe&lt;/p&gt;

&lt;p&gt;Subsequently, all of the following operations result in EOPNOTSUPP, leaving an&lt;br/&gt;
inode that cannot be removed.&lt;/p&gt;

&lt;p&gt;% stat /lustre/test.pipe&lt;br/&gt;
% unlink /lustre/test.pipe&lt;br/&gt;
% setfacl -b /lustre/test.pipe&lt;br/&gt;
% setfattr -x system.posix_acl_access testpipe&lt;br/&gt;
% getfacl /lustre/test.pipe&lt;br/&gt;
% getfattr -m &apos;.*&apos; /lustre/test.pipe&lt;/p&gt;

&lt;p&gt;For each of these commands, syslog lists an error message like:&lt;/p&gt;

&lt;p&gt;  LustreError: 28069:0:(mdc_request.c:489:mdc_unpack_acl()) convert xattr to acl: -95&lt;/p&gt;

&lt;p&gt;The ACLs on the test file work fine with getfacl when mounting the MDT as&lt;br/&gt;
ldiskfs, so they are stored correctly. Looking at mdc_unpack_acl() and&lt;br/&gt;
posix_acl_from_xattr(), the EOPNOTSUPP means they get garbled when they&apos;re&lt;br/&gt;
read back and sent to the client, though.&lt;/p&gt;</description>
                <environment>Tested on live systems with Lustre 1.8.5, RHEL4 and RHEL5 clients. Problem could be trivially reproduced in a VM running CentOS5 with Lustre 1.8.6-wc1.</environment>
        <key id="12217">LU-784</key>
            <summary>Cannot access named pipes or sockets with Posix-ACLs</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="sarah">Sarah Liu</assignee>
                                    <reporter username="kobras">Daniel Kobras</reporter>
                        <labels>
                    </labels>
                <created>Fri, 21 Oct 2011 13:13:42 +0000</created>
                <updated>Wed, 16 Jan 2013 08:16:26 +0000</updated>
                            <resolved>Wed, 24 Oct 2012 18:56:28 +0000</resolved>
                                    <version>Lustre 1.8.6</version>
                                                        <due></due>
                            <votes>0</votes>
                                    <watches>5</watches>
                                                                            <comments>
                            <comment id="21663" author="pjones" created="Fri, 21 Oct 2011 16:47:14 +0000"  >&lt;p&gt;Daniel&lt;/p&gt;

&lt;p&gt;To be clear - is this a regression from 1.8.5 or is this same behaviour also seen in 1.8.5? I am clear that it manifests in 1.8.6-wc1.&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="21764" author="pjones" created="Sun, 23 Oct 2011 23:38:50 +0000"  >&lt;p&gt;Sarah&lt;/p&gt;

&lt;p&gt;Could you please try and reproduce this?&lt;/p&gt;

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

&lt;p&gt;Peter&lt;/p&gt;</comment>
                            <comment id="21776" author="kobras" created="Mon, 24 Oct 2011 03:34:55 +0000"  >&lt;p&gt;Sorry, bad wording: The problem occurs in (at least) 1.8.5 and 1.8.6-wc1. I haven&apos;t tested with any other Lustre version.&lt;/p&gt;</comment>
                            <comment id="21777" author="pjones" created="Mon, 24 Oct 2011 09:43:06 +0000"  >&lt;p&gt;Thanks for clarifying Daniel.&lt;/p&gt;</comment>
                            <comment id="46882" author="sarah" created="Wed, 24 Oct 2012 18:27:25 +0000"  >&lt;p&gt;I tried this on 2.3.0, both server and client are RHEL6, cannot reproduce 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;root@client-4 ~]# mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
fat-amd-1@tcp:/lustre on /mnt/lustre type lustre (rw,user_xattr,acl,flock)
[root@client-4 ~]# rpm -qa|grep lustre
lustre-client-modules-2.3.0-2.6.32_279.5.1.el6.x86_64.x86_64
lustre-client-2.3.0-2.6.32_279.5.1.el6.x86_64.x86_64
lustre-client-tests-2.3.0-2.6.32_279.5.1.el6.x86_64.x86_64
[root@client-4 ~]# 
[root@client-4 ~]# mknod /mnt/lustre/test.pipe p
[root@client-4 ~]# setfacl -m g:quota_usr:rx /mnt/lustre/test.pipe 
[root@client-4 ~]# stat /mnt/lustre/test.pipe 
  File: `/mnt/lustre/test.pipe&apos;
  Size: 0         	Blocks: 0          IO Block: 4096   fifo
Device: 2c54f966h/743766374d	Inode: 144115205255725060  Links: 1
Access: (0654/prw-r-xr--)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2012-10-24 13:52:38.000000000 -0700
Modify: 2012-10-24 13:52:38.000000000 -0700
Change: 2012-10-24 13:52:58.000000000 -0700
[root@client-4 ~]# unlink /mnt/lustre/test.pipe 
[root@client-4 ~]# mknod /mnt/lustre/test.pipe p
[root@client-4 ~]# setfacl -m g:quota_usr:rx /mnt/lustre/test.pipe 
[root@client-4 ~]# setfacl -b /mnt/lustre/test.pipe 
[root@client-4 ~]# setfattr -x system.posix_acl_access /mnt/lustre/test.pipe 
[root@client-4 ~]# getfacl /mnt/lustre/test.pipe 
getfacl: Removing leading &apos;/&apos; from absolute path names
# file: mnt/lustre/test.pipe
# owner: root
# group: root
user::rw-
group::r--
other::r--

[root@client-4 ~]# getfattr -m &apos;.*&apos; /mnt/lustre/test.pipe 
getfattr: Removing leading &apos;/&apos; from absolute path names
# file: mnt/lustre/test.pipe
trusted.link
trusted.lma

[root@client-4 ~]# 
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;While on 1.8.6-wc1, it can be reproduced:&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;[root@client-4 ~]# stat /mnt/lustre/test.pipe 
LustreError: 3751:0:(mdc_request.c:489:mdc_unpack_acl()) convert xattr to acl: -95
stat: cannot stat `/mnt/lustre/test.pipe&apos;: Operation not supported
[root@client-4 ~]# rpm -qa|grep lustre
lustre-client-1.8.6-wc1_2.6.18_238.12.1.el5
lustre-client-modules-1.8.6-wc1_2.6.18_238.12.1.el5
lustre-client-tests-1.8.6-wc1_2.6.18_238.12.1.el5
[root@client-4 ~]# 
[root@client-4 ~]# mount
/dev/sda1 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)
fat-amd-1@tcp:/lustre on /mnt/lustre type lustre (rw,user_xattr,acl,flock)
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;

&lt;p&gt;I am going to try it on 1.8.8 and will keep you updated.&lt;/p&gt;</comment>
                            <comment id="46885" author="sarah" created="Wed, 24 Oct 2012 18:51:47 +0000"  >&lt;p&gt;1.8.8 also has this issue, I tested with both server and client running RHEL5&lt;/p&gt;

&lt;p&gt;&lt;span class=&quot;error&quot;&gt;&amp;#91;root@client-4 ~&amp;#93;&lt;/span&gt;# mknod /mnt/lustre/test.pipe p&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@client-4 ~&amp;#93;&lt;/span&gt;# setfacl -m g:quota_usr:rx /mnt/lustre/test.pipe &lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@client-4 ~&amp;#93;&lt;/span&gt;# stat /mnt/lustre/teLustreError: 3525:0:(mdc_request.c:489:mdc_unpack_acl()) convert xattr to acl: -95&lt;br/&gt;
st.pipe &lt;br/&gt;
LustreError: 3671:0:(mdc_request.c:489:mdc_unpack_acl()) convert xattr to acl: -95&lt;br/&gt;
stat: cannot stat `/mnt/lustre/test.pipe&apos;: Operation not supported&lt;br/&gt;
&lt;span class=&quot;error&quot;&gt;&amp;#91;root@client-4 ~&amp;#93;&lt;/span&gt;# rpm -qa|grep lustre&lt;br/&gt;
lustre-client-1.8.8-wc1_2.6.18_308.4.1.el5_gbc88c4c&lt;br/&gt;
lustre-client-modules-1.8.8-wc1_2.6.18_308.4.1.el5_gbc88c4c&lt;br/&gt;
lustre-client-tests-1.8.8-wc1_2.6.18_308.4.1.el5_gbc88c4c&lt;/p&gt;</comment>
                            <comment id="46886" author="pjones" created="Wed, 24 Oct 2012 18:56:28 +0000"  >&lt;p&gt;Thanks Sarah! Daniel, if you have not already it sounds like upgrading to a more current release is the way forward&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10010">
                    <name>Duplicate</name>
                                            <outwardlinks description="duplicates">
                                        <issuelink>
            <issuekey id="17014">LU-2518</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|hzvhtz:</customfieldvalue>

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