Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877409 - sys-power/tlp-1.5.0: error `elog: command not found` when stopping service
Summary: sys-power/tlp-1.5.0: error `elog: command not found` when stopping service
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jay Faulkner
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-10-17 09:15 UTC by Robert G. Siebeck
Modified: 2022-11-12 06:15 UTC (History)
3 users (show)

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 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(-)