FreeBSD Bugzilla – Attachment 193071 Details for
Bug 228003
mail/dovecot: dovecot does not close stderr when daemonizing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Alternate: source patch to close stderr
file_228003.txt (text/plain), 757 bytes, created by
Peter Sagerson
on 2018-05-06 02:11:10 UTC
(
hide
)
Description:
Alternate: source patch to close stderr
Filename:
MIME Type:
Creator:
Peter Sagerson
Created:
2018-05-06 02:11:10 UTC
Size:
757 bytes
patch
obsolete
>Index: mail/dovecot/files/patch-src_master_main.c >=================================================================== >--- mail/dovecot/files/patch-src_master_main.c (nonexistent) >+++ mail/dovecot/files/patch-src_master_main.c (working copy) >@@ -0,0 +1,11 @@ >+--- src/master/main.c.orig 2018-03-20 03:15:40.000000000 -0700 >++++ src/master/main.c 2018-05-05 18:57:32.485732000 -0700 >+@@ -861,6 +861,8 @@ >+ i_fatal("dup2(dev_null_fd) failed: %m"); >+ if (!foreground && dup2(dev_null_fd, STDOUT_FILENO) < 0) >+ i_fatal("dup2(dev_null_fd) failed: %m"); >++ if (!foreground && dup2(dev_null_fd, STDERR_FILENO) < 0) >++ i_fatal("dup2(dev_null_fd) failed: %m"); >+ >+ pidfile_path = >+ i_strconcat(set->base_dir, "/"MASTER_PID_FILE_NAME, NULL);
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 228003
:
193070
| 193071 |
197698