Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 792822

Summary: sys-libs/gpm-1.20.7 causes systemd warning
Product: Gentoo Linux Reporter: Martin Dummer <martin.dummer>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: ionen, julien.dlq, martin.dummer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Dummer 2021-05-29 14:03:06 UTC
When gpm is installed on systemd systems, systemd throws an annoying warning

Mai 29 15:03:29 bln9716cm systemd[1]: Reloading.
Mai 29 15:03:29 bln9716cm systemd[1]: /lib/systemd/system/gpm.service:7: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.


I propose to follow the advice and remove the line 

StandardOutput=syslog

from the gpm.service file
Comment 1 Larry the Git Cow gentoo-dev 2022-06-21 05:27:49 UTC
The bug has been closed via the following commit(s):

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

commit 5cf9bcd40dcbf6774ee5bb3582655556a6747ab5
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-21 05:18:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-21 05:21:12 +0000

    sys-libs/gpm: fix -Wformat-security; update systemd unit
    
    Closes: https://bugs.gentoo.org/539320
    Closes: https://bugs.gentoo.org/792822
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/gpm/files/gpm-1.20.7-warnings.patch | 202 +++++++++++++++++++++++++++
 sys-libs/gpm/files/gpm.service-r1            |  11 ++
 sys-libs/gpm/gpm-1.20.7-r5.ebuild            | 112 +++++++++++++++
 3 files changed, 325 insertions(+)
Comment 2 Julien Delquié 2022-08-07 19:43:14 UTC
*** Bug 864142 has been marked as a duplicate of this bug. ***