Univention Bugzilla – Attachment 6612 Details for
Bug 37280
Init DaemonContext with prevent_core=False
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
37280.patch (text/plain), 2.21 KB, created by
Florian Best
on 2015-01-20 11:59:01 CET
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2015-01-20 11:59:01 CET
Size:
2.21 KB
patch
obsolete
>diff --git a/ucs-4.0-0/management/univention-management-console-frontend/univention-management-console-web-server b/ucs-4.0-0/management/univention-management-console-frontend/univention-management-console-web-server >index 4b016f1..a99d7fd 100755 >--- a/ucs-4.0-0/management/univention-management-console-frontend/univention-management-console-web-server >+++ b/ucs-4.0-0/management/univention-management-console-frontend/univention-management-console-web-server >@@ -854,6 +854,7 @@ class UMC_HTTP_Daemon(DaemonRunner): > > # init daemon runner > DaemonRunner.__init__(self, self) >+ self.daemon_context.prevent_core = False > self.daemon_context.detach_process = self.options.daemon_mode > self.daemon_context.files_preserve = [debug_fd] > >diff --git a/ucs-4.0-0/management/univention-management-console/scripts/univention-management-console-module b/ucs-4.0-0/management/univention-management-console/scripts/univention-management-console-module >index 2228a16..93f2fee 100644 >--- a/ucs-4.0-0/management/univention-management-console/scripts/univention-management-console-module >+++ b/ucs-4.0-0/management/univention-management-console/scripts/univention-management-console-module >@@ -69,7 +69,7 @@ if __name__ == '__main__': > > ( options, arguments ) = parser.parse_args() > >- daemon = DaemonContext( detach_process = False, umask = 0077 ) >+ daemon = DaemonContext(detach_process=False, prevent_core=False, umask=0077) > daemon.signal_map = { > signal.SIGHUP: lambda signal, frame: log_reopen(), > } >diff --git a/ucs-4.0-0/management/univention-management-console/scripts/univention-management-console-server b/ucs-4.0-0/management/univention-management-console/scripts/univention-management-console-server >index a4bb8f1..d72234a 100755 >--- a/ucs-4.0-0/management/univention-management-console/scripts/univention-management-console-server >+++ b/ucs-4.0-0/management/univention-management-console/scripts/univention-management-console-server >@@ -105,6 +105,7 @@ class UMC_Daemon( DaemonRunner ): > > # init daemon runner > DaemonRunner.__init__( self, self ) >+ self.daemon_context.prevent_core = False > self.daemon_context.detach_process = self.options.daemon_mode > self.daemon_context.umask = 0077 > self.daemon_context.files_preserve = [ debug_fd ]
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
Attachments on
bug 37280
: 6612