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

Bug 877409

Summary: sys-power/tlp-1.5.0: error `elog: command not found` when stopping service
Product: Gentoo Linux Reporter: Robert G. Siebeck <gentoo.2019>
Component: Current packagesAssignee: Jay Faulkner <jay>
Status: RESOLVED FIXED    
Severity: normal CC: duje.mihanovic, jstein, proxy-maint
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/28239
Whiteboard:
Package list:
Runtime testing required: ---

Description Robert G. Siebeck 2022-10-17 09:15:21 UTC
When stopping or restarting the `tlp` service, an error message is shown:

# /etc/init.d/tlp restart
tlp                       |/etc/init.d/tlp: line 23: elog: command not found
tlp                       | * ERROR: tlp failed to stop

Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2022-11-12 06:15:05 UTC
The bug has been closed via the following commit(s):

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

commit bec8795a12a9cf5480980828934492ad471ba278
Author:     Jay Faulkner <jay@jvf.cc>
AuthorDate: 2022-11-12 06:07:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-11-12 06:14:55 +0000

    sys-power/tlp: Fix incorrect use of elog in init
    
    Instead, we use einfo, which actually exists.
    
    Closes: https://bugs.gentoo.org/877409
    Signed-off-by: Jay Faulkner <jay@jvf.cc>
    Closes: https://github.com/gentoo/gentoo/pull/28239
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-power/tlp/files/tlp.init                               | 2 +-
 sys-power/tlp/{tlp-1.5.0-r1.ebuild => tlp-1.5.0-r2.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)