The Samba-Bugzilla – Attachment 17132 Details for
Bug 14947
samba-bgqd still notifying systemd, triggering log warnings without NotifyAccess=all
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for 4.15
0001-printing-bgqd-Disable-systemd-notifications.patch (text/plain), 1.20 KB, created by
Andreas Schneider
on 2022-01-28 10:14:12 UTC
(
hide
)
Description:
patch for 4.15
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2022-01-28 10:14:12 UTC
Size:
1.20 KB
patch
obsolete
>From 458ad2b6767ba689b8ca3416ada68309c4e72f63 Mon Sep 17 00:00:00 2001 >From: "FeRD (Frank Dana)" <ferdnyc@gmail.com> >Date: Mon, 24 Jan 2022 22:14:31 -0500 >Subject: [PATCH] printing/bgqd: Disable systemd notifications > >samba-bgqd daemon is started by existing Samba daemons. When running >under systemd, those daemons control systemd notifications and >samba-bgqd messages need to be silenced. > >BUG: https://bugzilla.samba.org/show_bug.cgi?id=14947 > >Signed-off-by: FeRD (Frank Dana) <ferdnyc@gmail.com> >Reviewed-by: Alexander Bokovoy <ab@samba.org> >Reviewed-by: Andreas Schneider <asn@samba.org> >(cherry picked from commit 36c861e25b1d9c5ce44bfcb46247e7e4747930c5) >--- > source3/printing/samba-bgqd.c | 3 +++ > 1 file changed, 3 insertions(+) > >diff --git a/source3/printing/samba-bgqd.c b/source3/printing/samba-bgqd.c >index 2cd6a8e007a..457d2a32970 100644 >--- a/source3/printing/samba-bgqd.c >+++ b/source3/printing/samba-bgqd.c >@@ -329,6 +329,9 @@ int main(int argc, const char *argv[]) > > log_stdout = (debug_get_log_type() == DEBUG_STDOUT); > >+ /* main process will notify systemd */ >+ daemon_sd_notifications(false); >+ > if (!cmdline_daemon_cfg->fork) { > daemon_status(progname, "Starting process ... "); > } else { >-- >2.34.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
ab
:
review+
Actions:
View
Attachments on
bug 14947
:
17131
| 17132