/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz12190-smartd.conf.patch
ViewVC logotype

Annotation of /rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz12190-smartd.conf.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Nov 22 19:51:58 2022 UTC (2 years ago) by jpp
Branch: MAIN
CVS Tags: e-smith-base-5_8_1-19_el7_sme, e-smith-base-5_8_1-20_el7_sme
* Tue Nov 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.8.1-19.sme
- fix smartd not running because config path has changed [SME: 12190]
- do not check disk is in standby

1 jpp 1.1 diff -Nur --no-dereference e-smith-base-5.8.1.old/createlinks e-smith-base-5.8.1/createlinks
2     --- e-smith-base-5.8.1.old/createlinks 2022-11-22 14:42:52.271000000 -0500
3     +++ e-smith-base-5.8.1/createlinks 2022-11-22 14:46:01.536000000 -0500
4     @@ -302,7 +302,7 @@
5    
6    
7     event_link("remove-templates-custom", $event, "02");
8     -templates2events("/etc/smartd.conf", $event);
9     +templates2events("/etc/smartmontools/smartd.conf", $event);
10     templates2events("/home/e-smith/ssl.pem/pem", $event);
11     templates2events("/usr/lib/systemd/system/dhcpd.service.d/50koozali.conf", $event);
12     event_link("systemd-journald", $event, "02");
13     @@ -338,7 +338,7 @@
14     my $event = "console-save";
15    
16     event_link("remove-templates-custom", $event, "02");
17     -templates2events("/etc/smartd.conf", $event);
18     +templates2events("/etc/smartmontools/smartd.conf", $event);
19     templates2events("/home/e-smith/ssl.pem/pem", $event);
20     event_link("set-hostname", $event, "10");
21     event_link("user-rsshd", $event, "16");
22     @@ -357,7 +357,7 @@
23     $event = "bootstrap-console-save";
24    
25     event_link("remove-templates-custom", $event, "02");
26     -templates2events("/etc/smartd.conf", $event);
27     +templates2events("/etc/smartmontools/smartd.conf", $event);
28     templates2events("/home/e-smith/ssl.pem/pem", $event);
29     event_link("rmmod-bonding", $event, "10");
30     event_link("set-hostname", $event, "10");
31     diff -Nur --no-dereference e-smith-base-5.8.1.old/root/etc/e-smith/templates/etc/smartd.conf/10conf e-smith-base-5.8.1/root/etc/e-smith/templates/etc/smartd.conf/10conf
32     --- e-smith-base-5.8.1.old/root/etc/e-smith/templates/etc/smartd.conf/10conf 2021-06-06 16:30:36.000000000 -0400
33     +++ e-smith-base-5.8.1/root/etc/e-smith/templates/etc/smartd.conf/10conf 1969-12-31 19:00:00.000000000 -0500
34     @@ -1,8 +0,0 @@
35     -{
36     -# /etc/smartd.conf
37     -
38     -# Sample configuration file for smartd. See man 5 smartd.conf.
39     -# Home page is: http://smartmontools.sourceforge.net
40     -
41     -"DEVICESCAN -a -m $smartd{email} $smartd{directive} -I 190 -I 194";
42     -}
43     diff -Nur --no-dereference e-smith-base-5.8.1.old/root/etc/e-smith/templates/etcsmartmontools/smartd.conf/10conf e-smith-base-5.8.1/root/etc/e-smith/templates/etcsmartmontools/smartd.conf/10conf
44     --- e-smith-base-5.8.1.old/root/etc/e-smith/templates/etcsmartmontools/smartd.conf/10conf 1969-12-31 19:00:00.000000000 -0500
45     +++ e-smith-base-5.8.1/root/etc/e-smith/templates/etcsmartmontools/smartd.conf/10conf 2022-11-22 14:47:17.925000000 -0500
46     @@ -0,0 +1,8 @@
47     +{
48     +# /etc/smartd.conf
49     +
50     +# Sample configuration file for smartd. See man 5 smartd.conf.
51     +# Home page is: http://smartmontools.sourceforge.net
52     +
53     +"DEVICESCAN -a -m $smartd{email} $smartd{directive} -I 190 -I 194 -n standby,10,q";
54     +}

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