1 |
diff -Nur smeserver-yum-2.6.0.old/createlinks smeserver-yum-2.6.0/createlinks |
2 |
--- smeserver-yum-2.6.0.old/createlinks 2021-02-19 23:53:41.867000000 -0500 |
3 |
+++ smeserver-yum-2.6.0/createlinks 2021-02-20 00:37:15.941000000 -0500 |
4 |
@@ -30,6 +30,8 @@ |
5 |
# systemd-specific action mandatory for this package-update event |
6 |
event_link("systemd-reload", $event, "89"); |
7 |
event_link("systemd-default", $event, "88"); |
8 |
+templates2events("/etc/rsyslog.conf",$event); |
9 |
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog"); |
10 |
|
11 |
#-------------------------------------------------- |
12 |
# functions for manager panel |
13 |
diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories smeserver-yum-2.6.0/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories |
14 |
--- smeserver-yum-2.6.0.old/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories 2021-02-19 23:53:41.838000000 -0500 |
15 |
+++ smeserver-yum-2.6.0/root/etc/e-smith/templates/etc/yum.smerepos.d/sme-base.repo/20repositories 2021-02-19 23:58:45.825000000 -0500 |
16 |
@@ -57,7 +57,7 @@ |
17 |
{ |
18 |
$OUT .= "priority=10\n"; |
19 |
} |
20 |
- elsif ($priority eq 'enabled' && ( $repos->key eq 'base' || $repos->key eq 'updates')) |
21 |
+ elsif ($priority eq 'enabled' && ( $repos->key eq 'base' || $repos->key eq 'updates' || $repos->key eq 'remi-safe' )) |
22 |
{ |
23 |
$OUT .= "priority=10\n"; |
24 |
} |
25 |
diff -Nur smeserver-yum-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32yum smeserver-yum-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32yum |
26 |
--- smeserver-yum-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32yum 1969-12-31 19:00:00.000000000 -0500 |
27 |
+++ smeserver-yum-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32yum 2021-02-20 00:35:33.618000000 -0500 |
28 |
@@ -0,0 +1,5 @@ |
29 |
+ |
30 |
+ |
31 |
+#yum |
32 |
+if $programname == "yum" and ( $msg startswith " Installed" or $msg startswith " Erased" or $msg startswith " Updated" ) then stop |
33 |
+ |