Explorar o código

[HUE-6486] Move Hue Krb ticket cache out of /tmp

We are frequently having customers self inflict issues because they
accidentally change permissions or remove files from /tmp.
Currently the Hue ticket cache is in "/tmp": /tmp/hue_krb5_ccache

In this change, I have set the location to "/var/run/hue" and in Hue server
same ccache_path directory path will be reflected.

Testing Done:
- Manual testing
- Tested on cluster
  - checked correct parameter value is shown.

[[kerberos]]
ccache_path=/var/run/hue/hue_krb5_ccache
Prakash Ranade %!s(int64=8) %!d(string=hai) anos
pai
achega
92bde8e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      desktop/core/src/desktop/conf.py

+ 1 - 1
desktop/core/src/desktop/conf.py

@@ -736,7 +736,7 @@ KERBEROS = ConfigSection(
       help=_("Path to keep Kerberos credentials cached."),
       private=True,
       type=str,
-      default="/tmp/hue_krb5_ccache",
+      default="/var/run/hue/hue_krb5_ccache",
     ),
     KINIT_PATH=Config(
       key='kinit_path',