Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standard output type syslog is obsolete #163

Open
almereyda opened this issue Aug 31, 2021 · 3 comments
Open

Standard output type syslog is obsolete #163

almereyda opened this issue Aug 31, 2021 · 3 comments

Comments

@almereyda
Copy link

almereyda commented Aug 31, 2021

On Ubuntu 21.10 with systemd 247, the appimaged unit reports:

Aug 31 02:44:28 ganglion systemd[13045]: /home/yala/.config/systemd/user/appimaged.service:14: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
Aug 31 02:44:28 ganglion systemd[13045]: /home/yala/.config/systemd/user/appimaged.service:15: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.

StandardOutput=syslog
StandardError=syslog

The suggestion from the output is to either remove these lines altogether, or to replace syslog with journal.

@probonopd
Copy link
Owner

What happens on older systems if those two lines are removed?
Why were they needed in the first place?

@almereyda
Copy link
Author

These properties were introduced in

StandardOutput=syslog
StandardError=syslog

To my current knowledge, the Standard* properties are rarely used in systemd units and might simple happen to be there for some copy and paste attempt (see commit description) and might not yet have been evaluated for necessity.

@probonopd
Copy link
Owner

So you think it is safe to just delete those 2 lines without any risk of breaking it on older distributions, such as Ubuntu trusty?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants