Skip to content

Commit ad5d127

Browse files
genericdatatreydock
authored andcommitted
Update ondemand-selinux.te allowing configless Slurm (#4791)
1 parent 6a7b588 commit ad5d127

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)