Skip to content

Commit

Permalink
init: allow systemd setattr on kanidm-unixd cache dirs
Browse files Browse the repository at this point in the history
Signed-off-by: Kenton Groombridge <[email protected]>
  • Loading branch information
0xC0ncord committed Jul 1, 2024
1 parent 0b3790c commit d3ccca2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions policy/modules/system/init.te
Original file line number Diff line number Diff line change
Expand Up @@ -600,6 +600,11 @@ ifdef(`init_systemd',`
container_remount_fs(init_t)
')

optional_policy(`
# for systemd unit CacheDirectoryMode
kanidm_setattr_unixd_cache_dirs(init_t)
')

optional_policy(`
systemd_dbus_chat_logind(init_t)
systemd_create_logind_linger_dir(init_t)
Expand Down

0 comments on commit d3ccca2

Please sign in to comment.