Bugzilla – Attachment 165028 Details for
Bug 36386
Prevent Net::Server warn about User Not Defined from SIPServer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36386: Pass user and group to Net::Server
Bug-36386-Pass-user-and-group-to-NetServer.patch (text/plain), 1.20 KB, created by
Martin Renvoize (ashimema)
on 2024-04-17 16:00:53 UTC
(
hide
)
Description:
Bug 36386: Pass user and group to Net::Server
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-04-17 16:00:53 UTC
Size:
1.20 KB
patch
obsolete
>From 008e5a93152834de7f42efd301a3bb7fe1c2dc89 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 21 Mar 2024 14:17:35 +0000 >Subject: [PATCH] Bug 36386: Pass user and group to Net::Server > >This prevents the User/Group Not Defined warns in syslog. > >Test plan: >Restart sip and check your syslog. > >KTD Test Plan: >1) Stop your SIP server >2) Run "perl C4/SIP/SIPServer.pm /etc/koha/sites/kohadev/koha-conf.xml" > We need valid XML without any valid SIP settings to the output goes > to the command line >3) Note the warnings >4) Apply this patch >5) Repeat step 2 >6) No warnings! > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > C4/SIP/SIPServer.pm | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/C4/SIP/SIPServer.pm b/C4/SIP/SIPServer.pm >index 995d448d84b..d26f5e25e6b 100644 >--- a/C4/SIP/SIPServer.pm >+++ b/C4/SIP/SIPServer.pm >@@ -82,7 +82,9 @@ if (defined($config->{'server-params'})) { > push @parms, $key . '=' . $val; > } > } >- >+# Add user and group to prevent warn from Net::Server. >+push @parms, 'user=' . $>; >+push @parms, 'group=' . $>; > > # > # This is the main event. >-- >2.44.0
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36386
:
163616
|
163902
| 165028