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

sanity test_103a: some ACL tests fail with SELinux enforced

    XMLWordPrintable

Details

    • 3
    • 9223372036854775807

    Description

      sanity test_103a fails when SElinux is enforced on the client.

      lrwxrwxrwx root root                  ? lrwxrwxrwx. root root                  
      [68] $ su bin -- ok
      [69] $ getfattr -d l -- ok
      [78] $ su -- ok
      [79] $ mkdir t -- ok
      [80] $ chown nobody:nobody t -- ok
      [81] $ chmod 1750 t -- ok
      [82] $ ls -dl t | awk -- '{ print $1, $3, $4 }' -- failed
      drwxr-x--T nobody nobody              ? drwxr-x--T. nobody nobody              
      [84] $ su nobody -- ok
      [85] $ setfacl -m g:bin:rwx t -- ok
      [86] $ getfacl --omit-header t -- ok
      [93] $ su bin -- ok
      [94] $ setfattr -n user.test.xattr -v 654321 t -- ok
      [101] $ su -- ok
      [102] $ mkdir d -- ok
      [103] $ chown nobody:nobody d -- ok
      [104] $ chmod 750 d -- ok
      [105] $ ls -dl d | awk -- '{ print $1, $3, $4 }' -- failed
      drwxr-x--- nobody nobody              ? drwxr-x---. nobody nobody              
      [107] $ su nobody -- ok
      [108] $ setfacl -m g:bin:rwx d -- ok
      [109] $ getfacl --omit-header d -- ok
      [116] $ su bin -- ok
      [117] $ setfattr -n user.test.xattr -v 654321 d -- ok
      [118] $ getfattr -d d -- ok
      [127] $ su -- ok
      [128] $ mknod -m 0660 hdt b 91 64 -- ok
      [129] $ mknod -m 0660 null c 1 3 -- ok
      [130] $ mkfifo -m 0660 fifo -- ok
      [131] $ setfattr -n user.test.xattr -v 123456 hdt -- ok
      [133] $ setfattr -n user.test.xattr -v 123456 null -- ok
      [135] $ setfattr -n user.test.xattr -v 123456 fifo -- ok
      [141] $ su -- ok
      [142] $ cd .. -- ok
      [143] $ rm -rf d -- ok
      53 commands (49 passed, 4 failed)
       sanity test_103a: @@@@@@ FAIL: permissions_xattr failed 
      

      This issue relates to the following test suite run: https://testing.whamcloud.com/test_sets/84b99ac8-700d-11e9-8bb1-52540065bddc

      VVVVVVV DO NOT REMOVE LINES BELOW, Added by Maloo for auto-association VVVVVVV
      sanity test_103a - permissions_xattr failed

      Attachments

        Activity

          People

            sebastien Sebastien Buisson
            maloo Maloo
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: