Bug 15869 - Startup messages of rpc deamons fills /var/log/messages
Summary: Startup messages of rpc deamons fills /var/log/messages
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services (show other bugs)
Version: 4.21.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Jule Anger
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-10 11:49 UTC by Andreas Schneider
Modified: 2025-07-07 16:21 UTC (History)
1 user (show)

See Also:


Attachments
patch for 4.22 and 4.21 (2.76 KB, patch)
2025-06-23 15:13 UTC, Andreas Schneider
dbagnall: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Schneider 2025-06-10 11:49:06 UTC
You see the following in /var/log/messages

May 29 07:10:35 rhel8u10 samba-dcerpcd[117628]: [2024/05/29 07:10:35.061788,  0] ../../source3/rpc_server/rpc_host.c:2846(main)
May 29 07:10:35 rhel8u10 samba-dcerpcd[117628]:  samba-dcerpcd version 4.19.4 started.
May 29 07:10:35 rhel8u10 samba-dcerpcd[117628]:  Copyright Andrew Tridgell and the Samba Team 1992-2023
May 29 07:21:10 rhel8u10 samba-dcerpcd[122948]: [2024/05/29 07:21:10.362906,  0] ../../source3/rpc_server/rpc_host.c:2846(main)
May 29 07:21:10 rhel8u10 samba-dcerpcd[122948]:  samba-dcerpcd version 4.19.4 started.
May 29 07:21:10 rhel8u10 samba-dcerpcd[122948]:  Copyright Andrew Tridgell and the Samba Team 1992-2023
...

because we log in info via D_ERR instead of D_NOTICE. D_ERR also goes to syslog.
Comment 1 Samba QA Contact 2025-06-18 12:11:03 UTC
This bug was referenced in samba master:

58c64ba25adb1c1d272ba196529b5465ae7ee9df
Comment 2 Andreas Schneider 2025-06-23 15:13:54 UTC
Created attachment 18656 [details]
patch for 4.22 and 4.21
Comment 3 Andreas Schneider 2025-06-25 14:12:06 UTC
Jule, could you please apply the patches to 4.21 and 4.22? Thanks.
Comment 4 Jule Anger 2025-06-26 12:03:59 UTC
Pushed to autobuild-v4-{22,21}-test.
Comment 5 Samba QA Contact 2025-06-26 14:29:03 UTC
This bug was referenced in samba v4-21-test:

3490e76342a84682319299ce1cfb940f03639d93
Comment 6 Samba QA Contact 2025-06-26 14:34:03 UTC
This bug was referenced in samba v4-22-test:

7501696d552233193ba1704cfe74798cc1a99c59
Comment 7 Jule Anger 2025-07-03 11:15:14 UTC
Closing out bug report.

Thanks!
Comment 8 Samba QA Contact 2025-07-07 16:13:43 UTC
This bug was referenced in samba v4-21-stable (Release samba-4.21.7):

3490e76342a84682319299ce1cfb940f03639d93
Comment 9 Samba QA Contact 2025-07-07 16:21:29 UTC
This bug was referenced in samba v4-22-stable (Release samba-4.22.3):

7501696d552233193ba1704cfe74798cc1a99c59