From 0a5ea8a33a570f208b33b2b32bb604b2fe6b6ba6 Mon Sep 17 00:00:00 2001 From: Ivan Mironov Date: Sun, 3 Mar 2024 14:51:13 +0500 Subject: [PATCH] rasdaemon: ras-mc-ctl: Do not try to find modprobe It is not used and prevents ras-mc-ctl.service from starting on Fedora when SELinux is in Enforcing mode. Resolves: rhbz#1836861 Resolves: https://github.com/fedora-selinux/selinux-policy/issues/2054 Resolves: https://github.com/mchehab/rasdaemon/issues/79 Signed-off-by: Ivan Mironov Signed-off-by: Mauro Carvalho Chehab --- util/ras-mc-ctl.in | 1 - 1 file changed, 1 deletion(-) diff --git a/util/ras-mc-ctl.in b/util/ras-mc-ctl.in index 227a77d..892d69b 100755 --- a/util/ras-mc-ctl.in +++ b/util/ras-mc-ctl.in @@ -39,7 +39,6 @@ my $dbname = "@RASSTATEDIR@/@RAS_DB_FNAME@"; my $prefix = "@prefix@"; my $sysconfdir = "@sysconfdir@"; my $dmidecode = find_prog ("dmidecode"); -my $modprobe = find_prog ("modprobe") or exit (1); my $has_aer = 0; my $has_arm = 0;