]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(dracut-initramfs-restore.sh): do not set selinux labels if disabled
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Tue, 12 Sep 2023 13:07:16 +0000 (15:07 +0200)
committerLaszlo Gombos <laszlo.gombos@gmail.com>
Mon, 30 Oct 2023 13:39:54 +0000 (09:39 -0400)
commit4d594210d6ef4f04a9dbadacea73e9461ded352d
tree20e291db4fad6ee86c9407a57c92be72d92302f1
parent1586af098fb17f7565d1699953e4e4b536304089
fix(dracut-initramfs-restore.sh): do not set selinux labels if disabled

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