Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739492 - net-misc/openssh-8.3_p1-r5 - sshd@.service:8: Standard output type syslog is obsolete
Summary: net-misc/openssh-8.3_p1-r5 - sshd@.service:8: Standard output type syslog is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-08-29 12:30 UTC by Alec Moskvin
Modified: 2020-09-01 19:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alec Moskvin 2020-08-29 12:30:12 UTC
Whenever an ssh connection is opened, systemd-246 logs:

 systemd[1]: /lib/systemd/system/sshd@.service:8: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.

This is mentioned in the release notes:

> * StandardError= and StandardOutput= in unit files no longer support
>   the "syslog" and "syslog-console" switches. They were long removed
>   from the documentation, but will now result in warnings when used,
>   and be converted to "journal" and "journal+console" automatically.

The oldest systemd version in portage is systemd-244.3, and it doesn't have "syslog" in the documentation, so it's safe to change it to "journal":
https://github.com/systemd/systemd-stable/blob/v244.3/man/systemd.exec.xml#L2042
Comment 1 Larry the Git Cow gentoo-dev 2020-09-01 19:21:45 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e20c78340c592e113992835563671e9a786c21f5

commit e20c78340c592e113992835563671e9a786c21f5
Author:     Alec Moskvin <alecm@gmx.com>
AuthorDate: 2020-08-29 12:27:39 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-09-01 19:21:29 +0000

    net-misc/openssh: fix sshd@.service
    
    Closes: https://bugs.gentoo.org/739492
    Signed-off-by: Alec Moskvin <alecm@gmx.com>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/17313

 net-misc/openssh/files/sshd_at.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)