projectatomic/forward-journald

Name: forward-journald

Owner: Project Atomic

Description: Program to forward stdin to journald

Created: 2016-03-03 20:39:20.0

Updated: 2018-03-22 10:02:28.0

Pushed: 2016-03-08 20:18:34.0

Homepage: null

Size: 16

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

forward-journald

Forward stdin to journald

The main driver for this program is < go 1.6rc2 has a issue where 10 SIGPIPE's on stdout or stderr cause go to generate a non-trappable SIGPIPE killing the process. This happens when journald is restarted while docker is running under systemd.

Changes for docker.service:


vice]
=notify
fyAccess=all
Start=/bin/sh -c '/usr/bin/docker daemon \
      $OPTIONS \
      $DOCKER_STORAGE_OPTIONS \
      $DOCKER_NETWORK_OPTIONS \
      $INSECURE_REGISTRY \
      2>&1 | /usr/bin/forward-journald -tag docker'
dardOutput=null
dardError=null

Bugs

https://bugzilla.redhat.com/show_bug.cgi?id=1300076


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.