Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-784

Cannot access named pipes or sockets with Posix-ACLs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Minor
    • None
    • Lustre 1.8.6
    • None
    • 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.
    • 3
    • 6538

    Description

      Named pipes (FIFOs) and sockets in a Lustre filesystem can no longer be
      accessed or unlinked if Posix-ACLs are set. This can be easily reproduced:

      % mknod /lustre/test.pipe p
      % setfacl -m g:testgroup:rx /lustre/test.pipe

      Subsequently, all of the following operations result in EOPNOTSUPP, leaving an
      inode that cannot be removed.

      % stat /lustre/test.pipe
      % unlink /lustre/test.pipe
      % setfacl -b /lustre/test.pipe
      % setfattr -x system.posix_acl_access testpipe
      % getfacl /lustre/test.pipe
      % getfattr -m '.*' /lustre/test.pipe

      For each of these commands, syslog lists an error message like:

      LustreError: 28069:0:(mdc_request.c:489:mdc_unpack_acl()) convert xattr to acl: -95

      The ACLs on the test file work fine with getfacl when mounting the MDT as
      ldiskfs, so they are stored correctly. Looking at mdc_unpack_acl() and
      posix_acl_from_xattr(), the EOPNOTSUPP means they get garbled when they're
      read back and sent to the client, though.

      Attachments

        Issue Links

          Activity

            People

              sarah Sarah Liu
              kobras Daniel Kobras (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: