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

lctl get_param easily confused

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • Lustre 2.2.0
    • Lustre 2.1.0, Lustre 1.8.6
    • None
    • 3
    • 4782

    Description

      If lctl get_param <param> has a file named <param> in the current working directory, it returns that instead of the expected values.

      To reproduce:

      # /usr/lib64/lustre/tests/llmount.sh
      # cd /tmp
      # lctl get_param version
      version=
      lustre: 2.1.51
      kernel: patchless_client
      build:  2.1.51-ga83a510-CHANGED-2.6.32-131.6.1.el6_lustre.g65156ed.x86_64
      # echo "All your Lustre are belong to us" > ./version
      # lctl get_param version
      =
      All your Lustre are belong to us
      #
      

      Attachments

        Issue Links

          Activity

            People

              rhenwood Richard Henwood (Inactive)
              rhenwood Richard Henwood (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: