/[smeserver]/rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11813-noise.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme10/e-smith-base-5.8.1-bz11813-noise.patch

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


Revision 1.1 - (show annotations) (download)
Fri Apr 15 19:51:34 2022 UTC (2 years, 6 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-base-5_8_1-11_el7_sme
* Fri Apr 15 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.8.1-11.sme
- fix logs not rotated before 100M (size maxsize) [SME: 10484]
- reduce systemd noise in messages [SME: 11813]
  remove also -- MARK --

1 diff -Nur --no-dereference e-smith-base-5.8.1.old/root/etc/e-smith/templates/etc/rsyslog.conf/32systemd e-smith-base-5.8.1/root/etc/e-smith/templates/etc/rsyslog.conf/32systemd
2 --- e-smith-base-5.8.1.old/root/etc/e-smith/templates/etc/rsyslog.conf/32systemd 1969-12-31 19:00:00.000000000 -0500
3 +++ e-smith-base-5.8.1/root/etc/e-smith/templates/etc/rsyslog.conf/32systemd 2022-04-15 15:43:09.730000000 -0400
4 @@ -0,0 +1,4 @@
5 +# systemd
6 +:programname, isequal, "systemd" { (($rsyslog{systemd} || "disabled") ne "enabled" )? "stop" : "/var/log/systemd.log
7 +& stop" }
8 +
9 diff -Nur --no-dereference e-smith-base-5.8.1.old/root/etc/e-smith/templates/etc/sysconfig/rsyslog/10rsyslogOptions e-smith-base-5.8.1/root/etc/e-smith/templates/etc/sysconfig/rsyslog/10rsyslogOptions
10 --- e-smith-base-5.8.1.old/root/etc/e-smith/templates/etc/sysconfig/rsyslog/10rsyslogOptions 2014-03-23 22:47:23.000000000 -0400
11 +++ e-smith-base-5.8.1/root/etc/e-smith/templates/etc/sysconfig/rsyslog/10rsyslogOptions 2022-04-15 15:26:26.100000000 -0400
12 @@ -1 +1 @@
13 -SYSLOGD_OPTIONS="-c 5"
14 +SYSLOGD_OPTIONS="-c 5 -m 0"
15 diff -Nur --no-dereference e-smith-base-5.8.1.old/root/etc/logrotate.d/systemd e-smith-base-5.8.1/root/etc/logrotate.d/systemd
16 --- e-smith-base-5.8.1.old/root/etc/logrotate.d/systemd 1969-12-31 19:00:00.000000000 -0500
17 +++ e-smith-base-5.8.1/root/etc/logrotate.d/systemd 2022-04-15 15:43:37.774000000 -0400
18 @@ -0,0 +1,8 @@
19 +/var/log/systemd.log {
20 + missingok
21 + sharedscripts
22 + postrotate
23 + /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
24 + endscript
25 +}
26 +

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