Skip to content

Commit

Permalink
fix: [NODE-1428] Allow systemd to relabel journal files
Browse files Browse the repository at this point in the history
  • Loading branch information
Bownairo committed Jun 25, 2024
1 parent 232e770 commit 0ad23ce
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ allow syslogd_t syslogd_t : netlink_generic_socket { create ioctl };
# context.
require { type var_log_t; }
filetrans_pattern(syslogd_t, var_t, var_log_t, dir, "log")
allow systemd_tmpfiles_t var_log_t : file { relabelfrom };

# journald wants to scan the /run/user hierarchy (presumably relating to login sessions)
require { type user_runtime_root_t, user_runtime_t; }
Expand Down

0 comments on commit 0ad23ce

Please sign in to comment.