unconfined: Fix systemd --user rule.
Use the full init_pgm_spec_user_daemon_domain() to ensure correct permissions. Signed-off-by: Chris PeBenito <chpebeni@linux.microsoft.com>
This commit is contained in:
parent
04a83b9616
commit
42d115aa53
|
@ -672,12 +672,7 @@ interface(`init_domtrans',`
|
||||||
## </desc>
|
## </desc>
|
||||||
## <param name="domain">
|
## <param name="domain">
|
||||||
## <summary>
|
## <summary>
|
||||||
## Domain allowed to transition.
|
## The type to be used as a systemd --user domain.
|
||||||
## </summary>
|
|
||||||
## </param>
|
|
||||||
## <param name="domain">
|
|
||||||
## <summary>
|
|
||||||
## New domain.
|
|
||||||
## </summary>
|
## </summary>
|
||||||
## </param>
|
## </param>
|
||||||
#
|
#
|
||||||
|
|
|
@ -62,7 +62,7 @@ ifdef(`init_systemd',`
|
||||||
# for systemd-analyze
|
# for systemd-analyze
|
||||||
init_service_status(unconfined_t)
|
init_service_status(unconfined_t)
|
||||||
# for systemd --user:
|
# for systemd --user:
|
||||||
init_pgm_entrypoint(unconfined_t)
|
init_pgm_spec_user_daemon_domain(unconfined_t)
|
||||||
|
|
||||||
optional_policy(`
|
optional_policy(`
|
||||||
systemd_dbus_chat_resolved(unconfined_t)
|
systemd_dbus_chat_resolved(unconfined_t)
|
||||||
|
|
Loading…
Reference in New Issue