Skip to content

Commit

Permalink
systemd: permit sd-sysuser access to admin terminal
Browse files Browse the repository at this point in the history
Required to print possible error messages on package upgrade.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
  • Loading branch information
cgzones committed Nov 5, 2024
1 parent 2df7a71 commit 546655b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions policy/modules/system/systemd.te
Original file line number Diff line number Diff line change
Expand Up @@ -1848,6 +1848,10 @@ systemd_log_parse_environment(systemd_sysusers_t)

systemd_stream_connect_nsresourced(systemd_sysusers_t)

# package upgrade
userdom_use_all_users_fds(systemd_sysusers_t)
userdom_use_inherited_user_terminals(systemd_sysusers_t)

#########################################
#
# Tmpfiles local policy
Expand Down

0 comments on commit 546655b

Please sign in to comment.