/[smeserver]/rpms/e-smith-packetfilter/sme10/e-smith-packetfilter-2.6.0-bz11528-bz11451.patch
ViewVC logotype

Contents of /rpms/e-smith-packetfilter/sme10/e-smith-packetfilter-2.6.0-bz11528-bz11451.patch

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


Revision 1.1 - (show annotations) (download)
Wed Apr 7 20:07:50 2021 UTC (3 years, 1 month ago) by jpp
Branch: MAIN
CVS Tags: e-smith-packetfilter-2_6_0-7_el7_sme, e-smith-packetfilter-2_6_0-8_el7_sme, HEAD
* Wed Apr 07 2021 Jean-Philippe Pialasse <tests@pialasse.com> 2.6.0-7.sme
- fix dropin file not expanded on initial installation [SME: 11528]
- fix noise on logrotate, doing a restart instead of reload [SME: 11451]

1 diff -Nur --no-dereference e-smith-packetfilter-2.6.0.old/createlinks e-smith-packetfilter-2.6.0/createlinks
2 --- e-smith-packetfilter-2.6.0.old/createlinks 2021-04-07 15:57:41.403000000 -0400
3 +++ e-smith-packetfilter-2.6.0/createlinks 2021-04-07 15:59:23.533000000 -0400
4 @@ -25,7 +25,7 @@
5 safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ulogd");
6 event_link("systemd-reload", $event, "89");
7 event_link("systemd-default", $event, "88");
8 -templates2events("/etc/logrotate.d/ulogd", $event);
9 +templates2events("/etc/logrotate.d/ulogd", ($event,qw(post-install post-upgrade bootstrap-console-save)) );
10
11
12 #systemd
13 diff -Nur --no-dereference e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log
14 --- e-smith-packetfilter-2.6.0.old/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log 2021-04-07 15:57:41.405000000 -0400
15 +++ e-smith-packetfilter-2.6.0/root/etc/e-smith/templates/etc/logrotate.d/ulogd/50log 2021-04-07 16:00:48.498000000 -0400
16 @@ -5,7 +5,7 @@
17 compress
18 sharedscripts
19 postrotate
20 - /usr/bin/systemctl reload ulogd > /dev/null 2>&1
21 + /usr/bin/systemctl restart ulogd > /dev/null 2>&1
22 endscript
23 \}
24
25 @@ -16,7 +16,7 @@
26 compress
27 sharedscripts
28 postrotate
29 - /usr/bin/systemctl reload ulogd > /dev/null 2>&1
30 + /usr/bin/systemctl restart ulogd > /dev/null 2>&1
31 endscript
32 \}
33

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