Bug 43872 - RFE: Please consider setting 'DefaultStandardError=syslog' as well
Summary: RFE: Please consider setting 'DefaultStandardError=syslog' as well
Status: NEW
Alias: None
Product: systemd
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Lennart Poettering
QA Contact:
Depends on:
Reported: 2011-12-15 15:01 UTC by Michał Górny
Modified: 2014-02-21 17:36 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Description Michał Górny 2011-12-15 15:01:04 UTC
Right now, systemd defaults to:


This is fine for most services. However, it doesn't work that nice for sockets where stdout needs to be be replaced with the socket. In that case, stderr defaults to inheriting the socket as well and needs to be replaced by syslog.

I think that if we're already defaulting to sending output to syslog, we could set DefaultStandardError=syslog as well. Then socket-services wouldn't need to explicitly set StandardError=syslog and could rely on the default instead.

More importantly, then user could just replace DefaultStandardOutput and DefaultStandardError in his/her config (i.e. with a logfile) and socket-services would tolerate that.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.