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 ccba5a8 commit 6e3090e
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 6e3090e

Please sign in to comment.