commit: 6021047ffb0b923335185c9a879a7ebb994acedb Author: Sven Vermeulen <sven.vermeulen <AT> siphos <DOT> be> AuthorDate: Sun Jan 25 14:03:05 2015 +0000 Commit: Jason Zaman <gentoo <AT> perfinion <DOT> com> CommitDate: Sun Jan 25 14:03:05 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=6021047f
Fix bug #537652 - Allow grub2-mkconfig to be executed from the user home dir (default location when executing commands for a user) --- policy/modules/admin/bootloader.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/policy/modules/admin/bootloader.te b/policy/modules/admin/bootloader.te index 197791f..fcaa6d4 100644 --- a/policy/modules/admin/bootloader.te +++ b/policy/modules/admin/bootloader.te @@ -208,3 +208,8 @@ optional_policy(` optional_policy(` rpm_rw_pipes(bootloader_t) ') + +ifdef(`distro_gentoo',` + # Fix bug #537652 - grub2-mkconfig has search rights needed on current dir (usually user home dir) + userdom_search_user_home_dirs(bootloader_t) +')