--- rpms/e-smith-openssh/sme10/e-smith-openssh-2.6.0-bz11256-logging.patch 2021/02/19 04:17:23 1.1 +++ rpms/e-smith-openssh/sme10/e-smith-openssh-2.6.0-bz11256-logging.patch 2021/03/16 20:59:50 1.3 @@ -4,9 +4,9 @@ diff -Nur e-smith-openssh-2.6.0.old/root @@ -0,0 +1,6 @@ + +#sshd ++if $programname == 'sshd' and $syslogfacility-text == 'authpriv' then /var/log/secure +:programname, isequal, "sshd" /var/log/sshd/sshd.log -+:programname, isequal, "sshd" stop -+ ++& stop + diff -Nur e-smith-openssh-2.6.0.old/root/etc/logrotate.d/sshd e-smith-openssh-2.6.0/root/etc/logrotate.d/sshd --- e-smith-openssh-2.6.0.old/root/etc/logrotate.d/sshd 1969-12-31 19:00:00.000000000 -0500 @@ -25,3 +25,13 @@ diff -Nur e-smith-openssh-2.6.0.old/root + endscript +} + +diff -Nur e-smith-openssh-2.6.0.old/createlinks e-smith-openssh-2.6.0/createlinks +--- e-smith-openssh-2.6.0.old/createlinks 2021-02-19 01:04:35.196000000 -0500 ++++ e-smith-openssh-2.6.0/createlinks 2021-02-19 01:05:30.696000000 -0500 +@@ -54,4 +54,5 @@ + event_link("systemd-reload", $event, "89"); + event_link("systemd-default", $event, "88"); + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/sshd"); +- ++templates2events("/etc/rsyslog.conf",$event); ++safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");