/[smeserver]/rpms/e-smith-openssh/sme10/e-smith-openssh-2.6.0-bz11256-logging.patch
ViewVC logotype

Contents of /rpms/e-smith-openssh/sme10/e-smith-openssh-2.6.0-bz11256-logging.patch

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


Revision 1.1 - (show annotations) (download)
Fri Feb 19 04:17:23 2021 UTC (3 years, 8 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-openssh-2_6_0-5_el7_sme
* Thu Feb 18 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-5.sme
- increase default host key size [SME: 11359]
- redirect logging to /var/log/sshd/sshd.log and logrotate [SME: 11256]

1 diff -Nur e-smith-openssh-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32sshd e-smith-openssh-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32sshd
2 --- e-smith-openssh-2.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32sshd 1969-12-31 19:00:00.000000000 -0500
3 +++ e-smith-openssh-2.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32sshd 2021-02-18 23:11:58.454000000 -0500
4 @@ -0,0 +1,6 @@
5 +
6 +#sshd
7 +:programname, isequal, "sshd" /var/log/sshd/sshd.log
8 +:programname, isequal, "sshd" stop
9 +
10 +
11 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
12 --- e-smith-openssh-2.6.0.old/root/etc/logrotate.d/sshd 1969-12-31 19:00:00.000000000 -0500
13 +++ e-smith-openssh-2.6.0/root/etc/logrotate.d/sshd 2021-02-18 23:13:02.453000000 -0500
14 @@ -0,0 +1,13 @@
15 +/var/log/sshd/sshd.log
16 +{
17 + missingok
18 + notifempty
19 + sharedscripts
20 + delaycompress
21 + su root root
22 + create 600 root root
23 + postrotate
24 + /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
25 + endscript
26 +}
27 +

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