Home GnuPG

(stable) Call setsid() unconditionally after daemonizing
24ede7a5dbfdUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(no title)

(stable) 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
rPHUTILe57a12f790c9: (stable) Call setsid() after the overseer dameonizes
Branches
Unknown
Tags
Unknown

Event Timeline

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