/[smeserver]/rpms/e-smith-cvm-unix-local/sme10/e-smith-cvm-unix-local-2.6.0-bz11807-log.patch
ViewVC logotype

Annotation of /rpms/e-smith-cvm-unix-local/sme10/e-smith-cvm-unix-local-2.6.0-bz11807-log.patch

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


Revision 1.3 - (hide annotations) (download)
Fri May 27 02:14:05 2022 UTC (2 years ago) by jpp
Branch: MAIN
CVS Tags: e-smith-cvm-unix-local-2_6_0-10_el7_sme, HEAD
Changes since 1.2: +2 -1 lines
* Thu May 26 2022 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-10.sme
- fix error compressing log still in use by delaying it [SME: 11968]

1 jpp 1.1 diff -Nur --no-dereference e-smith-cvm-unix-local-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32cvm e-smith-cvm-unix-local-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32cvm
2     --- e-smith-cvm-unix-local-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32cvm 1969-12-31 19:00:00.000000000 -0500
3     +++ e-smith-cvm-unix-local-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32cvm 2022-02-17 22:55:36.346000000 -0500
4     @@ -0,0 +1,4 @@
5     +#cvm
6     +:programname, startswith, "cvm" /var/log/cvm/cvm.log
7     +& stop
8     +
9     diff -Nur --no-dereference e-smith-cvm-unix-local-2.6.0.old/root/etc/logrotate.d/cvm e-smith-cvm-unix-local-2.6.0/root/etc/logrotate.d/cvm
10     --- e-smith-cvm-unix-local-2.6.0.old/root/etc/logrotate.d/cvm 1969-12-31 19:00:00.000000000 -0500
11     +++ e-smith-cvm-unix-local-2.6.0/root/etc/logrotate.d/cvm 2022-02-17 23:03:28.150000000 -0500
12 jpp 1.3 @@ -0,0 +1,13 @@
13 jpp 1.1 +/var/log/cvm/*.log {
14     + create 640 root root
15     + notifempty
16     + daily
17     + rotate 28
18     + missingok
19     + compress
20 jpp 1.3 + delaycompress
21 jpp 1.1 + postrotate
22     + /usr/bin/systemctl restart cvm-unix
23     + endscript
24     +}
25     +
26 jpp 1.2 diff -Nur --no-dereference e-smith-cvm-unix-local-2.6.0.old/createlinks e-smith-cvm-unix-local-2.6.0/createlinks
27     --- e-smith-cvm-unix-local-2.6.0.old/createlinks 2022-02-18 22:05:57.804000000 -0500
28     +++ e-smith-cvm-unix-local-2.6.0/createlinks 2022-02-18 22:07:57.751000000 -0500
29     @@ -12,3 +12,5 @@
30     event_link("systemd-reload", $event, "89");
31     event_link("systemd-default", $event, "88");
32     templates2events("/etc/systemd/system-preset/49-koozali.preset",$event);
33     +templates2events("/etc/rsyslog.conf",$event);
34     +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");

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