/[smeserver]/rpms/e-smith-ldap/sme10/e-smith-ldap-5.6.0-bz11745-log.patch
ViewVC logotype

Annotation of /rpms/e-smith-ldap/sme10/e-smith-ldap-5.6.0-bz11745-log.patch

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


Revision 1.1 - (hide annotations) (download)
Sat Feb 19 04:41:20 2022 UTC (2 years, 9 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-ldap-5_6_0-15_el7_sme, e-smith-ldap-5_6_0-16_el7_sme, e-smith-ldap-5_6_0-14_el7_sme, e-smith-ldap-5_6_0-17_el7_sme, HEAD
* Fri Feb 18 2022 Jean-Philippe Pialasse <tests@pialasse.com> 5.6.0-14.sme
- redirect syslog for ldapt to /var/log/ldap/ldap.log [SME: 11745]

1 jpp 1.1 diff -Nur --no-dereference e-smith-ldap-5.6.0.old/createlinks e-smith-ldap-5.6.0/createlinks
2     --- e-smith-ldap-5.6.0.old/createlinks 2022-02-18 23:20:26.888000000 -0500
3     +++ e-smith-ldap-5.6.0/createlinks 2022-02-18 23:28:10.666000000 -0500
4     @@ -69,5 +69,7 @@
5     event_link("systemd-default", $event, "88");
6     safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/ldap");
7     event_link("ldap-update", $event , "80");
8     +templates2events("/etc/rsyslog.conf", $event);
9     +safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/rsyslog");
10    
11     exit 0;
12     diff -Nur --no-dereference e-smith-ldap-5.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32ldap e-smith-ldap-5.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32ldap
13     --- e-smith-ldap-5.6.0.old/root/etc/e-smith/templates/etc/rsyslog.conf/32ldap 1969-12-31 19:00:00.000000000 -0500
14     +++ e-smith-ldap-5.6.0/root/etc/e-smith/templates/etc/rsyslog.conf/32ldap 2022-02-18 23:26:58.074000000 -0500
15     @@ -0,0 +1,4 @@
16     +#ldap
17     +:programname, isequal, "slapd" /var/log/ldap/ldap.log
18     +& stop
19     +
20     diff -Nur --no-dereference e-smith-ldap-5.6.0.old/root/etc/logrotate.d/ldap e-smith-ldap-5.6.0/root/etc/logrotate.d/ldap
21     --- e-smith-ldap-5.6.0.old/root/etc/logrotate.d/ldap 1969-12-31 19:00:00.000000000 -0500
22     +++ e-smith-ldap-5.6.0/root/etc/logrotate.d/ldap 2022-02-18 23:38:47.705000000 -0500
23     @@ -0,0 +1,11 @@
24     +/var/log/ldap/*.log {
25     + daily
26     + missingok
27     + notifempty
28     + delaycompress
29     + sharedscripts
30     + postrotate
31     + # OpenLDAP logs via syslog, restart syslog if running
32     + /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
33     + endscript
34     +}

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