https://bugzilla.redhat.com/show_bug.cgi?id=174727
Description of problem: Chamging the logrotation configuration is not dynamic it requires a server restart for the changes to take effect e.g. ${LDAPMODIFY} -p ${LDAPport} -h ${LDAPhost} -D "${ROOTDN}" -w ${ROOTDNPW} -acv <<EOF dn: cn=config changetype: modify replace: nsslapd-errorlog-logrotationtime nsslapd-errorlog-logrotationtime: 1 - replace: nsslapd-errorlog-logrotationtimeunit nsslapd-errorlog-logrotationtimeunit: minute EOF ${IROOT}/restart-slapd if [ $? -ne 0 ]; then message "RestartSlapd: cannot start slapd" fi No doubt making this dynamic would have performance implications. Especially if it checked the config each time before logging. Bad. Hallway discussion: perhaps when the rotation thread wakes up; we could check it then and reload if needed ? Version-Release number of selected component (if applicable): 7.1 sp 1 How reproducible: always Steps to Reproduce: 1. Modify the log rotation configuration 2. changes do not take effect until the server is restarted ${LDAPMODIFY} -p ${LDAPport} -h ${LDAPhost} -D "${ROOTDN}" -w ${ROOTDNPW} -acv <<EOF dn: cn=config changetype: modify replace: nsslapd-errorlog-logrotationtime nsslapd-errorlog-logrotationtime: 1 - replace: nsslapd-errorlog-logrotationtimeunit nsslapd-errorlog-logrotationtimeunit: minute EOF ${IROOT}/restart-slapd if [ $? -ne 0 ]; then message "RestartSlapd: cannot start slapd" fi Actual results: changes do not take effect until the server is restarted Expected results: perhaps .... we should automatically pick this change up ? Additional info:
batch update moving tickets to future
set default ticket origin to Community
Added initial screened field value.
Metadata Update from @rmeggins: - Issue set to the milestone: FUTURE
This is working now
Metadata Update from @mreynolds: - Custom field reviewstatus adjusted to None (was: Needs Review) - Issue close_status updated to: fixed - Issue status updated to: Closed (was: Open)
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/223
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: fixed)
Login to comment on this ticket.