Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 652134 Details for
Bug 705606
net-proxy/http-replicator-4.0_alpha2-r7 - add support for python3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
setsid patch for above ebuild
setsid-4.0_alpha4.patch (text/plain), 872 bytes, created by
Matthew Ogilvie
on 2020-08-01 18:35:16 UTC
(
hide
)
Description:
setsid patch for above ebuild
Filename:
MIME Type:
Creator:
Matthew Ogilvie
Created:
2020-08-01 18:35:16 UTC
Size:
872 bytes
patch
obsolete
>Author: Matthew Ogilvie <mmogilvi+gnto@zoho.com> >Date: Sun Jul 26 14:38:09 2020 -0600 > > ignore exception from os.setsid() > > Typically something external (such as start-stop-daemon) will have > already done a setsid(). > >diff --git a/replicator/Utils.py b/replicator/Utils.py >index d2c4f94..5b08bcf 100644 >--- a/replicator/Utils.py >+++ b/replicator/Utils.py >@@ -12,7 +12,11 @@ def daemonize(): > # attempt most os activity early, to catch errors before we fork > os.umask(0o022) # -rw-r--r-- / 0644 / u=rw,go=r > pidout = OPTS.pidfile and open(OPTS.pidfile, 'w') >- os.setsid() >+ try: >+ os.setsid() >+ except OSError as e: >+ # ignore EPERM: already a process group leader >+ pass > #first fork: create intermediate child process > pid = os.fork() > except IOError as e:
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 705606
:
652132
| 652134 |
652136
|
652138
|
652140
|
652142
|
652144