dracutdevs / dracut

dracut the event driven initramfs infrastructure
https://github.com/dracutdevs/dracut/wiki
GNU General Public License v2.0
597 stars 396 forks source link

fix(dracut-initramfs-restore.sh): do not set selinux labels if disabled #2515

Closed aafeijoo-suse closed 10 months ago

aafeijoo-suse commented 11 months ago

Also, it's not enough to check if SELINUX=disabled in /etc/selinux/config, because it can be disabled via kernel command line options.

Checklist

stale[bot] commented 10 months ago

This issue is being marked as stale because it has not had any recent activity. It will be closed if no further activity occurs. If this is still an issue in the latest release of Dracut and you would like to keep it open please comment on this issue within the next 7 days. Thank you for your contributions.