]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
rasdaemon: ras-mc-ctl: Do not try to find modprobe
authorIvan Mironov <mironov.ivan@gmail.com>
Sun, 3 Mar 2024 09:51:13 +0000 (14:51 +0500)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Tue, 11 Jun 2024 09:14:41 +0000 (11:14 +0200)
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 <mironov.ivan@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
util/ras-mc-ctl.in

index 227a77d6741a6e220412e08f73293c9bc6927eee..892d69b2cd9af12ed25ab508fb5b664262f677a1 100755 (executable)
@@ -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;