Get grub2-install to work properly
The grub2-install application runs a few grub2-* commands. Two of those, grub2-bios-setup and grub2-probe, need read/write access to the (fixed) disks. Mark those two applications as bootloader_exec_t (as is the case with the "grub" legacy command in the past) allows the commands to continue. Signed-off-by: Sven Vermeulen <sven.vermeulen@siphos.be>
This commit is contained in:
parent
1ff40b5ec7
commit
6fb9a34679
|
@ -7,3 +7,5 @@
|
|||
/sbin/ybin.* -- gen_context(system_u:object_r:bootloader_exec_t,s0)
|
||||
|
||||
/usr/sbin/grub -- gen_context(system_u:object_r:bootloader_exec_t,s0)
|
||||
/usr/sbin/grub2-bios-setup -- gen_context(system_u:object_r:bootloader_exec_t,s0)
|
||||
/usr/sbin/grub2-probe -- gen_context(system_u:object_r:bootloader_exec_t,s0)
|
||||
|
|
Loading…
Reference in New Issue