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

configure should not fail if libkeyutils cannot be found

    XMLWordPrintable

Details

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

    Description

      Auto-detected GSS support should not cause configure to fail if libkeyutils cannot be found:

      # ./configure
      checking whether to enable gss support... auto
      checking whether to enable gss keyring backend... yes
      checking if Linux kernel was built with CONFIG_KEYS in or as module... yes
      checking for keyctl_search in -lkeyutils... no
      configure: WARNING: GSS keyring backend requires libkeyutils
      configure: error: Cannot enable gss_keyring. See above for details
      

      This should only be considered an error if --enable-gss or --enable-gss-keyring is explicitly specified. Instead, if GSS support is auto-detected, then the missing libkeyutils should auto-disable GSS support.

      Attachments

        Issue Links

          Activity

            People

              adilger Andreas Dilger
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: