#177 Systemd guidelines recommends explicit StandardOutput=syslog
Closed: Fixed None Opened 11 years ago by ppisar.

Current [https://fedoraproject.org/wiki/Packaging:Systemd#Fields_to_avoid Systemd packaging guidelines] says:

!StandardOutput=syslog is recommended for all services which generate output on stdout or stderr which shall be piped to syslog.

However Lennart has changed systemd, and [https://bugzilla.redhat.com/show_bug.cgi?id=824205 he thinks this is bad idea] now:

Please drop !StandardOutput=syslog from the radvd.service unit file, as this overrides the default the user might configure in /etc/systemd/system.conf. As that file defaults to a similar default anyway the setting is entirely redundant anyway.

Please align these two recommendations.


Oh yes, the guideliness should not recommend setting any StandardOutput= or StandardError= setting. The default is the right choice for almost all cases, and allows users to change global defaults in /etc/systemd/system.conf.

This really should be fixed in the guidelines.

Also, the guidelines should drop any reference to After=syslog.target. This is old stuff that makes no sense in F16, F17 or Rawhide. It should not be recommended.

EASYFIX, I'll take care of it.

Metadata Update from @lennart:
- Issue assigned to spot

7 years ago

Login to comment on this ticket.

Metadata