Skip to content

Commit 645b6fc

Browse files
simpkinsfacebook-github-bot
authored andcommitted
update "eden daemon" to also pass through KRB5CCNAME
Summary: When the "eden daemon" CLI command has to run edenfs via sudo, also explicitly pass through the KRB5CCNAME environment variable. This will allow edenfs and it's hg import helper to find the correct Kerberos credentials if it needs to connect to a remote server. Reviewed By: wez, bolinfest Differential Revision: D4584132 fbshipit-source-id: 6c72e4eca76d81b3d4b53a9e72a0e8388da30a7d
1 parent 82d8d57 commit 645b6fc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

eden/fs/cli/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,7 @@ def _build_eden_environment(self):
435435
# contents. Preserve SSH environment variables needed to do this.
436436
'SSH_AUTH_SOCK',
437437
'SSH_AGENT_PID',
438+
'KRB5CCNAME',
438439
]
439440

440441
for name, value in os.environ.items():

0 commit comments

Comments
 (0)