diff --git a/policy/modules/apps/loadkeys.te b/policy/modules/apps/loadkeys.te index 1976e2cbf..5c3b18d58 100644 --- a/policy/modules/apps/loadkeys.te +++ b/policy/modules/apps/loadkeys.te @@ -48,6 +48,12 @@ miscfiles_read_localization(loadkeys_t) userdom_use_user_ttys(loadkeys_t) userdom_list_user_home_content(loadkeys_t) +ifdef(`distro_debian',` + optional_policy(` + consolesetup_read_conf(loadkeys_t) + ') +') + optional_policy(` keyboardd_read_pipes(loadkeys_t) ') diff --git a/policy/modules/system/udev.te b/policy/modules/system/udev.te index 3fce6c743..fb18e16d9 100644 --- a/policy/modules/system/udev.te +++ b/policy/modules/system/udev.te @@ -215,6 +215,12 @@ ifdef(`distro_debian',` avahi_setattr_pid_dirs(udev_t) avahi_filetrans_pid(udev_t, dir, "avahi-daemon") ') + + optional_policy(` + consolesetup_exec_conf(udev_t) + consolesetup_manage_runtime(udev_t) + consolesetup_pid_filetrans_runtime(udev_t) + ') ') ifdef(`distro_gentoo',`