Red Hat Bugzilla – Bug 984549
system-config-kdump needs write access to /boot/efi/EFI/fedora/grub.cfg
Last modified: 2013-08-14 22:54:31 EDT
As reported in #983017, system-config-kdump is unable to write bootloader configuration on systems that boot using EFI. In addition to fixing s-c-kdump, the SELinux policy needs to be modified to allow s-c-kdump write access to /boot/efi/EFI/fedora/grub.cfg.
It might be relevant that the EFI partition on /boot/efi has FAT32 file system.
Can you also please fix this for F19, or should I open separate bug report?
Created attachment 773757 [details]
grep system-config-k /var/log/audit/audit.log
The output of "grep system-config-k /var/log/audit/audit.log" on Fedora 19. (I don't currently have access to EFI-capable machine with F18, sorry.)
Could you re-test it with
# setenforce 0
# echo "-w /etc/shadow -p w" >> /etc/audit/audit.rules
restart auditd and re-test and run
# ausearch -m avc -ts recent
Created attachment 774225 [details]
ausearch -m avc -ts recent
Attaching requested information.
system-config-kdump should be run with
#! /usr/bin/python -Es
It should not be using /root/.local.
We should allow it to write to dosfs_t if /boot/efi/EFI/fedora/grub.cfg. is a FAT file system?
> We should allow it to write to dosfs_t if /boot/efi/EFI/fedora/grub.cfg. is
> a FAT file system?
I believe that would solve this issue.
207c8051a3092e75a1a7c260daf22bfa65806ae2 fixes this in git, IE Allows system-config-kdump to write to dosfs_t files
selinux-policy-3.11.1-99.fc18 has been submitted as an update for Fedora 18.
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.11.1-99.fc18'
as soon as you are able to.
Please go to the following url:
then log in and leave karma (feedback).
selinux-policy-3.11.1-100.fc18 has been submitted as an update for Fedora 18.
selinux-policy-3.11.1-100.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.