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

setregid or setreuid does not work as expected when cli2mdt SSK is on

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • Lustre 2.12.3, Lustre 2.12.4
    • None
    • Centos 7.7. ZFS on both MDTs and OSTs. TCP network.
    • 3
    • 9223372036854775807

    Description

      During tests of gocryptfs 1.7 I found that it didn't work on-top of Lustre with cli2mdt SSK. After a bit of tracing I found that after some setreuid/setregid calls it hadn't got permission to open files.

      I've attached a test program that causes the issue. The 501 uid/gid is arbitrary, but it must be run in a directory with with the same uid/gid as chosen here.

      When cli2mdt SSK is of it works as expected. When cli2mdt SSK is on it returns:

      "open: Permission denied"

      Cheers,
      Hans Henrik

      Attachments

        Activity

          People

            sebastien Sebastien Buisson
            happe Hans Henrik Happe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: