Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885779 - dev-util/gitlab-runner-15.6.1: gitlab-runner.service Standard output type syslog is obsolete
Summary: dev-util/gitlab-runner-15.6.1: gitlab-runner.service Standard output type sys...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 14:11 UTC by Horst Prote
Modified: 2023-01-01 05:41 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 Horst Prote 2022-12-13 14:11:37 UTC
On start gitlab-runner.service writes two warnings:
  systemd[1]: /usr/lib/systemd/system/gitlab-runner.service:12: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.
  systemd[1]: /usr/lib/systemd/system/gitlab-runner.service:13: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.


Reproducible: Always




Also syslog.target is used in the After= directive of gitlab-runner.service but syslog.target was removed in systemd v198 (https://github.com/systemd/systemd/blob/6aa8d43ade72e24c9426e604f7fc4b7582b9db7c/NEWS).

I just removed the syslog.target from the After= directive and deleted the two lines
  StandardOutput=syslog
  StandardError=syslog
and restarted gitlab-runner.service: Works fine.
Comment 1 Larry the Git Cow gentoo-dev 2023-01-01 05:41:31 UTC
The bug has been closed via the following commit(s):

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

commit fbf86c7889d2e314e0120a34d2e1ae57cc7b31db
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2023-01-01 05:41:17 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2023-01-01 05:41:17 +0000

    dev-util/gitlab-runner: fix systemd service
    
    Closes: https://bugs.gentoo.org/885779
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 dev-util/gitlab-runner/files/gitlab-runner.service | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)