#3647 sssd fails to release file descriptor on child logs after receiving HUP

Created 3 months ago by jhrozek
Modified 2 months ago

Ticket was cloned from Red Hat Bugzilla (product Red Hat Enterprise Linux 7): Bug 1544457

[+] Description of problem:
 - In an environment where krb5_child.log is rotated, it was found that SSSD
continues to write to the rotated log file, despite receiving HUP.

[+] Version-Release number of selected component (if applicable):
 - sssd-1.15.2-50.el7_4.8.x86_64

[+] How reproducible:
 - Always

[+] Steps to Reproduce:

1. # mv /var/log/sssd/krb5_child.log /var/log/sssd/krb5_child.log.old ;
/bin/kill -HUP `cat /var/run/sssd.pid  2>/dev/null`  2> /dev/null || true

2. Authenticate using AD/KRB5 SSSD backend.

[+] Actual results:
 - SSSD continues to write logs to /var/log/sssd/krb5_child.log.old

[+] Expected results:
 - SSSD writes logs to /var/log/sssd/krb5_child.log
3 months ago

Metadata Update from @jhrozek:
- Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1544457

3 months ago

Metadata Update from @jhrozek:
- Issue set to the milestone: SSSD 1.16.2

Careful user mentioned on IRC that this ticket is a duplicate of another older ticket #2679. And they are triaged in different milestones.

Thank you, I closed that one as a duplicate.

2 months ago

Metadata Update from @jhrozek:
- Issue priority set to: major

Login to comment on this ticket.