Bug 2203539

Summary: Samba logrotate config omits MIT KDC logs on DCs
Product: [Fedora] Fedora Reporter: Rob Foehl <rwf>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 38CC: abokovoy, aboscatt, anoopcs, asn, gdeschner, jstephen, lmohanty, pfilipen, sbose, ssorce
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba-4.18.3-1.fc38 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-06-17 01:23:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rob Foehl 2023-05-13 19:24:32 UTC
The /etc/logrotate.d/samba config shipped with samba-common-4.18.2-0.fc38.noarch only includes /var/log/samba/log.* files, whereas Samba DCs include this config in the kdc.conf used by the spawned MIT Kerberos KDC:

[logging]
        kdc = FILE:/var/log/samba/mit_kdc.log
        admin_server = FILE:/var/log/samba/mit_kadmin.log

Not clear why they're inconsistent, but adding /var/log/samba/*.log to the logrotate config should be sufficient to fix.

Comment 1 Fedora Update System 2023-06-15 13:07:11 UTC
FEDORA-2023-b84e890f3a has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-b84e890f3a

Comment 2 Fedora Update System 2023-06-16 04:34:39 UTC
FEDORA-2023-b84e890f3a has been pushed to the Fedora 38 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-b84e890f3a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-b84e890f3a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 3 Fedora Update System 2023-06-17 01:23:24 UTC
FEDORA-2023-b84e890f3a has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.