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

lctl debug_daemon should warn on relative pathnames

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • Lustre 2.11.0
    • None
    • None
    • 9223372036854775807

    Description

      lctl debug_daemon userspace part would happily accept relative pathname, but in fact the kernel part of the code wold reject anything that does not start with a / as EINVAL which produces a cryptic error message to the user like

      start debug_daemon on debug.log failed: Invalid argument
      

      We should either require absolute pathname in the tool or at least print a warning that the relative pathnames are unsupported and the command will likely fail (leading to the actual failure that would be a lot less cryptic).

      Attachments

        Activity

          People

            sguminsx Steve Guminski (Inactive)
            green Oleg Drokin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: