Skip to content

SELinux disabled on pcluster ami buildtime #7327

Open

Description

@ezrizhu

SELinux is required to operate within various compliance landscapes.
P Cluster's AMI creation disables and checks that SELinux is disabled.

https://github.com/aws/aws-parallelcluster-cookbook/blob/develop/cookbooks/aws-parallelcluster-platform/test/controls/disable_selinux_spec.rb

https://aws.amazon.com/blogs/hpc/securing-hpc-on-aws-implementing-stigs-in-aws-parallelcluster/ Suggests that it is possible to operate P Cluster in a compliant environment, with SELinux (as implied by the STIGs).

Is there a reason why SELinux is disabled?

Activity

  1. ezrizhu commented on Apr 10, 2026

    @ezrizhu
    Author

    on the compute nodes, for slurmd to work on the nfs, we found that remounting /opt/slurm with context="system_u:object_r:bin_t:s0" resolves the SELinux issues.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions