Skip to content

Commit

Permalink
Allow ssh generator work with systemd unit files
Browse files Browse the repository at this point in the history
Resolves: RHEL-72549
  • Loading branch information
zpytela committed Jan 8, 2025
1 parent 3ae9a5e commit fccee97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions policy/modules/system/systemd.te
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,7 @@ init_exec_script_files(systemd_rc_local_generator_t)
### ssh generator
allow systemd_ssh_generator_t self:vsock_socket create;
allow systemd_ssh_generator_t vsock_device_t:chr_file { read_chr_file_perms };
allow systemd_ssh_generator_t systemd_unit_file_t:file { create_file_perms rw_file_perms };

kernel_read_sysctl(systemd_ssh_generator_t)

Expand Down

0 comments on commit fccee97

Please sign in to comment.