Uploaded image for project: 'Hue (READ ONLY)'
  1. Hue (READ ONLY)
  2. HUE-336

kt_renewer doesn't work for root user

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: core.api
    • Labels:
      None

      Description

      The Krb credential cache is stored as "/tmp/hue_krb5_ccache_%d" % os.geteuid(), which creates inconsistency when Hue is started by root.

      When the root user starts Hue, the cpserver would see euid root, but the kt_renewer would see euid hue. This is because the kt_renewer drops root and the cpserver doesn't (from the supervisor's point of view). I'm proposing that we set the cache path to a simple static path.

      [Issue reported by ATM.]

        Attachments

          Activity

            People

            • Assignee:
              bcwalrus bc Wong
              Reporter:
              bcwalrus bc Wong
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: