Skip to content

processes not running as root have issues logging into stdout #10

Closed
ghost opened this issue Mar 26, 2018 · 1 comment
Closed

processes not running as root have issues logging into stdout #10

ghost opened this issue Mar 26, 2018 · 1 comment

Comments

@ghost
Copy link

ghost commented Mar 26, 2018

There are issues with /dev/stdout especially when the process as non-root or when a sub-process is spawned. I found a work-around, from https://github.com/moby/moby/issues/6880:

mkfifo -m 600 /tmp/logpipe
cat <> /tmp/logpipe 1>&2 &
@ghost ghost self-assigned this Mar 26, 2018
@ghost
Copy link
Author

ghost commented Mar 26, 2018

This is placed in the library.sh file as it gets called from most paths.

@ghost ghost closed this as completed Mar 26, 2018
This issue was closed.
Sign in to join this conversation on GitHub.
Projects
None yet
Development

No branches or pull requests

0 participants