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

Manpage lctl-nodemap-modify(8) shows bad value in example

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.17.0
    • Lustre 2.16.0
    • 3
    • 9223372036854775807

    Description

      The following line is in the "EXAMPLES" section:

      # lctl nodemap_modify --name remotesite --property map_mode --value uid_only

      While that does set nodemap.remotesite.map_mode=uid as one might expect, the following can also be called:

      # lctl nodemap_modify --name remotesite --property map_mode --value uid_only,gid

      which will set nodemap.remotesite.map_mode=uid,gid

      The man page should only list "uid", "gid" and "projid" as valid values, if the string processing by the kernel was more strict "uid_only" should be an error as an invalid value.

      Attachments

        Activity

          [LU-18381] Manpage lctl-nodemap-modify(8) shows bad value in example
          pjones Peter Jones added a comment -

          Merged for 2.17

          pjones Peter Jones added a comment - Merged for 2.17

          "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56735/
          Subject: LU-18381 doc: Fix example in lctl-nodemap-modify.8
          Project: fs/lustre-release
          Branch: master
          Current Patch Set:
          Commit: 690f1b67f7c0b8f514dee00d14935315a14151f7

          gerrit Gerrit Updater added a comment - "Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/56735/ Subject: LU-18381 doc: Fix example in lctl-nodemap-modify.8 Project: fs/lustre-release Branch: master Current Patch Set: Commit: 690f1b67f7c0b8f514dee00d14935315a14151f7

          "Nathaniel Clark <nclark@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56735
          Subject: LU-18381 man: Fix example in lctl-nodemap-modify(8)
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: f602c2cf6225151cb0f479c3239cf7225c5acbda

          gerrit Gerrit Updater added a comment - "Nathaniel Clark <nclark@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/56735 Subject: LU-18381 man: Fix example in lctl-nodemap-modify(8) Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: f602c2cf6225151cb0f479c3239cf7225c5acbda

          People

            utopiabound Nathaniel Clark
            utopiabound Nathaniel Clark
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: