Skip to content

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

Open
@lbrigman124

Description

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions