/[smeserver]/rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11951-bz11952.patch
ViewVC logotype

Annotation of /rpms/smeserver-yum/sme10/smeserver-yum-2.6.0-bz11951-bz11952.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Apr 17 18:06:54 2022 UTC (2 years, 6 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-yum-2_6_0-62_el7_sme, smeserver-yum-2_6_0-61_el7_sme, smeserver-yum-2_6_0-64_el7_sme, smeserver-yum-2_6_0-63_el7_sme
* Sun Apr 17 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-61.sme
- fix rotate yum.log as not standard location [SME: 11951]
- remove yum_update_dbs from messages log [SME: 11952]

1 jpp 1.1 diff -Nur --no-dereference 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
2     --- smeserver-yum-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32yum 2022-04-17 13:58:39.463000000 -0400
3     +++ smeserver-yum-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32yum 2022-04-17 14:05:36.196000000 -0400
4     @@ -1,5 +1,4 @@
5     -
6     -
7     #yum
8     -if $programname == "yum" and ( $msg startswith " Installed" or $msg startswith " Erased" or $msg startswith " Updated" ) then stop
9     +if $programname startswith "yum_update_dbs" then /var/log/yum/yum-update.log
10     +& stop
11    
12     diff -Nur --no-dereference smeserver-yum-2.6.0.old/root/etc/logrotate.d/yum-sme smeserver-yum-2.6.0/root/etc/logrotate.d/yum-sme
13     --- smeserver-yum-2.6.0.old/root/etc/logrotate.d/yum-sme 1969-12-31 19:00:00.000000000 -0500
14     +++ smeserver-yum-2.6.0/root/etc/logrotate.d/yum-sme 2022-04-17 14:04:02.664000000 -0400
15     @@ -0,0 +1,15 @@
16     +/var/log/yum/yum.log {
17     + missingok
18     + notifempty
19     + maxsize 1M
20     + yearly
21     + create 0600 root root
22     +}
23     +/var/log/yum/yum-update.log {
24     + missingok
25     + notifempty
26     + maxsize 1M
27     + weekly
28     + create 0600 root root
29     +}
30     +

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