Skip to content

Commit aabdbec

Browse files
authored
Merge pull request #4797 from OSC/backport-4791-4.0
Update ondemand-selinux.te allowing configless Slurm (release_4.0)
2 parents 6a7b588 + ad5d127 commit aabdbec

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packaging/rpm/ondemand-selinux.te

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ tunable_policy(`ondemand_use_slurm',`
214214
corenet_tcp_connect_generic_port(ood_pun_t)
215215
# Access munge socket
216216
allow ood_pun_t var_run_t:sock_file { getattr write };
217+
# Allow configless Slurm in /var/run
218+
allow ood_pun_t var_run_t:file { read getattr open };
217219
# SLURM commands like squeue
218220
allow ood_pun_t self:netlink_route_socket { create_netlink_socket_perms };
219221
allow ood_pun_t unconfined_service_t:unix_stream_socket { connectto };

0 commit comments

Comments
 (0)