mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-28 11:43:25 +02:00
logwatch: mdadm status missing - Fix for Bug 12080
- Addition of mdadm module to logwatch - Addition of logwatch to sudoers list to run mdadm commands - patch to change logwatch mdadm.conf to allow scan for raid drives, change mdadm script to run mdadm scan commands with sudo, allow clean but degraded drives to be listed in the output. Fixes: 12080 Tested-by: Adolf Belka <adolf.belka@ipfire.org> Signed-off-by: Adolf Belka <adolf.belka@ipfire.org> Reviewed-by: Michael Tremer <michael.tremer@ipfire.org> Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
This commit is contained in:
committed by
Arne Fitzenreiter
parent
4ee445ce44
commit
1c71ff6b2c
@@ -3,6 +3,8 @@ etc/logwatch/conf
|
||||
#etc/logwatch/logwatch.cron
|
||||
etc/logwatch/scripts
|
||||
etc/logwatch/scripts/services
|
||||
#etc/sudoers.d
|
||||
etc/sudoers.d/logwatch-mdadm
|
||||
usr/sbin/logwatch
|
||||
#usr/share/logwatch
|
||||
#usr/share/logwatch/HOWTO-Customize-LogWatch
|
||||
@@ -117,7 +119,7 @@ usr/share/logwatch/default.conf/services/kernel.conf
|
||||
#usr/share/logwatch/default.conf/services/knockd.conf
|
||||
#usr/share/logwatch/default.conf/services/lvm.conf
|
||||
#usr/share/logwatch/default.conf/services/mailscanner.conf
|
||||
#usr/share/logwatch/default.conf/services/mdadm.conf
|
||||
usr/share/logwatch/default.conf/services/mdadm.conf
|
||||
#usr/share/logwatch/default.conf/services/mod_security2.conf
|
||||
usr/share/logwatch/default.conf/services/modprobe.conf
|
||||
#usr/share/logwatch/default.conf/services/mountd.conf
|
||||
@@ -262,7 +264,7 @@ usr/share/logwatch/scripts/services/kernel
|
||||
#usr/share/logwatch/scripts/services/knockd
|
||||
#usr/share/logwatch/scripts/services/lvm
|
||||
#usr/share/logwatch/scripts/services/mailscanner
|
||||
#usr/share/logwatch/scripts/services/mdadm
|
||||
usr/share/logwatch/scripts/services/mdadm
|
||||
#usr/share/logwatch/scripts/services/mod_security2
|
||||
usr/share/logwatch/scripts/services/modprobe
|
||||
#usr/share/logwatch/scripts/services/mountd
|
||||
|
||||
Reference in New Issue
Block a user