[Bug 207248] [patch] daemon(8): Add option to redirect stdout and stderr to a file

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 19 16:55:52 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207248

--- Comment #1 from Dave Cottlehuber <dch at 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 where
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 rotation
plays nicely with this or not.

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


More information about the freebsd-bugs mailing list