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

Replace usage of '/bin/bash' with '/usr/bin/bash'

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Medium
    • Lustre 2.18.0
    • None
    • 3
    • 9223372036854775807

    Description

      Newer Linux distros (at least el9.6) are printing a warning message for scripts using `/bin/bash`:

      lustre/tests/racer/file_setxattr.sh from /bin/bash to #!/usr/bin/bash
      

      The use of /bin vs /usr/bin is deprecated since at least RHEL8, since this is just a symlink today, and master no longer supports RHEL7 and earlier.

      There are also a few places using `/bin/sh` directly that should be changed as well (whether to `/usr/bin/sh` or `/usr/bin/bash` is an exercise for the reader).

      Attachments

        Issue Links

          Activity

            People

              npapakonstantinou Nikos Papakonstantinou
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: