Skip to content

Commit

Permalink
fixdep dbus
Browse files Browse the repository at this point in the history
auth_use_pam_systemd requires dbus  :  

> /var/lib/selinux/targeted/tmp/modules/400/authlogin/cil:133 =
> (typeattributeset cil_gen_require dbusd_system_bus_client)

Signed-off-by: Nicolas PARLANT <[email protected]>
  • Loading branch information
PPN-SD committed Jan 21, 2025
1 parent 94d9ea4 commit 684b47e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion policy/modules/system/authlogin.te
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ term_dontaudit_use_all_ptys(chkpwd_t)

auth_read_shadow_history(chkpwd_t)
auth_use_nsswitch(chkpwd_t)
auth_use_pam_systemd(chkpwd_t)

logging_send_audit_msgs(chkpwd_t)
logging_send_syslog_msg(chkpwd_t)
Expand All @@ -160,6 +159,10 @@ ifdef(`distro_ubuntu',`
')
')

ifdef(`init_systemd',`
auth_use_pam_systemd(chkpwd_t)
')

optional_policy(`
# apache leaks file descriptors
apache_dontaudit_rw_tcp_sockets(chkpwd_t)
Expand Down

0 comments on commit 684b47e

Please sign in to comment.