Allow prelink to read dbus config/Broken

nsplugin_config wants the kernel to load modules for it.
mount writes into livecd_tmp_t directories
This commit is contained in:
Dan Walsh 2010-08-31 08:54:18 -04:00
parent 5537e5558b
commit 3fdb12decd
3 changed files with 10 additions and 0 deletions

View File

@ -175,3 +175,8 @@ optional_policy(`
rpm_read_db(prelink_cron_system_t) rpm_read_db(prelink_cron_system_t)
') ')
') ')
ifdef(`hide_broken_symptoms', `
optional_policy(`
dbus_read_config(prelink_t)
')
')

View File

@ -239,6 +239,7 @@ corecmd_exec_bin(nsplugin_config_t)
corecmd_exec_shell(nsplugin_config_t) corecmd_exec_shell(nsplugin_config_t)
kernel_read_system_state(nsplugin_config_t) kernel_read_system_state(nsplugin_config_t)
kernel_request_load_module(nsplugin_config_t)
files_read_etc_files(nsplugin_config_t) files_read_etc_files(nsplugin_config_t)
files_read_usr_files(nsplugin_config_t) files_read_usr_files(nsplugin_config_t)

View File

@ -269,6 +269,10 @@ optional_policy(`
') ')
') ')
optional_policy(`
livecd_rw_tmp_files(mount_t)
')
# Needed for mount crypt https://bugzilla.redhat.com/show_bug.cgi?id=418711 # Needed for mount crypt https://bugzilla.redhat.com/show_bug.cgi?id=418711
optional_policy(` optional_policy(`
lvm_domtrans(mount_t) lvm_domtrans(mount_t)