/[smeserver]/rpms/e-smith-base/sme9/e-smith-base-5.6.0-mdevent.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme9/e-smith-base-5.6.0-mdevent.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Sun May 11 18:29:08 2014 UTC (10 years, 6 months ago) by stephdl
Branch: MAIN
CVS Tags: e-smith-base-5_6_0-13_el6_sme, e-smith-base-5_6_0-36_el6_sme, e-smith-base-5_6_0-27_el6_sme, e-smith-base-5_6_0-22_el6_sme, e-smith-base-5_6_0-12_el6_sme, e-smith-base-5_6_0-33_el6_sme, e-smith-base-5_6_0-31_el6_sme, e-smith-base-5_6_0-10_el6_sme, e-smith-base-5_6_0-34_el6_sme, e-smith-base-5_6_0-16_el6_sme, e-smith-base-5_6_0-19_el6_sme, e-smith-base-5_6_0-28_el6_sme, e-smith-base-5_6_0-11_el6_sme, e-smith-base-5_6_0-25_el6_sme, e-smith-base-5_6_0-21_el6_sme, e-smith-base-5_6_0-30_el6_sme, e-smith-base-5_6_0-35_el6_sme, e-smith-base--, e-smith-base-5_6_0-32_el6_sme, e-smith-base-5_6_0-8_el6_sme, e-smith-base-5_6_0-7_el6_sme, e-smith-base-5_6_0-26_el6_sme, e-smith-base-5_6_0-9_el6_sme, e-smith-base-5_6_0-23_el6_sme, e-smith-base-5_6_0-20_el6_sme, e-smith-base-5_6_0-29_el6_sme, e-smith-base-5_6_0-24_el6_sme, e-smith-base-5_6_0-17_el6_sme, e-smith-base-5_6_0-15_el6_sme, e-smith-base-5_6_0-18_el6_sme, HEAD
Error occurred while calculating annotation data.
* Sun May 11 2014 stephane de Labrusse <stephdl@de-labrusse.fr> 5.6.0-7.sme
- Prevent emailing about the normal, weekly, checks of RAID arrays, by Mark Casey
- [SME: 7748]

1
2 diff -Nur e-smith-base-5.6.0.old/root/sbin/e-smith/mdevent e-smith-base-5.6.0/root/sbin/e-smith/mdevent
3 --- e-smith-base-5.6.0.old/root/sbin/e-smith/mdevent 2014-05-06 18:09:23.148215176 +0200
4 +++ e-smith-base-5.6.0/root/sbin/e-smith/mdevent 2014-05-11 18:01:09.626650309 +0200
5 @@ -37,6 +37,10 @@
6
7 print "Event: $event, Device: $device, Member: $member\n";
8
9 +if ($event =~ m#^Rebuild# && system( "ps -C raid-check" ) == 0 ) {
10 + exit 0;
11 +}
12 +
13 if ($event =~ m#^Rebuild|^Fail|^Degraded|^SpareActive#) {
14 my $domain = $conf->get_value("DomainName") || 'localhost';
15 my $user = "admin_raidreport\@$domain";

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed