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

CIS Hardening and NFS root squashing #158

Closed
aceeric opened this issue Sep 25, 2023 · 1 comment
Closed

CIS Hardening and NFS root squashing #158

aceeric opened this issue Sep 25, 2023 · 1 comment

Comments

@aceeric
Copy link
Contributor

aceeric commented Sep 25, 2023

When /home is an NFS volume and root squashing is enabled, and Ansible (as root) tries to mkdir /home/etcd it results in an OS error. If the person installer doesn't have the ability to change this then the installation fails. The error occurs here: roles/rke2_common/tasks/cis-hardening.yml:

    - name: Create etcd user
      user:
        name: etcd
        comment: etcd user
        shell: /bin/nologin
        group: etcd
aceeric pushed a commit to aceeric/rke2-ansible that referenced this issue Sep 25, 2023
@mddamato
Copy link
Contributor

Will merge this after #155, this is a good catch. Thank you.

@Daemonslayer2048 Daemonslayer2048 mentioned this issue Oct 2, 2023
4 tasks
@mddamato mddamato closed this as completed Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants