Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Sep 2016 16:55:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 207248] [patch] daemon(8): Add option to redirect stdout and stderr to a file
Message-ID:  <bug-207248-8-kd7lgSTDfW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-207248-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-207248-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207248

--- Comment #1 from Dave Cottlehuber <dch@skunkwerks.at> ---
Super idea!

I've come across a couple of daemons just this week that fall into this
category. Both are golang ports "designed" to run in docker/systemd land wh=
ere
stdio is handled by some parent container, e.g. security/vault being one of
them.

I can't tell if this is already the case, but it would be ideal for the
redirected io to go into a file owned by whatever `-u $USER` was passed into
daemon, instead of root, good for managing disk quotas and smaller systems
where out of control log files have caused systems to stop due to disk full
issues.

I can't test until 110.0 has landed but I'd also want to know if log rotati=
on
plays nicely with this or not.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207248-8-kd7lgSTDfW>