/[smeserver]/rpms/e-smith-proftpd/sme10/e-smith-proftpd-2.6.0-bz11384-logging.patch
ViewVC logotype

Annotation of /rpms/e-smith-proftpd/sme10/e-smith-proftpd-2.6.0-bz11384-logging.patch

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


Revision 1.1 - (hide annotations) (download)
Wed Mar 3 21:13:28 2021 UTC (3 years, 7 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-proftpd-2_6_0-14_el7_sme, e-smith-proftpd-2_6_0-15_el7_sme, e-smith-proftpd-2_6_0-13_el7_sme, HEAD
* Wed Mar 03 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-13.sme
- redirect log away from message [SME: 11384]

1 jpp 1.1 diff -Nur --no-dereference e-smith-proftpd-2.6.0.old/createlinks e-smith-proftpd-2.6.0/createlinks
2     --- e-smith-proftpd-2.6.0.old/createlinks 2021-03-03 15:32:34.016000000 -0500
3     +++ e-smith-proftpd-2.6.0/createlinks 2021-03-03 16:10:57.338000000 -0500
4     @@ -72,7 +72,9 @@
5    
6     my $event = 'e-smith-proftpd-update';
7     safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ftp");
8     +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
9     templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
10     event_link("systemd-reload", $event, "89");
11     +templates2events("/etc/rsyslog.conf", $event);
12    
13     exit 0;
14     diff -Nur --no-dereference e-smith-proftpd-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32proftpd e-smith-proftpd-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32proftpd
15     --- e-smith-proftpd-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32proftpd 1969-12-31 19:00:00.000000000 -0500
16     +++ e-smith-proftpd-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32proftpd 2021-03-03 16:09:34.644000000 -0500
17     @@ -0,0 +1,6 @@
18     +
19     +#proftpd
20     +if $programname == 'proftpd' and $syslogfacility-text == 'authpriv' then /var/log/secure
21     +:programname, isequal, "proftpd" /var/log/proftpd/proftpd.log
22     +& stop
23     +

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