Home GnuPG

Call setsid() unconditionally after daemonizing
91ab940c3979Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Call setsid() unconditionally after daemonizing

Ref T12355. This was alright locally, but in production the system is not
thrilled about posix_isatty() from the daemonized process:

ERROR 2: posix_isatty(): expects argument 1 to be a valid stream resource

After daemonizing we never expect STDOUT to be a TTY, so skip the check.

Auditors: chad

Details

Provenance
epriestley <git@epriestley.com>Authored on Mar 18 2017, 1:28 PM
Parents
rPHUTIL3b67901f26c7: Call setsid() after the overseer dameonizes
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUTIL91ab940c3979: Call setsid() unconditionally after daemonizing (authored by epriestley <git@epriestley.com>).Mar 18 2017, 1:28 PM