Merge pull request #655 from dsugar100/dbus_start_stop_services
Allow system_dbusd_t to start/stop all units
This commit is contained in:
commit
77692ca0f6
@ -164,7 +164,6 @@ auth_read_pam_console_data(system_dbusd_t)
|
||||
init_use_fds(system_dbusd_t)
|
||||
init_use_script_ptys(system_dbusd_t)
|
||||
init_all_labeled_script_domtrans(system_dbusd_t)
|
||||
init_start_system(system_dbusd_t) # needed by dbus-broker
|
||||
|
||||
# for powerdevil /usr/lib/x86_64-linux-gnu/libexec/kauth/*
|
||||
libs_exec_lib_files(system_dbusd_t)
|
||||
@ -197,6 +196,12 @@ ifdef(`init_systemd', `
|
||||
init_list_runtime(system_dbusd_t)
|
||||
init_read_runtime_symlinks(system_dbusd_t)
|
||||
|
||||
init_start_system(system_dbusd_t) # needed by dbus-broker
|
||||
|
||||
# for system dbus daemon to start/stop units
|
||||
init_start_all_units(system_dbusd_t)
|
||||
init_stop_all_units(system_dbusd_t)
|
||||
|
||||
# Recent versions of dbus are started as Type=notify
|
||||
init_write_runtime_socket(system_dbusd_t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user