diff options
| author | Noriko Hosoi <nhosoi@redhat.com> | 2007-10-03 20:17:22 +0000 |
|---|---|---|
| committer | Noriko Hosoi <nhosoi@redhat.com> | 2007-10-03 20:17:22 +0000 |
| commit | eb3df563b24912b913d86feb751f8034d959e9d6 (patch) | |
| tree | 1ab46f00af3a830e18ddb966bcb5256d54eaa011 /ldap/admin/src/scripts | |
| parent | 40865edea16c8eaa93ba391a71e20318e0a7d244 (diff) | |
| download | ds-eb3df563b24912b913d86feb751f8034d959e9d6.tar.gz ds-eb3df563b24912b913d86feb751f8034d959e9d6.tar.xz ds-eb3df563b24912b913d86feb751f8034d959e9d6.zip | |
Resolves: #304161
Summary: logrotation time of -1 causes hang
Change description:
1. slapd_log_audit_proc, slapd_log_error_proc_internal, and log_flush_buffer:
use absolute value of rotationtime_secs to calculate the rotationsyncclock.
2. when the result of "atoi" for nsslapd-XXX-logrotationtime is 0 due to the
invalid setting, logrotation time is reset to -1 (no rotation).
3. if nsslapd-XXX-logrotationtime and nsslapd-XXX-logexpirationtime is large
(near MAXINT) and calculated rotationtime_secs and/or exptime_secs is
overflown, set MAXINT to the sec value.
Diffstat (limited to 'ldap/admin/src/scripts')
0 files changed, 0 insertions, 0 deletions
