Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doc question - temp directory usage and possible option to change location #2435

Open
lbrigman124 opened this issue Oct 26, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@lbrigman124
Copy link

What is version of KubeKey has the issue?

3.1.1

What is your os environment?

Rocky Linux 9

KubeKey config file

No response

A clear and concise description of what happend.

We are installing on customer-provided VM's. These VMs have recommended security-hardening changes implemented.
One specific issue is that /tmp and other temp directories are marked as noexec.

This causes the pre-steps commands not to execute and time out.

Relevant log output

+ exit 1: Process exited with status 1
failed: [gsm-3node-fresh-1] [Phase:PreInstall(0/1) script:nfs mount setup and check] exec failed after 1 retries: Exec Bash: /bin/bash /tmp/kubekeyPreInstall-0-script/task.sh err:Failed to exec command: sudo -E /bin/bash -c "/bin/bash /tmp/kubekeyPreInstall-0-script/task.sh"

Additional information

So this is more of a doc question than your defect.
Is there a way to change the temp directories using a configuration option without changing kk?

@lbrigman124 lbrigman124 added the bug Something isn't working label Oct 26, 2024
@redscholar
Copy link
Collaborator

Currently, modifying the temporary directory is not supported in this version. We will add support for this feature in future releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants